diff --git a/keentune-target-2.0.1.tar.gz b/keentune-target-2.0.1.tar.gz deleted file mode 100644 index 77195b4863ae71c8e04156c7021e4674d1bfb29a..0000000000000000000000000000000000000000 Binary files a/keentune-target-2.0.1.tar.gz and /dev/null differ diff --git a/keentune-target.spec b/keentune-target.spec index cb699242541cb6eec880913ed61263b05a7a4570..3202196853a22a3e6a8d57cb46ba6e79347c679f 100644 --- a/keentune-target.spec +++ b/keentune-target.spec @@ -1,22 +1,20 @@ -%define anolis_release 2 +%define anolis_release 1 Name: keentune-target -Version: 2.0.1 +Version: 2.4.0 Release: %{?anolis_release}%{?dist} -Url: https://gitee.com/anolis/keentune_target Summary: Parameters setting, reading and backup models for KeenTune Vendor: Alibaba License: MulanPSLv2 Group: Development/Languages/Python -Source: %{name}-%{version}.tar.gz +Source0: https://gitee.com/anolis/keentune_target/archive/refs/tags/v%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-setuptools BUildRequires: systemd - BuildArch: noarch -Requires: python3-tornado +Requires: python3-tornado, python3-pyudev, python3-requests Requires(post): systemd Requires(preun): systemd Requires(postun): systemd @@ -25,7 +23,7 @@ Requires(postun): systemd Parameters setting, reading and backup models for KeenTune %prep -%autosetup -n %{name}-%{version} +%autosetup -n keentune_target-v%{version} %build %{__python3} setup.py build @@ -38,12 +36,6 @@ cp -f ./keentune-target.service ${RPM_BUILD_ROOT}/usr/lib/systemd/system/ install -D -m 0644 man/keentune-target.domain.7 ${RPM_BUILD_ROOT}%{_mandir}/man7/keentune-target.domain.7 install -D -m 0644 man/keentune-target.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/keentune-target.8 install -D -m 0644 man/keentune-target.conf.5 ${RPM_BUILD_ROOT}%{_mandir}/man5/keentune-target.conf.5 -install -D -m 0755 agent/scripts/cpu-partitioning.sh ${RPM_BUILD_ROOT}%{_sysconfdir}/keentune/script -install -D -m 0755 agent/scripts/powersave.sh ${RPM_BUILD_ROOT}%{_sysconfdir}/keentune/script -install -D -m 0755 agent/scripts/realtime.sh ${RPM_BUILD_ROOT}%{_sysconfdir}/keentune/script -install -D -m 0755 agent/scripts/spindown-disk.sh ${RPM_BUILD_ROOT}%{_sysconfdir}/keentune/script -install -D -m 0755 agent/scripts/tuned-pre-udev.sh ${RPM_BUILD_ROOT}%{_sysconfdir}/keentune/script -install -D -m 0755 agent/scripts/functions ${RPM_BUILD_ROOT}%{_sysconfdir}/keentune/script %clean rm -rf $RPM_BUILD_ROOT @@ -64,16 +56,91 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man7/keentune-target.domain.7* %{_mandir}/man8/keentune-target.8* %{_mandir}/man5/keentune-target.conf.5* -%{_sysconfdir}/keentune/script/cpu-partitioning.sh -%{_sysconfdir}/keentune/script/powersave.sh -%{_sysconfdir}/keentune/script/realtime.sh -%{_sysconfdir}/keentune/script/spindown-disk.sh -%{_sysconfdir}/keentune/script/tuned-pre-udev.sh -%{_sysconfdir}/keentune/script/functions %changelog +* Mon Jan 22 2024 Runzhe Wang - 2.4.0-1 +- fix: not remove runing data and install dir + +* Tue Jan 02 2024 happy_orange - 2.3.1-2 +- fix the version number + +* Thu Dec 28 2023 Runzhe Wang - 2.3.1-1 +- An official version merged all 2.3.0-* release version + +* Wed Sep 20 2023 Runzhe Wang - 2.3.0-2 +- erdma: smc: fix kernel version dependency and memory configure +- fix: incorrectly setting value of rps_flow_cnt to rps_cpus +- fix: check empty value before sysctl -n + +* Thu Sep 14 2023 Runzhe Wang - 2.3.0-1 +- add x264_265 feature + +* Thu Jul 13 2023 Runzhe Wang - 2.2.0-12 +- remove value set in spectre_bhb + +* Wed Jul 12 2023 Runzhe Wang - 2.2.0-11 +- fix: can not rollback affinity +- add grub recommandation + +* Tue Jul 11 2023 Runzhe Wang - 2.2.0-10 +- remove /var/keentune/lib when uninstall +- add 'all' schema for RPS/XPS +- rollback affinity 'eighth' bug fix +- remove /rps_cpus setting in RFS + +* Tue Jul 11 2023 Runzhe Wang - 2.2.0-9 +- fix: rps & xps 'different' binding schema +- feat: add glub domain +- fix: affinity 'eighth' binding schema + +* Mon Jul 10 2023 Runzhe Wang - 2.2.0-8 +- fix: can not read cpu range of numa when process = 1 or 2 + +* Fri Jul 7 2023 Runzhe Wang - 2.2.0-7 +- fix: rename gzip to zlib and remove rpm name in gzip +- nginx: add gzip setting + +* Wed Jul 5 2023 Runzhe Wang - 2.2.0-6 +- update gzip version to 20230705141537 + +* Wed Jul 5 2023 Runzhe Wang - 2.2.0-5 +- add file domain for KS + +* Wed Jul 5 2023 Runzhe Wang - 2.2.0-4 +- remove gzip rpm +- set affinity by script + +* Mon Jul 3 2023 Runzhe Wang - 2.2.0-3 +- fix bug: affinity binding schema error when processor is 8 + +* Thu Jun 29 2023 Runzhe Wang - 2.2.0-2 +- fix: RFS: Value too large for defined data type +- auto setting script of xps/rps + +* Mon Jun 26 2023 Runzhe Wang - 2.2.0-1 +- feature-level & domain-level defination of knobs + +* Tue Apr 25 2023 Runzhe Wang - 2.1.0-5 +- fix: backup all error in mycnf and nginx conf +- fix: xps/rps and smp_affinity rollback error + +* Fri Apr 21 2023 Runzhe Wang - 2.1.0-4 +- add unit test case + +* Mon Feb 27 2023 Runzhe Wang - 2.1.0-3 +- fix low dependency version +- fix additional fd occupation bug + +* Mon Feb 27 2023 Runzhe Wang - 2.1.0-1 +- load domain by /init api +- no more init domain and backup value aftr target starts +- running parameter reading and setting in subprocess +- add /terminate api to kill reading or setting subprocess + * Mon Jan 16 2023 Runzhe Wang - 2.0.1-2 - modify default domain to sysctl, net +- add requires of 'pyudev' +- remove disk config param 'apm' and 'spindown' * Thu Dec 15 2022 Runzhe Wang - 2.0.1-1 - disable backup all and rollback all in this version diff --git a/v2.4.0.tar.gz b/v2.4.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..ccce2141e3b87e80cd1351eadb214edc2f7be48e Binary files /dev/null and b/v2.4.0.tar.gz differ