Note: had to add the following to prjconf to get the latest version to build for ppc64le architecture:
Optflags: ppc64le -mcpu=power9 -mtune=power9 - update to 0.18.05: * stress-fcntl: fix multiple workers on Haiku * stress-touch: Fix file name handling in stress_touch_dir_clean(). * stress-vm: use correct method names for error messages * stress-fp: support bf16 * stress-tree: only pack tree struct for 64 bit x86-64 * stress-iomix: don't report an error in EINTR on lseek * stress-file-ioctl: only report there are no ioctls tested on instance 0 * stress-ng.h: define NAME_MAX for systems that don't define this * stress-pseek: only define stress_peekio_pthread if using pthreads * stress-bad-ioctl: fix lock segfault on removal * stress-cpu: add comment about pcc warning in union exerciser * core-*: add gcc function attribute returns_nonnull for extra sanity checking * stress-vecfp: minor space adjustments in array declaration * stress-jpeg: break some long lines * Manual: add notes about support for stress-ng * stress-fd-race: add even/odd fd stride close to random closing * kernel-coverage: fix btrfs option -csum, should be --csum * stress-close: clean up some block comments * Manual: Fix typo "spinemm" ->" "spinmem" * Manual: minor change, "note - " to "note: " * stress-dev: rename stat bufs to avoid name shadowing * core-*: add gcc function attribute nonnull for extra sanity checking * stress-sighup: add send/recv handshake over pipe and sync on child death * stress-sighup: add missing bogo-op counter * stress-pseek: cast offsets to intmax_t to print with %j format specifier * stress-icmp-flood: voidify return from stress_get_setting * stress-sighup: add SIGHUP stressor * stress-sigtrap: Fix short help, it has the wrong description * stress-sigabrt: Fix short help, it has the wrong description * stress-sigabrt: fix typo, SIGABORT -> SIGABRT * core-asm-riscv.h: fix typo in comment * stress-icmp-flood: add new --icmp-flood-max-size option * stress-schedmix: remove trailing whitespaces * stress-schedmix: add some randomness to deadline times * stress-schedmix: add select and pselect timed delays to sched mix * stress-jpeg: replace division with recipriocal multiply in plasma * stress-icmp-flood: don't keep on setting packet up on each loop * kernel-coverage: add /usr/sbin to $PATH * stress-fp: fix incorrect placement of #if defined for ibm128 division * stress-fp: add IBM powerpc ibm128 floating point add/mul/div operations * stress-far-branch: add --far-branch-flush option to try to flush instruction cache * core-helper: add root like detection for Cygwin * stress-dev: exercise more sound control ioctls * core-config-check: enable oom-avoid for containerized environment * stress-daemon: rename err exit labels for improved readability * core-klog: log audit kernel log messages * stress-dev: use strscpy for safe copying of strings * stress-pseek: pwrite/pread concurrent seek position stressor * Manual: fix --hdd rd-seq option description * Manual: fix --hdd rd-rnd option description * stress-hdd: ensure hdd_bytes_max is set to the max number of bytes written * kernel-coverage: add --change-cpu per stressor and use --ksm for vm stressor case * stress-iomix: exercise cachestat(2) with invalid flags and invalid fd * stress-cgroup: add more cgroup controls to read/write * stress-dev: exercise ioctl command TIOCCONS * stress-dev: add /dev/sg* devices to be exercised by stress_dev_scsi_blk * stress-dev: fix DM_LIST_VERSIONS ioctl and add some invalid ioctl calls * stress-dev: fix dm ioctl stressor, use /dev/mapper/control * stress-ng: remove check to stress_cwd_readwriteable * core-config-check: add hint to use --oom-avoid on low memory systems * kernel-coverage: add more per file system mount options for increased kernel coverage * stress-dev: exercise /sys/dev/* files on Linux systems * core-helper: add naive Haiku libc information detection * stress-binderfs: exercise binderfs dev entry removal * stress-mergesort: remove ALWAYS_INLINE from a comment * stress-sigq: exercise invalid rt_sigqueueinfo call * stress-xattr: exercise xattr on TMPFILE * stress-tlb-shootdown: break func args into multiple lines * stress-timerfd: minor alignment of data in source * stress-sparsematrix: minor optimization hints * stress-sock: make stress_send_error a PURE function * stress-full: only declare and use variable w for linux builds * stress-full: enable of Solaris, FreeBSD and NetBSD * stress-full: report errno for seek failures * stress-af-alg: fix two heap memory leaks * stress-af-alg: fix inverted assocdata allocation failure check * core-sort: add copy/swap helper functions for specific and generic sizes * stress-fcntl: exercise Linux 6.12 F_CREATED_QUERY fcntl command * stress-acl: stress_acl_cmp: constify acl1 and acl2 arguments * core-helper: stress_get_libc_version: make educated guess that musl-libc is being used * stress-file-ioctl: voidify function arg fd if it's not used * core-helper: stress_get_fs_info: voidify filename if it's not used * stress-numa: fix typo in comment * kernel-coverage: add --interrupts option to each test run * kernel-coverage: add --acl-rand option to acl stressor * kernel-coverage: add --mmap-slow-munmap to mmap stressor * kernel-coverage: add --memfd-zap-pte option to memfd stressor * kernel-coverage: add --get-slow-sync get stressor option * kernel-coverage: add --swap-self swap option * kernel-coverage: add --sockfd -1 --sockfd-reuse test case * kernel-coverage: add --yield -1 --yield-sched scheduler tests * kernel-coverage: add --c-state to cpu stress test case * kernel-coverage: add --cpu -1 --raplstat 1 --rapl test case * kernel-coverage: add --sem-shared option for sem stressor * kernel-coverage: add --sem-sysv-setall sem-sysv test case * stress-af-alg: put fixed sized buffers on the stack rather than heap * core-helper: make blocks the correct unsigned type * stress-file-ioctl: add some per-file system specific ioctls * kernel-coverage: add -v verbose option when running stressors * kernel-coverage: run procfs stressors for longer * stress-poll: exercise invalid fd being passed into poll() * stress-sem-sysv: add option --sem-sysv-setall * stress-dev: exercise linux /dev/bsd/* scsi block devices * core-setting: print bool type values as true or false * core-setting: remove need for dup'ing name string * stress-dev: replace __u32 with uint32_t to fix musl libc builds * core-*: print per-stressor settings when -v is enabled * stress-dev: check for autofs #defines for stress_dev_autofs_linux - update to 0.18.04: * stress-dev: clean up build warning on non-x86 builds * stress-numa: rename ptr with str to fix name shadowing warning * stress-vm: remove debugging setting if in statement * core-ftrace: remove PURE attribute on void return functions * stress-*: fix vm memory % size parameter handling * stress-vm: provide more information when mmap fails * stress-numa: make all of buf map to the current numa node * stress-numa: parse /proc/self/numa_maps to see if buf is on the expected node * core-shim: remove a space * core-*: add PURE attribute to pure functions * core-killpid: constify variable saved_errno * core-cpu: re-order CPUID strings, add some missing examples * stress-umount: remove extraneous empty line * stress-udp: add missing empty line * stress-tmpfs: make variable i const * stress-sparsematrix: move pointer next to inner scope * stress-sockpair: convert nested if statement into switch statement * stress-sigurg: inline helper function stress_send_error * stress-sigsegv: remove empty line * stress-sigrt: remove empty line * stress-set: put rlimit resource ids into a const rlimit_resources array * stress-session: make function argument err const * stress-rotate: make variables lo and hi const * stress-rmap: clean up switch statement, make i a register * stress-resched: make variables percent and scale const * stress-pci: reduce scope of pointer next * stress-opcode: make variable tmp const * stress-nice: make variable which const * stress-mutex: make variable max const * stress-mmap: make variable offset const * stress-mlock: make variable mlocked const * stress-*: add power10 builtin check support * stress-mknod: constify variable j * stress-memcpy: use the o1 and o2 variants in the "all" method * stress-membarrier: remove empty line * stress-led: reduce scope of pointer 'next' * stress-klog: make buflen const * stress-insertionsort: constify variable tmp * stress-hdd: constify variable v * stress-hash: explicitly use float values in chi computation * stress-dev: add naive simple /dev/autofs exerciser * stress-chattr: add mmap'd page modification to file, add metrics * stress-dev: exercise /dev/cpu/0/msr ioctl reading of TSC * stress-dev: add /dev/cpu/0/cpuid device stressor * core-*: don't include <sys/sysctl.h> on Linux targets * stress-cpu: constify some variables and add register to some variables * stress-clock: constify variable clkid * stress-chattr: constify variable bitmask * stress-cgroup: constify variable offset * stress-cacheline: constify variable 'now' * stress-mlockmany: remove stray const in start of source * stress-bitops: constify some variables * stress-apparmor: constify variables, fix p wrap overflow using the ternary operator * Manual: add in recursive hints to CPU stressor manual * stress-*: constify stressor_info_t structs * stress-aiol: constify offset * stress-af-alg: remove JMP debug message * stress-acl: constify variables, clean up some code alignment * stress-: voidify returns from sig() calls * stress-sem: add --sem-shared option to share 1 semaphore with all sem instances OBS-URL: https://build.opensuse.org/package/show/benchmark/stress-ng?expand=0&rev=255
This commit is contained in:
commit
b73aa7aa23
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
stress-ng-0.17.06.tar.gz
Normal file
3
stress-ng-0.17.06.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f81dc1ea7f2a821dab11e46cf3a3a893ad45299e51e6976041306871ddbc7f5d
|
||||||
|
size 6244583
|
3
stress-ng-0.18.00.tar.gz
Normal file
3
stress-ng-0.18.00.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9ee2fa2c2cd7732db3a600b77a75aef0d457008aa812e36adc7ebb029aeff6bc
|
||||||
|
size 6291598
|
3
stress-ng-0.18.03.tar.gz
Normal file
3
stress-ng-0.18.03.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a19a25ba47c9196db23aab97df4ef55d8ec80d8a5a6afe580b3bec2b870422a9
|
||||||
|
size 6645502
|
3
stress-ng-0.18.05.tar.gz
Normal file
3
stress-ng-0.18.05.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b0ac75b68bb804fd3276fcb235f1b0a9567090ebd887b2ed0f8a3203f9545e11
|
||||||
|
size 6662550
|
5614
stress-ng.changes
Normal file
5614
stress-ng.changes
Normal file
File diff suppressed because it is too large
Load Diff
85
stress-ng.spec
Normal file
85
stress-ng.spec
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
#
|
||||||
|
# spec file for package stress-ng
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
# Copyright (c) 2015-2023, Martin Hauke <mardnh@gmx.de>
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_without apparmor
|
||||||
|
|
||||||
|
Name: stress-ng
|
||||||
|
Version: 0.18.05
|
||||||
|
Release: 0
|
||||||
|
Summary: Tool to load and stress a computer
|
||||||
|
License: GPL-2.0-only
|
||||||
|
Group: System/Benchmark
|
||||||
|
URL: https://github.com/ColinIanKing/stress-ng
|
||||||
|
Source: https://github.com/ColinIanKing/stress-ng/archive/refs/tags/V%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: keyutils-devel
|
||||||
|
BuildRequires: libaio-devel
|
||||||
|
%if %{with apparmor}
|
||||||
|
BuildRequires: libapparmor-devel
|
||||||
|
%endif
|
||||||
|
BuildRequires: libattr-devel
|
||||||
|
BuildRequires: libbsd-devel
|
||||||
|
BuildRequires: libcap-devel
|
||||||
|
BuildRequires: libseccomp-devel
|
||||||
|
BuildRequires: lksctp-tools-devel
|
||||||
|
BuildRequires: zlib-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
stress-ng can stress various subsystems of a computer. It can stress load CPU,
|
||||||
|
cache, disk, memory, socket and pipe I/O, scheduling and much more. stress-ng
|
||||||
|
is a re-write of the original stress tool by Amos Waterland but has many
|
||||||
|
additional features such as specifying the number of bogo operations to run,
|
||||||
|
execution metrics, a stress verification on memory and compute operations and
|
||||||
|
considerably more stress mechanisms.
|
||||||
|
|
||||||
|
%package bash-completion
|
||||||
|
Summary: Bash Completion for %{name}
|
||||||
|
Group: System/Benchmark
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Requires: bash-completion
|
||||||
|
Supplements: (stress-ng and bash-completion)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description bash-completion
|
||||||
|
Bash completion script for stress-ng.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -D -p -m 0755 stress-ng \
|
||||||
|
%{buildroot}%{_bindir}/stress-ng
|
||||||
|
install -D -p -m 0644 stress-ng.1 \
|
||||||
|
%{buildroot}%{_mandir}/man1/stress-ng.1
|
||||||
|
install -D -p -m 0644 bash-completion/stress-ng \
|
||||||
|
%{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/stress-ng
|
||||||
|
%{_mandir}/man1/stress-ng.1%{?ext_man}
|
||||||
|
|
||||||
|
%files bash-completion
|
||||||
|
%{_datadir}/bash-completion/completions/%{name}
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user