From 18d5c6d382a627d3f04ac97aac707668961e214e23ee55197a667f60894433f2 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 11 Jul 2024 12:37:01 +0000 Subject: [PATCH] Accepting request 1186054 from home:pevik:branches:benchmark - Update to version 2.7: https://lore.kernel.org/linux-rt-users/20240507144229.42909-1-jkacur@redhat.com/ - Start using xz tarball (instead of gz) OBS-URL: https://build.opensuse.org/request/show/1186054 OBS-URL: https://build.opensuse.org/package/show/benchmark/rt-tests?expand=0&rev=34 --- .gitattributes | 23 +++ .gitignore | 1 + rt-tests-2.6.tar.gz | 3 + rt-tests-2.7.tar.xz | 3 + rt-tests.changes | 380 ++++++++++++++++++++++++++++++++++++++++++++ rt-tests.spec | 90 +++++++++++ 6 files changed, 500 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 rt-tests-2.6.tar.gz create mode 100644 rt-tests-2.7.tar.xz create mode 100644 rt-tests.changes create mode 100644 rt-tests.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/rt-tests-2.6.tar.gz b/rt-tests-2.6.tar.gz new file mode 100644 index 0000000..8d8d0d0 --- /dev/null +++ b/rt-tests-2.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a9449c11a9ccb37e6c86082bf904337dda928fdcd69f6bd4a4c6567e071ae6d +size 152323 diff --git a/rt-tests-2.7.tar.xz b/rt-tests-2.7.tar.xz new file mode 100644 index 0000000..f881185 --- /dev/null +++ b/rt-tests-2.7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e5b2fbc98ceb786bd113c9a30f0388d884b2d8c4bd6c569d94ae8b00a702bbb +size 106864 diff --git a/rt-tests.changes b/rt-tests.changes new file mode 100644 index 0000000..d693e41 --- /dev/null +++ b/rt-tests.changes @@ -0,0 +1,380 @@ +------------------------------------------------------------------- +Sun Jul 7 23:21:07 UTC 2024 - Petr Vorel + +- Update to version 2.7: + https://lore.kernel.org/linux-rt-users/20240507144229.42909-1-jkacur@redhat.com/ +- Start using xz tarball (instead of gz) + +------------------------------------------------------------------- +Wed Jan 31 08:20:15 UTC 2024 - Andrea Manzini + +- Update to version 2.6: + https://lore.kernel.org/linux-rt-users/20231006200345.53658-1-jkacur@redhat.com/ + +------------------------------------------------------------------- +Tue Apr 18 08:23:24 UTC 2023 - Martin Pluskal + +- Update to version 2.5: + https://lore.kernel.org/linux-rt-users/20230120205220.26218-1-jkacur@redhat.com/T/#u +- Drop upstreamed patches: + * 0001-cyclictest-Fix-threads-being-affined-even-when-a-isn.patch + * 0002-rt-tests-Remove-arbitrary-num-of-threads-limits.patch + * 0003-rt-tests-hackbench-Add-error-checking-to-connect-and.patch + * 0004-rt-tests-hwlatdetect-Update-to-integer-division.patch + +------------------------------------------------------------------- +Fri Nov 25 09:19:51 UTC 2022 - Martin Pluskal + +- Use sources which are actually published + +------------------------------------------------------------------- +Thu Nov 24 09:39:36 UTC 2022 - Petr Vorel + +- Update to upstream version v2.4 + https://lore.kernel.org/linux-rt-users/20220708150017.13462-1-jkacur@redhat.com/ +- Update to upstream version v2.3 + https://lore.kernel.org/linux-rt-users/20211210184649.11084-1-jkacur@redhat.com/ +- Remove old patch rt-tests-1.10-Makefile.patch, which installed + src/cyclictest/get_cyclictest_snapshot.8. Upstream guarded it with PYLIB in + 3d1976b ("Makefile: manpages: only add get_cyclictest_snapshot if PYLIB") + but PYLIB should be defined due BuildRequires: python3-base +- Backport runtime fixes from upcomming release: + * 0001-cyclictest-Fix-threads-being-affined-even-when-a-isn.patch + * 0002-rt-tests-Remove-arbitrary-num-of-threads-limits.patch + * 0003-rt-tests-hackbench-Add-error-checking-to-connect-and.patch + * 0004-rt-tests-hwlatdetect-Update-to-integer-division.patch +- Use %autosetup (not having to add -p1 for patches) + +------------------------------------------------------------------- +Tue Aug 31 08:27:01 UTC 2021 - Daniel Wagner + +- Update to upstream version v2.2 + * signaltest: Fix JSON output latency values for 32bit machines + * oslat: Don't take trace_threshold into account during preheat + * sched_deadline: Update HRTICK_DL location + * Allow static builds by dropping dependency on pthread_getaffinity_np + +------------------------------------------------------------------- +Thu Jul 29 07:12:54 UTC 2021 - Daniel Wagner + +- Enable build on all architectures. + +------------------------------------------------------------------- +Wed Jun 30 07:06:07 UTC 2021 - Daniel Wagner + +- Update to upstream version 2.1 + * Avoid pagefault at startup which made the first cycle + in cyclictest measure a huge latency spike. + +------------------------------------------------------------------- +Fri Jun 25 07:52:28 UTC 2021 - Daniel Wagner + +- Update to upstream version 2.0 + * All test programs can output their results in JSON format + * cyclictest: Allow to specify main thread affinity + +------------------------------------------------------------------- +Tue Jan 5 07:34:20 UTC 2021 - Jeffrey Cheung + +- Update to upstream version 1.10 (SLE-12981) + * rt-tests: queuelat: Remove get_cpuinfo_mhz.sh and old Makefile + * rt-tests: determine_maximum_mpps.sh: Add a menu to get user settings. + * rt-numa: Introduce NUMA helpers + * cyclictest: Only report the first incident + * Streamline usage and man page + +- Add rt-tests-1.10-Makefile.patch and remove rt-tests-1.6-Makefile.patch + +- Cleanup spec file + +- Changes from version 1.9 + * signaltest: Only print from the first thread stats when quiet + * rt-tests: cyclictest: Move ftrace helpers into rt-utils.[ch] + * pi_stress: limit the number of inversion groups to the number of online cores + * rt-tests: Install new man page get_cyclictest_snapshot.8 + * rt-tests: Add a man page for get_cyclictest_snapshot + * rt-tests: ptsematest.8: Update the ptsematest man page + * rt-tests: improvements to the python style in get_cyclictest_snapshot + * cyclictest: Fix setaffinity error on large NUMA machines + +- Changes from version 1.8 + * cyclictest: Make the affinity mask apply to the main thread too + * Remove support for compiling without NUMA + * cyclictest: Only run on runtime affinity and user supplied affinity + * cyclictest: Only run on available cpus according to the affinity + * cyclictest: Report all errors from pthread_setaffinity_np + +- Changes from version 1.7 + * Add get_cyclictest_snapshot to Makefile + * Add the get_cyclictest_snapshot.py utility + * determine_maximum_mpps.sh: Fix quoting and other shell issue + * queuelat: get_cpuinfo_mhz.sh highest value + * cyclicdeadline: Add a simple manpage for cyclicdeadline + +------------------------------------------------------------------- +Tue Jun 16 13:29:29 UTC 2020 - Jeffrey Cheung + +- Update to version 1.6: + * New feature to get a snapshot of a running instance of cyclictest without stopping it by + sending SIGUSR2 to the PID and reading a shared memory segment. This is especially useful + if running cyclictest over a long period of time + * Add SPDX tags V3 + * Some fixes +- Changes from version 1.5 + * Mostly small clean-ups and bug fixes +- Changes from version 1.4 + * Added a number of new programs to the rt-tests suite + - queuelat : simulates a network queue checking for latency violations in packet processing. + - cyclicdeadline : used to test the deadline scheduler (SCHED_DEADLINE) + - deadline_test : tests the deadline scheduler in a cyclictest manner + - ssdd : a tracer to do a bunch of PTRACE_SINGLESTEPs +- Add rt-tests-1.6-Makefile.patch + +------------------------------------------------------------------- +Thu Sep 13 11:10:30 UTC 2018 - Jan Engelhardt + +- Fix grammar in description. +- Have some more %make_install. + +------------------------------------------------------------------- +Thu Sep 13 08:44:03 UTC 2018 - Martin Pluskal + +- Update to version 1.3 +- Cleanup spec file + +------------------------------------------------------------------- +Thu Sep 13 05:27:06 UTC 2018 - Jeffrey Cheung + +- This is initial to SLERT15 SP1 [fate#326547] + +------------------------------------------------------------------- +Mon Jul 30 05:40:13 UTC 2018 - jcheung@suse.com + +- Update to 1.0 + + Fate#323312 - Upgrade rt-tests to v1.0 + + cyclictest: stop any tracing after hitting a breaktrace threshold + rt-tests: Makefile: Assume numa_parse_cpustring_all available + rt-tests: Add man page for rt-migrate-test + rt-tests: Update the cyclictest man page + rt-tests: Add missing option to hwlatdetect man page + rt-tests: Housekeeping fix some spelling errors. + rt-tests: hwlat.txt: smidetect renamed to hwlatdetect + rt-tests: Remove doc/release-checklist.txt + rt-tests: Makefile - bump version to 1.0 + +------------------------------------------------------------------- +Fri Jul 27 06:09:09 UTC 2018 - jcheung@suse.com + +- Submit to SLERT12 SP4 + +------------------------------------------------------------------- +Tue Apr 25 07:00:37 UTC 2017 - jcheung@suse.com + +- Submit to SLERT12-SP3 + +------------------------------------------------------------------- +Thu Dec 8 04:29:29 UTC 2016 - jcheung@suse.com + +- Apply this version to SLE-12-SP2 + +------------------------------------------------------------------- +Thu Jan 14 07:22:31 UTC 2016 - jcheung@suse.com + +- Apply this version to SLE-12-SP1 + +-------------------------------------------------------------------- +Fri Jul 10 05:49:15 UTC 2015 - jcheung@suse.com +- +- Add the "COPYING" file in the %doc section +- +-------------------------------------------------------------------- +Thu Jul 9 06:57:06 UTC 2015 - jcheung@suse.com +- +- license update: GPL-2.0 +- We now use SPDX license sytnax. +- +-------------------------------------------------------------------- +Wed Jul 8 17:37:35 UTC 2015 - cdenicolo@suse.com +- +- license update: GPL-2.0 +- please use SPDX license sytnax. + +------------------------------------------------------------------- +Tue Jun 30 07:05:56 UTC 2015 - Mike Galbraith + +- Update to 0.89 + This is the last release suitable for SLE11 + +- Drop legacy/unbuildable backfire/sendme +- Drop legacy SLERT10 scripts +- We now ship virgin source with only hwlatency detect and broken + legacy code removed. + +------------------------------------------------------------------- +Thu Nov 24 15:08:37 UTC 2011 - Mike Galbraith + +- Fix up spec file BuildRequires/Requires for libnuma + +------------------------------------------------------------------- +Thu Nov 24 14:47:44 UTC 2011 - Mike Galbraith + +- Update to 0.83 + +------------------------------------------------------------------- +Fri Aug 6 03:52:10 UTC 2010 - Mike Galbraith + +- Update to 0.72 + +- Update signaltest display and trace capability to match cyclictest, + and provide a man page for same. + +------------------------------------------------------------------- +Fri Feb 26 12:00:48 CET 2010 - jblunck@suse.de + +- Update to 0.64. + +------------------------------------------------------------------- +Mon Oct 12 23:14:08 CEST 2009 - sdietrich@suse.de + +- Update to 0.53. + +------------------------------------------------------------------- +Tue Jul 7 21:43:41 CEST 2009 - sdietrich@suse.de + +- Update to 0.47. + +------------------------------------------------------------------- +Mon Jul 6 06:52:30 CEST 2009 - sdietrich@suse.de + +- Update to 0.46. Drop: histogram_exceed_limit.patch + +------------------------------------------------------------------- +Thu Jul 2 21:11:58 CEST 2009 - sdietrich@suse.de + +- Update to 0.45. Drop: + change-output-format-to-allow-6-digits.patch + clock_nanosleep_interrupt.patch + +------------------------------------------------------------------- +Thu Jul 2 04:18:48 CEST 2009 - sdietrich@suse.de + +- Rework Suse-added patches after sending upstream. + - Fold re-introduce-HIST_MAX-and-silently-cap-the-histogram.patch + into histogram_exceed_limit.patch. + - Add proper explanation to change-output-format-to-allow-6-digits.patch + +------------------------------------------------------------------- +Tue Jun 30 01:13:58 CEST 2009 - sdietrich@suse.de + +- Update to 0.43 + +------------------------------------------------------------------- +Thu Jun 25 07:41:38 CEST 2009 - sdietrich@suse.de + +- Update to 0.42 + +------------------------------------------------------------------- +Wed Apr 8 01:13:44 CEST 2009 - sdietrich@suse.de + +- Update to v. 0.34. + +------------------------------------------------------------------- +Thu Aug 21 13:39:40 CEST 2008 - dgollub@suse.de + +- cyclictest_make_all_thread_intervals_equal_for_histogram.patch: + Change thread interal for histogram mode + +------------------------------------------------------------------- +Thu Aug 21 02:21:01 CEST 2008 - dgollub@suse.de + +- updated histogram_exceed_limit.patch: + Sample doomsday spikes which exceed histogram limit in last bucket + +------------------------------------------------------------------- +Tue Aug 19 10:56:20 CEST 2008 - dgollub@suse.de + +- histogram_exceed_limit.patch: handled histogram limit exceed + +------------------------------------------------------------------- +Wed Jul 16 19:41:09 CEST 2008 - dgollub@suse.de + +- updated to rt-tests 0.24 + * mlockall option got added (removed mlockall patches) +- cyclictest: fixed staggering of priorities for multiple threads + bnc#408421 + +------------------------------------------------------------------- +Tue Jul 8 10:33:10 CEST 2008 - dgollub@suse.de + +- updated to rt-tests 0.23 + * fixed processing of cyclictest command line arguments + * fixed oscilloscope mode which didn't work correctly with more + then one thread + +------------------------------------------------------------------- +Wed May 14 13:56:36 CEST 2008 - dgollub@suse.de + +- updated to rt-tests 0.21 + * support for CPU affinity +- dropped memlock patch in favor of memlock patch by Clark Williams +- updated command arguments for cyclictest_run.sh for CPU affinity + +------------------------------------------------------------------- +Thu May 8 10:24:38 CEST 2008 - dgollub@suse.de + +- added memlock option to lock the memory to avoid major pagefaults + +------------------------------------------------------------------- +Tue Apr 22 16:26:21 CEST 2008 - dgollub@suse.de + +- removed ctcs2 glue subpackage + +------------------------------------------------------------------- +Tue Apr 22 10:29:22 CEST 2008 - dgollub@suse.de + +- decreased the number of histogram samples from 20000 to 10000 + in cyclictest_run.sh +- fixed wrong escaping from in gnuplot script for ploting graph + title in cyclictest_plot.sh + +------------------------------------------------------------------- +Tue Apr 22 10:18:17 CEST 2008 - dgollub@suse.de + +- Avoid segfault of cyclictest if it gets immediately interrupted + clock_nanosleep_interrupt.patch + +------------------------------------------------------------------- +Fri Feb 29 23:36:57 CET 2008 - dgollub@suse.de + +- Added ctcs glue subpackages + +------------------------------------------------------------------- +Wed Feb 27 14:48:15 CET 2008 - dgollub@suse.de + +- Added test helper scripts: + * cyclictest_run.sh: + calls cyclictests with adjusted number of CPUs and enables + output of histogram + * cyclictest_plot.sh + generate a latency graph with the histogram output of cyclictests +- Fixed shebang of helper script and require for both script the first argument + Otherwise print usage. + +------------------------------------------------------------------- +Wed Feb 27 14:39:52 CET 2008 - dgollub@suse.de + +- Added histogramm patch for cyclictest + +------------------------------------------------------------------- +Tue Feb 26 19:31:10 CET 2008 - dgollub@suse.de + +- disabled ia64, s390 and s390x for now to avoid build issues + with struct sigevent and unionen member _sigev_un._tid + +------------------------------------------------------------------- +Fri Feb 22 00:07:10 CET 2008 - dgollub@suse.de + +- initial checkin of rt-tests (Version 0.19) + diff --git a/rt-tests.spec b/rt-tests.spec new file mode 100644 index 0000000..c66d9a6 --- /dev/null +++ b/rt-tests.spec @@ -0,0 +1,90 @@ +# +# spec file for package rt-tests +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: rt-tests +Version: 2.7 +Release: 0 +Summary: Realtime Kernel Testsuite +License: GPL-2.0-only +Group: System/Benchmark +URL: https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git +Source0: https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/snapshot/rt-tests-%{version}.tar.xz +BuildRequires: libnuma-devel +BuildRequires: python-rpm-macros +BuildRequires: python3-base +Conflicts: hackbench + +%description +The Realtime Kernel Testsuite measures real-time attributes of the kernel, +specifically timer and signal latency and the functionality of Priority +Inheritance Mutexes. + +%prep +%autosetup -p1 + +%build +export CFLAGS="%{optflags}" +%make_build + +%install +%make_install prefix=%{_prefix} +rm -rf %{buildroot}%{_prefix}/src/backfire + +%files +%license COPYING +%doc MAINTAINERS README.markdown +%{_bindir}/cyclicdeadline +%{_bindir}/cyclictest +%{_bindir}/get_cyclictest_snapshot +%{_bindir}/deadline_test +%{_bindir}/hackbench +%{_bindir}/hwlatdetect +%{_bindir}/pi_stress +%{_bindir}/pip_stress +%{_bindir}/pmqtest +%{_bindir}/ptsematest +%{_bindir}/queuelat +%{_bindir}/rt-migrate-test +%{_bindir}/signaltest +%{_bindir}/sigwaittest +%{_bindir}/svsematest +%{_bindir}/ssdd +%{_bindir}/oslat +%{_bindir}/determine_maximum_mpps.sh +%{python3_sitelib}/hwlatdetect.py +%{python3_sitelib}/get_cyclictest_snapshot.py +%{_mandir}/man8/cyclictest.8%{?ext_man} +%{_mandir}/man8/hackbench.8%{?ext_man} +%{_mandir}/man8/hwlatdetect.8%{?ext_man} +%{_mandir}/man8/pi_stress.8%{?ext_man} +%{_mandir}/man8/pmqtest.8%{?ext_man} +%{_mandir}/man8/ptsematest.8%{?ext_man} +%{_mandir}/man8/rt-migrate-test.8%{?ext_man} +%{_mandir}/man8/signaltest.8%{?ext_man} +%{_mandir}/man8/sigwaittest.8%{?ext_man} +%{_mandir}/man8/svsematest.8%{?ext_man} +%{_mandir}/man8/ssdd.8%{?ext_man} +%{_mandir}/man8/queuelat.8%{?ext_man} +%{_mandir}/man8/pip_stress.8%{?ext_man} +%{_mandir}/man8/deadline_test.8%{?ext_man} +%{_mandir}/man8/cyclicdeadline.8%{?ext_man} +%{_mandir}/man8/get_cyclictest_snapshot.8%{?ext_man} +%{_mandir}/man8/oslat.8%{?ext_man} +%{_mandir}/man8/determine_maximum_mpps.8%{?ext_man} + +%changelog