diff --git a/keentuned-2.0.1.tar.gz b/keentuned-2.0.1.tar.gz deleted file mode 100644 index 18451a0e989411088a7ea30c71756a158a7f8c52..0000000000000000000000000000000000000000 Binary files a/keentuned-2.0.1.tar.gz and /dev/null differ diff --git a/keentuned-2.3.0-2.tar.gz b/keentuned-2.3.0-2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..4804cad64c7fc745025104598be551b92815c26f Binary files /dev/null and b/keentuned-2.3.0-2.tar.gz differ diff --git a/keentuned.spec b/keentuned.spec index dd74e65182f711cfa20830d6a545147c8d55ed32..73761607276919abc781d48d4bdaa1dc29861816 100644 --- a/keentuned.spec +++ b/keentuned.spec @@ -2,13 +2,12 @@ %define anolis_release 2 Name: keentuned -Version: 2.0.1 +Version: 2.3.0 Release: %{?anolis_release}%{?dist} -Url: https://gitee.com/anolis/keentuned Summary: KeenTune tuning tools Vendor: Alibaba License: MulanPSLv2 -Source: https://gitee.com/anolis/keentuned/repository/archive/%{name}-%{version}.tar.gz +Source: %{name}-%{version}-%{anolis_release}.tar.gz Autoreq: 0 BuildRequires: go >= 1.13 @@ -22,7 +21,7 @@ Requires(postun): systemd KeenTune tuning tools rpm package %prep -%autosetup -n %{name}-%{version} +%setup -n %{name}-%{version} %build %make_build @@ -34,18 +33,19 @@ KeenTune tuning tools rpm package [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT" rm -rf $RPM_BUILD_DIR/%{name}-%{version} -%post -%systemd_post keentuned.service -if [ -f "%{_prefix}/lib/systemd/system/keentuned.service" ]; then - systemctl enable keentuned.service || : - systemctl start keentuned.service || : -fi +%post +%systemd_post keentuned.service -%preun +%preun %systemd_preun keentuned.service %postun %systemd_postun_with_restart keentuned.service +rm -rf /var/keentune/keentuned /etc/keentune/keentuned +cd /var/log/keentune && rm -f $(ls |grep -Ev "bench|brain|target") +[ $(ls -A /var/log/keentune|wc -l) -ne 0 ] || rm -rf /var/log/keentune +[ $(ls -A /var/keentune|wc -l) -ne 0 ] || rm -rf /var/keentune +[ $(ls -A /etc/keentune|wc -l) -ne 0 ] || rm -rf /etc/keentune %files %defattr(0644,root,root, 0755) @@ -53,10 +53,7 @@ fi %doc README.md docs/* %attr(0755, root, root) %{_bindir}/keentune %attr(0755, root, root) %{_bindir}/keentuned -%attr(0666, root, root) %{_sysconfdir}/keentune/conf/keentuned.conf -%dir %{_sysconfdir}/keentune -%dir %{_sysconfdir}/keentune/conf -%{_sysconfdir}/keentune +%{_sysconfdir}/keentune/keentuned %{_prefix}/lib/systemd/system/keentuned.service %{_mandir}/man8/keentune.8* %{_mandir}/man8/keentuned.8* @@ -67,16 +64,66 @@ fi %{_prefix}/share/bash-completion/completions/keentune.bash %changelog -* Tue Jan 17 2023 Wenchao Liu - 2.0.1-2 +* Wed Sep 20 2023 Runzhe Wang - 2.3.0-2 +- profile: remove duplicatly setting of rfs in redis/memcached +- profile: remove param vm.drop_caches from basic profile + +* Thu Sep 14 2023 Runzhe Wang - 2.3.0-1 +- update memcached.conf, mysql.conf, nginx.conf, pgsql.conf, redis.conf + +* Tue Aug 8 2023 Runzhe Wang - 2.2.0-8 +- resolve some security issues. + +* Fri Jul 7 2023 Runzhe Wang - 2.2.0-7 +- modify application profiles, remove opensource file + +* Wed Jul 5 2023 Runzhe Wang - 2.2.0-6 +- bigdata: remove 'file' domain + +* Wed Jul 5 2023 Runzhe Wang - 2.2.0-5 +- set dirty_background_ratio by sysctl + +* Wed Jul 5 2023 Runzhe Wang - 2.2.0-4 +- add bigdata.conf for KS + +* Mon Jul 3 2023 Runzhe Wang - 2.2.0-3 +- modify RPS to 'auto' in redis.conf and memcached.conf + +* Thu Jun 29 2023 Runzhe Wang - 2.2.0-2 +- modify XPS/RPS to 'auto' + +* Mon Jun 26 2023 Runzhe Wang - 2.2.0-1 +- remove rollback all function + +* Wed Nov 29 2023 Runzhe Wang - 2.1.0-8 +- add copyright +- add release in source package + +* Tue Apr 25 2023 Runzhe Wang - 2.1.0-5 +- test: modify unit test case + +* Fri Apr 21 2023 Runzhe Wang - 2.1.0-4 +- add unit test case + +* Wed Apr 12 2023 Runzhe Wang - 2.1.0-2 +- modify default tuning algorithm in conf + +* Wed Mar 22 2023 Runzhe Wang - 2.1.0-1 +- add: Support rule list control for parameters in parameter.json +- add: Support timeout control mechanism +- add: Support domain list control for target mathine +- fix: Other important bug fixes + +* Tue Jan 17 2023 Runzhe Wang - 2.0.1-2 - add: Update profile set for UI - fix: Reduce the delay of default setting - fix: Sync update keentune version in docs - fix: other known important bug fixes -* Thu Dec 15 2022 Wenchao Liu - 2.0.0-0 +* Thu Dec 15 2022 Runzhe Wang - 2.0.0-0 - Support experience tuning of Tuned -* Thu Sep 22 2022 Wenchao Liu - 1.4.0-0 +* Thu Sep 22 2022 Runzhe Wang - 1.4.0-0 - add: Support UI Intelligent tuning and Sensitive parameter identification - add: Support show recommendation log for expert one click tuning - add: Support UI configure KeenTune groups' network environment @@ -92,10 +139,10 @@ fi * Thu Jul 21 2022 Runzhe Wang - 1.3.0-1 - fix: missing of man dir -* Tue Jul 12 2022 Wenchao Liu - 1.3.0-0 +* Tue Jul 12 2022 Runzhe Wang - 1.3.0-0 - Add: Support UI expert one click tuning -* Mon Jun 20 2022 Wenchao Liu - 1.2.1-2 +* Mon Jun 20 2022 Runzhe Wang - 1.2.1-2 - fix: Clear task residue on startup * Mon Jun 20 2022 Runzhe Wang - 1.2.1-1 @@ -110,30 +157,26 @@ fi - Fix some issues - Add 'keentune version' command -* Tue May 24 2022 Runzhe Wang - 1.1.3-4 -- Fix getting real IP failure during system initialization. - -* Mon May 23 2022 Runzhe Wang - 1.1.3-2 -- rebuild - -* Thu May 19 2022 happy_orange - 1.1.3-1 -- update spec - -* Thu May 19 2022 Runzhe Wang - 1.1.1 -- add makefile -- update spec file - -* Wed Dec 15 2021 Runzhe Wang - 1.1.0 +- remove parameter fs.nr_open +- Add support for GP (in iTuned) in sensitizing algorithms +- Add support for lasso in sensitizing algorithms +- refactor tornado module: replace await by threadpool +- lazy load domain in keentune-target +- fix other bugs +- Add baseline reading before init brain +- Supporting multiple param json for tuning +- Fix rollback failure +- Clean empty dir when uninstall +- Verify input arguments of command 'param tune' +- Supporting of multiple target tuning +- Fix bug which cause keentune hanging after command 'param stop' +- Add verification of conflicting commands such as 'param dump', 'param delete' when a tuning job is runing. +- Remove version limitation of tornado +- Refactor sysctl domain to improve stability of parameter setting +- Fix some user experience issues + +* Wed Dec 15 2021 Runzhe Wang - 1.0.0 - add tpce tpch benchmark files - fix bug: can not running in alinux2 and centos7 - change modify codeup address to gitee @@ -145,5 +188,3 @@ fi - use '%license' macro - update license to MulanPSLv2 - Init Keentuned. - -