-
stress-ng (0.16.05-1) unstable; urgency=medium
[Anisse Astier]
* stress-vnni: verify if selected method supports intrinsic in intrisinc
mode
[Erwan Velu]
* Manual: Indent stressors to ease man page reading
[John Kacur]
* stress-ng: Fix text of license in stress-sleep.c
[Hsieh-Tseng Shen]
* stress-pty: don't treat EINTR as failure when tcdrain is interrupted
[matoro]
* core-asm-generic: reintroduce HAVE_ASM_NOP check
[ Colin Ian King ]
* Makefile: bump version
* Makefile: add missing core-time.h from headers
* Makefile: remove snap from make dist rule
* stress-touch: fix missing help args for --touch-method and --touch-opts
* stress-ng: fix missing arg for --timer-slack help
* stress-stream: fix --stream-index help, missing arg
* stress-ring-pipe: fix help, missing args for --ring-pipe-num and
--ring-pipe-size
* stress-mremap: fix type in mremap-mlock help
* stress-module: use settings names and variable names that match
boolean args
* core-opts: module-no-modver and module-no-vermag are argless, fix these
* stress-ng: fix --max-fd help, needs arg N
* stress-dirmany: fix --dirmany-bytes option in help
* stress-cache: fix help for cacheline writeback should be --cache-clwb
* stress-affinity: add missing numeric arg in --affinity-sleep option
help
* stress-llc-affinity: Fix spelling mistake "memiry" -> "memory"
* Makefile: restore verify-test-all to 5 secs per stressor
* stress-misaligned: double the timeout time for very heavily loaded
systems
* stress-cpu-online: fix nixos build error, missing semicolon
* stress-kvm: skip stressor if /dev/kvm is already in use
* Makefile: ignore warning return values in regression tests
* stress-syscall: Add BSD rfork() system call
* README.md: add another kernel reference
* stress-mlock: only show munlock metrics if they are available
* core-opts: fix disabled --perf option
* Add map_shadow_stack to TODO list
* stress-enosys: add map_shadow_stack
* stress-dev: only use stress_dev_hid_linux if HAVE_LINUX_HIDRAW_H is
defined
* stress-ng.h: define _RENTRANT for __sun__ builds for threading
* test/test-builtin-bitreverse: don't use random() to remove OpenBSD
warnings
* tests: don't use random() to remove OpenBSD warnings
* core-cpu-cache: cast uint32 values to uint64_t before multiply
* stress-sigbus: unconstify ptr8, clean up pedantic warnings:
* core-helper: stress_write_buffer: use void * for ptr rather than char *
* core-setting: fix const warning with pedantic builds
* core-sort: fix const warning with pedantic builds
* stress-icache: make function stress_icache_func static
* stress-zero.c: only declare mmap_counter and mmap_index for linux
builds
* stress-softlockup: reduce scope of variables t and d
* stress-icache: reduce scope of variable val
* stress-fma: fix return type of stress_fma_rnd_float to float
* core-builtin: ensure shim_sqrtl returns long double
* stress-bad-ioctl: constify pointers
* stress-bad-ioctl: reduce scope of variables type, nr and ret
* stress-aiol: cast result of multiply to same type as offset
* core-cpu-cache: make cache_size match the same type as
cpu->caches[i].size
* stress-af-alg: constify pointer ptr
* core-shim: shim_posix_fallocate: reduce scope of variable ret
* core-numa: stress_parse_node: constify pointer str
* core-affinity: stress_parse_cpu: constify pointer str
* core-setting: remove unused field uintptr_t from struct
* core-interrupts: change scope of pointer ptr
* stress-watchdog: re-work code to remove need for watchdog_close label
* Makefile: force vnni to be built with at least -O2
* stress-vnni: move scope of variable to inside loop
* stress-far-branch: clean false positive gcc warning by initializing ptr
* stress-bad-altstack: make variable rnd non-clobberable
* Add --interrupts option to enable interrupt accounting
* core-interrupts: parse /proc/interrupts once for all types
* README.md: add another paper citation
* README.md: add two more kernel issues found with stress-ng
* stress-enosys: add fchmodat2
* stress-syscall: add fchmodat2
* test-chmod: add fchmodat2 Linux 6.6 call and shim, add fchmodat shim
* core-opts.h: move PR_OPT option macros to core-opts.h
* core-opts: move gnu long options into core-opts.c
* stress-prctl: add build check for new prctl macros
* stress-prctl: exercise PR_RISCV_V_{GET|SET}_CONTROL
* stress-prctl: add PR_GET_AUXV
* README.md: add another kernel issue found using stress-ng
* stess-schedmix: reduce scope of variable policy and remove
initialisation
* test/test-vfork.c: replace exit with _exit
* stress-jpeg: stress_rgb_compress_to_jpeg: ensure duration is
initialized to zero
* stress-dev: add lseek + read on /dev/nvram, voidify some args to
/dev/hid
* stress-dev: exercise linux /dev/hid ioctls
* stress-dev: exercise linux /dev/acpi_thermal_rel ioctls
* stress-ng.h: rename PR_* macros to OPT_FLAGS_PR_*
* core-thermal-zone.h: move perf related structs and defines to
core-thermal-zone.h
* core-perf.h: move perf related structs and defines to core-perf.h
* stress-ng.h: remove unused typedef stress_func_t
* README.md: add Anisse Astier to contributors list
* Manual: rename AF_ALG stressor title
* stress-netdev: exercise invalid lengths in ifr_ifindex and ifc_len
* core-helper.h: move stress_align_stack into core-helper.h
* core-time: move function prototypes to core-time.h
* move stress_pagein_self definition to core-thrash.h
* core-helper.h: move stress_warn_once from stress-ng.h to core-helper.h
* stress-ng.h: remove unused legacy function declarations
* core-helper: move stress_sigchld_set_handler from stress-ng.c to
core-helper.c
* include core-killpid.h for stress_killpid definition
* stress-ng.h: remove stress_killpid, it is in core-kill.h
* stress-ng.h: remove stress_clean_dir
* core-helper: move stress_clean_dir and helpers to core-helper.c
* core-helper: rename pr_* helper functions to stress_*
* Makefile: add core-shim.h to headers
* core-helper: move function prototypes and macros to core-helper.h
* core-shim: move function prototypes and typedefs to core-shim.h
* Remove snapcraft yaml file
* core-helper: provide non BSD no-op variants of getsysctl functions
* stress-sock: enable --sock-msgs option, set default from 1 to 1000
messages
* stress-sock: remove need to assign recvfunc pointer for every send
* Manual: clarify support for --vmstat option
* Manual: add --metrics RSS description
* stress-dccp: add --dccp-msgs option, set default from 16 to 10000
messages
* README.md: add some more citiations
* Manual: minor stressor description tweaks
* Manual: minor corrections
* Manual: re-adjust first option after each stressor heading using .TQ
* stress-ng: make --metrics brief dump just bogo-ops metrics, more
metrics with --metrics option
* stress-null: add --null-write for write only null benchmarking
* core-shared-heap: move function prototypes to core-shared-heap.h
* core-processes: move function prototypes to core-processes.h
* core-sched: remove unused function stress_set_deadline_sched
* core-sched: move function prototypes to core-sched.h
* Makefile: add missing core-limit.h
* stress-ng.h: replace lock declarations with include of core-lock.h
* core-mwc: move function prototypes to core-mwc.h
* core-log: move function prototypes to core-log.h
* core-setting: move function prototypes to core-setting.h
* core-*: add missing extern and missing inclusion of header in core*c
* Add core-attribute.h and core-parse-opts.h
* core-out-of-memory: move function prototypes to core-out-of-memory.h
* core-lock: move function prototypes to core-lock.h
* core-limit: move function prototypes to core-limit.h
* core-job: move function prototypes to core-job.h
* core-vmstat: move function prototypes to core-vmstat.h
* core-try-open: move function prototypes to core-try-open.h
* core-numa: move function prototypes to core-numa.h
* core-mounts: move function prototypes to core-mounts.h
* Makefile: add two missing header files
* core-mmap: move function prototypes to core-mmap.h
* core-mlock: move function prototypes to core-mlock.h
* core-mincore: move function prototypes to core-mincore.h
* core-madvise: move function prototypes to core-madvise.h
* core-klog: move function prototypes to core-klog.h
* core-killpid: move function prototypes to core-killpid.h
* core-io-priority: move function prototypes to core-io-priority.h
* core-interrupts: move function prototypes to core-interrupts.h
* core-ignite-cpu: move function prototypes to core-ignite-cpu.h
* core-cpuidle: move stress_log_cpuidle_info to core-cpuidle.h
* core-affinity: move function prototypes to core-affinity.h
* stress-ng: stress_class_info_t: constify class
* stress-ng: stress_verifiable_mode: constify mode arg
* stress-ng: move stress_kill_stressors to remove need for forward
declaration
* stress-ng: rename some variables, add some inlining
* stress-ng: rename classes to stress_classes
* stress-ng.h: minor clean-ups
* stress-ng.h: move some compiler specific #define's
* core-opts: move long option enum into core-opts.h
* stress-ng: fix spelling mistake in --oom-avoid message
* README.md: update list of contributors
* Manual: minor indention fixup for some hdd stressor options
* stress-ng.h: use STATX definitions for SHIM'd macros if they exist
* stress-ng.h: some minor #define and comment clean-ups
* stress-ng.h: remove old legacy HDD flags and fix starting bit for
OPT_FLAGS_METRICS
* stress-ng.h: annotate the bit flags for the option flags
* stress-ng.h: remove g_caught_signal - it is no longer used
* stress-ng.h: remove g_opt_parallel from header, it's only used in
stress-ng.c
* stress-ng.h: remove g_opt_sequential from header, it's only used in
stress-ng.c
* stress-sem-sysv: skip stressor if semaphore can't be initialized early
* stress-zero: rate reduce the amount of mmap's in stressor loop
* stress-zero: add --zero-read option just to benchmark /dev/zero reads
* stress-dir: add directory renaming while exercising readdir
* stress-vecshuf: implement shuffle if __builtin_shuffle does not exist
* README.md: add two more research paper citations
-- Colin Ian King <email address hidden> Tue, 5 Sep 2023 08:51:23 +0100
-
stress-ng (0.16.04-2) unstable; urgency=medium
* Fix ia64 build failure when using nop opcode
patch 0001-core-asm-generic-reintroduce-HAVE_ASM_NOP-check.patch
-- Colin Ian King <email address hidden> Wed, 16 Aug 2023 19:30:37 +0100
-
stress-ng (0.16.04-1) unstable; urgency=medium
* Makefile: bump version
* core-asm-ret: move STRESS_ARCH_{LE|BE} macros from stress-far-branch
to core-asm-ret
* core-asm-ret: convert _ in name to -
* stress-icache: fix missing assignment to ret
* core-cpu-cache: #ifdef out more functions not required for non-linux
builds
* core-cpu-cache: #ifdef out functions not required for non-linux builds
* core-cpu-cache: stress_cpu_cache_get_index: voidify args for
non-linux build
* core-cpu-cache: stress_cpu_cache_get_index: return 0 for non-linux
systems
* core-asm-ret: Add asm return function and re-use it in 3 stressors
* stress-icache: don't exercise i-cache if not page aligned
* stress-flushcache: don't exercise i-cache if not page aligned
* stress-lockbus: add more compiler support checks
* stress-icache: remove gcc constraint, there are no compiler
constraints now
* stress-flushcache: enable for more compilers (clang, icx, icc)
-- Colin Ian King <email address hidden> Sun, 13 Aug 2023 23:10:14 +0100
-
stress-ng (0.16.03-1) unstable; urgency=medium
[ mingkwind ]
* stress-cache: fix the help of the --cache-size option
* stress-cache: Add --cache-size option, set cache-size = N, and ignore
--cache-level option
[ Colin Ian King ]
* Makefile: bump version
* Makefile: add core-asm-generic.h to HEADERS
* Makefile: fix make dist rule to not include generated source
* README.md: order kernel improvements in year order
* README.md: fix URL to a citation
* README.md: order the citations in published year order
* Manual: update date
* core-target-clones/stress-vnni: fix icx compiler target build issues
* stress-ng: stress_run_permute: remove unused variable n
* core-bitops.h: don't use __builtin_popcountll for PCC, it breaks
* stress-dev: fix name shadowing on variable i, rename to j
* test/test-__restrict: make arg src const
* stress-vnni: make pointer c32 register const
* stress-vdso: func_find: constify arg name
* stress-switch: stress_switch_rate: constify arg method
* stress-prefetch: stress_prefetch_data_set: constify pointer
l3_data_end
* stress-memhotplug: stress_memhotplug_removable: constify arg name
* stress-pipe: reduce scope of pointer buf32
* stress-mmapfork: notrunc_strlcat constify arg src
* stress-ng: stress_get_class_id: constify arg str
* stress-ng: stress_exclude_unsupported: remove redundant ss
initialization
* core-cpuidle: remove redundant max_states > 0 check
* stress-ng: don't wait for stressors that have been ignored
* stress-ng: fix --perm bogo-op stats
* core-helper: <sys/swap.h> on 64 bit Solaris throws and error, so
disable it
* stress-sigbus: handle SIGSEGV as some *BSD systems generate these too
* stress-sigbus: check for a range of allower si_codes for SIGBUS
* stress-sigbus: check for BUS_ADRERR in si_code instead of SEG_ADRERR
* test: test/mm-*: return data from vector to avoid optimizing out
intrinsic calls
* test: test/mm-*: add randomize vector setting to avoid optimizing out
intrinsic calls
* stress-mlock: ensure mappings_len is at least a page_size
* core-helper: log the compiler information even if uname is not
available
* stress-ng: voidify function argument ticks_per_sec if it is not used
* stress-ng: change test results ordering: skipped, passed, failed
* stress-vnni: simplify check for stress_avx512_vnni_capable
* core-cpu-cache: declare sysfs strings only for Linux
* stress-sigbus: fix a comment
* stress-pipe: define PIPE_BUF if it is not defined
* README.md: add one more kernel issue found with stress-ng
* stress-sigbus: remove shadow'd variable ret
* stress-schedmix: check for MEMBARRIER_CMD_GLOBAL before using it
* README.md: move some more bugs into the correct year
* README.md: break bug reports into years found
* core-cpu-cache: fix incorrect close for stress_cpu_cache_get_sh4
* README.md: add another citation
* Makefile: use gcc -fsplit-loops optimization
* stress-ng.h: shared_heap_t: fix spelling mistake slap -> slab
* core-setting: move stress_setting_t from stress-ng.h to core-setting.c
* Add --config option to dump out configuration #define's
* core-target-clones: reformat target clones macro
* stress-ng.h: put ignore flags into their own struct
* core-vmstat: fix thermalstat headings, thermalzone headers were not
being printed
* Manual: update date
* Manual: move and update the --with option to also refer to the
--permute option
* core-out-of-memory: don't report EACCES issues on oom adjustments
* stress-ng: disallow --random with --sequential, --all or --permute
* stress-ng: add --permute N option, run permutations of stressors
* stress-vnni: fixup for big endian checksums
* stress-ng: add new --with option to specify stressors to run with
--seq or --all options
* core-target-clones.h: Add graniterapids
* stress-vnni: minor optimization on exercise loop and checksum
* stress-vnni: don't call non-intrinsic methods if vnni_intrisic is set
* stress-vnni: add --vnni-intrinsic option to exercise just intrinsic
code
* Add vnni (vector neural network instructions) stressor
* stress-syncload: add some sqrt computations for more load variants
* stress-waitcpu: constify function pointers in stress_waitcpu_method_t
* stress-vecwide: constify vecwide_func and byte_size in
stress_vecwide_funcs_t
* stress-vecshuf: constify vecshuf_func and elements in
stress_vecshuf_funcs_t
* stress-vecfp: constify vecfp_func and elements in stress_vecfp_funcs_t
* stress-vdso: constify function pointer in stress_wrap_func_t
* stress-syscall: constify fields in syscall_method_t and syscall_t
* stress-switch: constify function pointer in stress_switch_method_t
* stress-rotate: constify function pointer in stress_rotate_funcs_t
* stress-nop: constify func pointer in stress_nop_instr_t
* stress-memthrash: constify function pointer in
stress_memthrash_method_info_t
* stress-memrate: constify function pointers in stress_memrate_info_t
* stress-ipsec-mb: constify fields in stress_ipsec_features_t
* stress-getrandom: constify flag in getrandom_flags_t
* stress-fpunch: constify fields in stress_fallocate_modes_t
* stress-chattr: constify fields in struct stress_chattr_flag_t
* stress-cache: constify mask_flag_info and field flag
* stress-atomic: make fields in atomic_func_info_t const
* core-interrupts: constify fields in stress_interrupt_info_t
* stress-zlib: constify morse data struct fields
* core-perf: enable more perf events
* README.md: add another citation
* core-shim: typedef shim_rusage_who_t rather than using #define
* core-cpu-cache: replace #define'd literal string with const char
arrays
* stress-ng: typedef shim_ino64_t instead of using a #define
* stress-ng.h: replace #define's with typedefs for some shim'd types
* stress-ng.h: add parentheses around shift in STRESS_BIT_U* macros
* stress-af-alg-defconfigs: add more af-alg configurations based on
6.5-rc4
* core-perf: add some more perf metrics
* README.md: add another kernel issue found with stress-ng
* stress-swap: handle EPERM when we have permission
* stress-swap: move stress_swapoff to core-helper, force swapoff when
cleaning files at end
* stress-swap: force remove any pre-existing swap files
* stress_exclude_unsupported: skip over ignored stressors
* stress-swap: add oomable wrapper to catch OOM'd stressor
* stress-ng.h: remove space after __attribute__
* stress-ng.h: remove unused macro ALIGN_CACHELINE
* core-helper: rename stress_proc_self_exe to stress_get_proc_self_exe
* core-helper: rename stress_proc_self_exe_path to
stress_get_proc_self_exe_path
* core-helper: rename stress_fs_type to stress_get_fs_type
* core-helper: rename stress_min_pthread_stack_size to
stress_get_min_pthread_stack_size
* core-helper: rename stress_min_sig_stack_size to
stress_get_min_sig_stack_size
* core-helper: rename stress_sig_stack_size to stress_get_sig_stack_size
* core-helper: rename stress_min_aux_sig_stack_size to
stress_get_min_aux_sig_stack_size
* core-helper: rename stress_hostname_length to
stress_get_hostname_length
* core-helper: rename stress_text_addr to stress_get_exec_text_addr
* core-helper: constify stress_handle_stop_stressing signum parameter
* core-helper: stress_rndbuf: constify size parameter
* core-helper: rename stress_signal_name to stress_get_signal_name
* stress-ng.h: add more comments
* stress-ng.h: re-organize misc shared data fields,
remove warn_once_flags
* stress-ng.h: move checksum specific data into checksum struct
* stress-ng.h: move instance counts to instance_count struct
* stress-ng.h: remove af_alg_hash_skip and af_alg_cipher_skip from
shared data
* stress-ng.h: move pr_ logging fields to struct pr
* stress-ng.h: move mem_cache stressor fields to struct mem_cache
* stress-ng.h: move cacheline stressor fields to struct cacheline
* stress-ng: add spaces between comma separated sizes and times in
example
* stress-schedmix: only declare attr for deadline supported systems
* stress-schedmix: move declaration of schedmix_sem
* stress-*: add build check for struct ifreq
* stress-sock: only exercise SIOCGIFADDR ioctl if it is defined
* stress-schedmix: only declare buf array for linux builds
* stress-ng: stop SIGALRM once tests are complete
* stress-sparsematrix: constify pointer table
* stress-opcode: fix cppcheck false positive check on small
STRESS_OPCODE_SIZE values
* core-cpu-cache: fix file descriptor leak on calloc error exit path
* core-cpu-cache: use %zu for size_t sscanf format specifier
* Makefile: ensure CONFIG_LDFLAGS += with no trailing spaces are
filtered out
* stress-pipe: voidify fd param in pipe_get_size for OS X builds
* stress-mlock: voidify oom_avoid param for OS X builds
* core-shim: add emulation for posix_fallocation if it is not available
* core-bitops.h: Fix build issue with stress_bitreverse32
* kernel-coverage: fix typo in do_stress calls
* core-vmstat: add stats showing number of stressors that received
SIGALRM
* kernel-coverage: add periodic status information on direct stress-ng
invocations
* kernel-coverage: add more options for more coverage
* Makefile.config: ensure CONFIGS directory exists before touching
* Makefile: pass CXX flags to Makefile.config on config rule
* Makefiles: add override prefix to all CFLAGS and LDFLAGS settings
* README.md: update build notes
* Makefile: add cleanobj and cleanconfig rules
* stress-hdd: fix verification on partially completed writing due to
ENOSPC
* stress-sigbus: only report no space error when not EINTR failure
* stress-fault: handle EINTR interruption from a fallocate
* stress-cpu-online: report the cpu number in message
* core-cpuidle: only report cpu idle states if any are found
* core-cpuidle: ensure singular and plural of CPU and state are correct
* core-cpuidle.c: add debug showing CPU idle states
* stress-pipe: fix incorrect position of space in --pipe-vmsplice help
* stress-dev: use VOID_RET to voidify returns from ioctl calls
* stress-dev: add FDWERRORGET ioctl
* stress-pipe: add --pipe-vmsplice option to use vmsplice on pipe data
* stress-ng: minor opt arg code clean-up
* Add flag options to settings so they can be shown with --settings
option
* README.md: add two more citations
* stress-schemix: only create semaphore if shared memory allocated
correctly
* stress-sendfile: fix fd leak on error exit path
* stress-sigbus: add a new SIGBUS exercising stressor
* stress-tlb-shootdown: exercise
/sys/kernel/debug/x86/tlb_single_page_flush_ceiling
* stress-ng: Add --settings option to show all the stored option
settings
* core-helper: define PR_SET_MEMORY_MERGE if it not already defined
* stress-ng: cancel periodic alarm in child on stressor completion
earlier
* core-cpu-cache: add /proc/cpuinfo parsing for SH4
* core-bitops.h: move stress_nextpwr2 from stress-cpu to core-bitops.h
* core-bitops.h: move stress_parity32 from stress-cpu to core-bitops.h
* core-bitops.h: move stress_popcount32 from stress-cpu to core-bitops.h
* core-bitops.h: move stress_bitreverse32 from stress-cpu to
core-bitops.h
* stress-schedmix: give each child a random nice value
* stress-schedmix: add blocking on a semaphore
* stress-mlockmany: break large mlock/munlocks into smaller chunks
* core-shim: add a shim wrapper for posix_fallocate for expedited
allocations
* stress-dir: indicate dir stressor is cleaning up as early as possible
* stress-unlink: indicate unlink is cleaning up as early as possible
* stress-schedmix: get rusage and times stats for more load
* core-helper: add more timeout checking in stress_redo_fork
* core-out-of-memory: add timeout checks on re-fork and stressor
re-invocation phases
* core-helper: constify args for stress_read_buffer and
stress_write_buffer
* core-helper: replace stress_get_cc_version with stress_get_compiler
* core-helper: rename stress_uint64_zero to stress_get_uint64_zero
* core-bitops.h: move stress_swap32 from core-helper.c to core-bitops.h
* core-helper: fix function name in comment block
* core-helper: rename stress_tty_width to stress_get_tty_width
* stress-sparsematrix: fix typo in help information, judt -> judy
* stress-ng: make help options column 2 chars wider
* core-asm-generic: rename shim_mb to stress_asm_mb, move to
core-asm-generic
* core-asm-generic: header for generic inline assembler
* stress-ng: replace io with iomix as an example stressor
* core-helper: add toolchain information to -v output
* core-helper: add some more file system magic numbers
* core-helper: remove duplicated MINIX2_SUPER_MAGIC
* stress-schedmix: add --schedmix-procs option to specify number of
child processes
* stress-schedmix: add more scheduling exercising
* stress-schedmix: add itimer for more scheduling wake-ups
* stress-schedmix: correct copyright
* stress-sock: remove unnecessary cast to double and comparisons
* stress-schedmix: add mixed scheduling load stressor
* kernel-coverage.sh: add some more stressor options
* kernel-coverage: disable SMI from all stressors
* stress-misaligned: check if timeout occurred before next iteration of
stressor loop
* stress-sock: declare count only if SIOCOUTQ is defined
* Makefile.config: improve compiler checks to help cross-compilation
* stress-set: exercise settimeofday with bogus tz
* stress-sock: exercise SIOCGIFADDR for more kernel coverage
* stress-mlock: ensure flag bit on address is masked off
* stress-mlock: get bits from random uint8_t rather than uint32_t
* stress-io-uring: fix build issues on systems without {GET|SET}XATTR
ops
* stress-sock: exercise ioctl SIOCATMARK for more kernel test coverage
* stress-sock: add SIOCINQ/OUTQ metrics
* stress-sock: fix UNIX socket by using sock_protocol 0, exercise
SIOCUNIXFILE
* Manual: remove unix from --udp-domain
* stress-*: use args->time_end for the time to end
* stress-misaligned: check for timeout before iterating again after a
siglongjmp
* stress-ng: add end time to per-stressor args
* core-*: rename system_{read|write} to stress_system_{read|write}
* stress-msg: exercise IPC_NOWAIT flag for more kernel coverage
* stress-cpu-online: remove --cpu-online-all from global flags
* stress-cpu-online: add new --cpu-online-affinity option
* stress-dev: exercise CDROMSTART and CDROMSTOP ioctls
* stress-io-uring: exericse IORING_OP_SETXATTR and IORING_OP_GETXATTR
* stress-msg: periodically exercise IPC_NOWAIT
* core-out-of-memory: relax a bit before retrying a fork
* stress-mlock: relay a little on failed mappings table allocation
* stress-dev: exercise /proc/sys/dev/cdrom/* on linux
* stress-dev: set option for cdrom ioctl CDROM_SET_OPTIONS
* stress-dev: set q.cdsc_format for CDROMSUBCHNL
-- Colin Ian King <email address hidden> Fri, 11 Aug 2023 09:13:53 +0100
-
stress-ng (0.16.02-1) unstable; urgency=medium
* Makefile: bump version again
* stress-cyclic: Fix segv caused by uninitialized variable cyclic_method
* README.md: add repology information
-- Colin Ian King <email address hidden> Thu, 13 Jul 2023 08:44:47 +0100
-
stress-ng (0.16.01-1) unstable; urgency=medium
[ Pino Toscano ]
* debian/control: Update/improve the build dependencies (Closes: #1040582)
- enable libkeyutils-dev also on ia64, as it is available there as well
- enable libjudy-dev, libxxhash-dev, and libglvnd-dev on all the
architectures, as they are not specific to a certain OS
- switch the build dependencies that exist only on Linux from
"!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64" to "linux-any":
libkeyutils-dev, libapparmor-dev, apparmor, libaio-dev, libcap-dev,
libsctp-dev, libatomic1, libkmod-dev, libgbm-dev
[ Colin Ian King ]
* Makefile: bump version
* Manual: update date
* stress-shm-sysv: abort early if we run out of shm resources
* stress-hash: fix index overrun during initialization
* stress-hash: fix index overrun in stress_hash_all
* stress-nop: add NOCLOBBER to pointer instr, clear Solaris gcc 4.8.2
warning
* stress-ng: fix sigprocmask, signals that need to be blocked are set,
not zero'd
* stress-bad-ioctl: replace next label with continue statement
* core-setting: remove TYPE_ID_UINTPTR_T type
* stress-zlib: replace null check in methods array with length check
* stress-vm: replace null check in methods array with length check
* stress-vm-addr: replace null check in methods array with length check
* stress-switch: replace null check in methods array with length check
* stress-sparsematrix: replace null check in methods array with length
check
* stress-opcode: replace null check in methods array with array length
check
* stress-misaligned: replace null check in methods array with length
check
* stress-cyclic: pass address of pointer rather than method address
* stress-memcpy: replace null check in methods array with length check
* stress-hash: replace null check in methods array with length check
* stress-exec: replace null check in methods array with length check
* stress-cyclic: replace null check in cyclic_methods with length check
* stress-cpu: replace null check in cpu_methods with length check
* Manual: fix typo in --cpu-offline-all option
* Manual: some minor grammar changes
* stress-ng: add --status N option to report stressor runs status every
N seconds
* stress-malloc: remove need for some global variables, clean up code
* stress-schedpolicy: add --schedpolicy-rand option to select policy
randomly
* stress-bad-ioctl: fix fd leak
* stress-chroot: add two standard methods of breaking out of a chroot
as tests
* stress-bad-ioctl: add --bad-ioctl-method to select how ioctl commands
are changed
* stress-stream: ensure number of elements is a multiple of unroll size
* stress-ng: make child termination SIGALRM messages debug only
* stress-ng: speed up child termination by blocking signals and skip
excessive free'ing
-- Colin Ian King <email address hidden> Tue, 11 Jul 2023 11:24:12 +0100
-
stress-ng (0.16.00-1) unstable; urgency=medium
* Makefile: bump version to 0.16.00
* core-helper: double size of temporary string buffer tmp
* stress-ipsec-mb: use reverse compat macros for versions 0.55.00
* stress-ipsec-mb: add reverse compat macros for version 0.52.0 or
earlier
* Manual: fix eigen table
* stress-mlock: clean up pedantic warning on uninitialized pointer
mappings
* stress-cache: clean up longjmp clobber warnings on openhipster 202104
* stress-mmap: check for NetBSD EPERM errors on page protection checks
* stress-far-branch: disabled for NetBSD
* stress-iomix: shrink file size if we hit EFBIG or ENOSPC
* stress-copyfile: handle ENOSYS by skipping stressor
* stress-misaligned: handle timeout by jmping back and restarting
* kernel-coverage.sh: add more mlock options
* README.md: fix ClearLinux libattr bundle name
* stress-pagemove: add new --pagemove-mlock option
* stress-memfd: add new --mefd-mlock option
* stress-malloc: add new --malloc-mlock option
* stress-llc-affinity: add new --llc-affinity-mlock option
* kernel-coverage: add some more stressor options for more coverage
* stress-physpage: voidify physpage_mtrr when not used
* stress-bad-altstack: return EXIT_FAILURE insted of
_exit(EXIT_FAILURE)
* core-parse-opts: return 0 on err, clean up pedantic tcc warnings
* stress-ng.h: undef _FORTIFY_SOURCE for TCC builds
* core-killpid: break out of infinite loop and return via return path
* stress-af-alg: add hmac(md5) to defconfigs
* core-helper: add detection for Darwin libc
* core-vmstat: clean up pedantic warning on const name array on OS X
* stress-madvise: voidify hwpoison
* stress-x86syscall: rename variables to avoid name shadowing
* stress-open: remove shadowing variable ret
* Manual: re-order options into alphabetical order, fix some hyphens
* Manual: remove expand from tables now that x is being used
* Manual: put code examples in courier font
* Manual: use lx expand description in tables
* Manual: add notes about the legacy io stressor
* README.md: add another citation
* Manual: remove x86 specific notes for icache stressor
* stress-mmapaddr: remove trailing space
* Manual: rephrase mlock options
* stress-vm-addr: add new --vm-addr-mlock option
* stress-waitcpu: only perform nop rate comparisons of x86
* stress-stream: add new --stream-mlock option
* stress-shm-sysv: add new --shm-sysv-mlock option
* stress-shm: add new --shm-mlock option
* stress-remap: add new --remap-mlock option
* stress-resources: add new --resources-mlock option
* stress-mmapmany: add new --mmapmany-mlock option
* stress-mmaphuge: add new --mmaphuge-mlock option
* stress-mmapfixed: add new --mmapfixed-mlock option
* stress-mmapaddr: add new --mmapaddr-mlock option
* stress-mmap: add new --mmap-mlock option
* stress-l1cache: add new --l1cache-mlock option
* stress-forkheavy: add new --forkheavy-mlock option
* stress-bigheap: add new --bigheap-mlock option
* stress-switch: report pipe read/write failures as debug message only
* core-out-of-memory: change stress_set_adjustment to pass args
instead of args->name
* core-helper: add stress_munmap_retry_enomem to retry munmaps on
ENOMEM errors
* stress-open: unlink correctly path'd temp file
* stress-sparsematrix: initialize some pointers to clean up cppcheck
errors
* stress-atomic: set check2 to non-check1 value to ensure value gets
overwritten
* core-perf: remove redundant null check on sp
* core-helper: cast to uintmax_t for %ju format specifier
* README.md: add two more citation links
* stress-fp: check for upper bounds of method index
* stress-ng: fix potential null deref in stress_get_nth_stressor
* stress-utime: force fsync in #ifdef block
* stress-pipe: add missing const from pointer buf32
* stress-misaligned: fix unassigned timer.it_value field
* stress-exec: add missing space in void * cast
* core-vmstat: don't check for __APPLE__ if __FreeBSD__ is defined
* core-helper: only declare tmp where it is required
* stress-ng.h: remove unused shim_builtin_memmove macro
* stress-open: use temporary directory for open+create files
* stress-numa: exercise new linux system call set_mempolicy_home_node
* stress-iomix: exercise new Linux cachestat system call
* stress-aiol: ensure all fields in bad_ioc are zero
* core-helper: fix SHIM_EXT2_IOC_SETFLAGS, pass &flags and not flags
* core-killpid: set wstatus to zero
* stress-vecfp: add some alignment hints
* stress-shellsort: add some optimization hints
* stress-steam: add more restrict and const pointer annotations
* stress-physpage: only enable mtrr settings with the new
--physpage-mtrr option
* stress-get: remove duplicated getcontext call
* Manual: correct the clock duration section
* stress-pipe: default the pipe read/write size to 4096
* stress-pipe: use verify/non-verify variants of read and write helpers
* core-*: send SIGALRM to child process if stress-ng parent dies
* core-*: check for ss->ignore and skip if set
* core-*, stress-*: rename bogo-op related functions and variables
* core-cache: remove unavailable cache options from cache flags mask
* stress-far-branch: fix typo in .opt_set_funcs
* core-helper: report cache sizes when -v is enabled
* core-cpu-cache: rename stress_cpu_cache_get_level_size cache size
argument
* core-helper: add stress_unset_chattr_flags to unset chattr flags
* stress-apparmor: break from loop on fatal policy load
* stress-alarm: disable SIGUSR1 during counter increment
* stress-ng: account for stressors that had untrustworthy metrics
* README.md: add a kernel regression found with stress-ng
* stress-ng: account for stressors that are skipped before they are run
* stress-*: remove trailing space at end of lines
* stress-*: add SIGCHLD handling to inform parent child has terminated
* stress-remap: use correct integer range checking function
* stress-remap: add --remap-pages option to specify number of pages to remap
* Manual: fix --regs-ops option, missing -ops
* stress-mlock: set error return on mlock failure from child
* stress-udp-flood: add sendto rate metrics and failure check
verification
* stress-udp-flood: replace main for loop with do-while
* stress-watchdog: add verification of watchdog ioctl return values
* stress-madvise: voidify return from stress_get_setting
* stress-mlock: allocate appropriately sized mappings table
* core-*, stress-*: replace errno = %d with errno=%d
* stress-mlock: prefix errno value with errno=
* stress-madvise: only enabled hardware page poisoning with
--madvise-hwpoison
* core-cpu: add more CPUID processor manufacturer ID strings
* stress-brk: add --brk-bytes option to specify maximum brk size
* stress-bigheap: add --bigheap-bytes option to specify maximum heap
size
* core-try-open: use increasing backoff delay and add keep_stressing
check
* core-shim: add kill wrapper shim_kill
* core-vmstat: allow --vmstat, --thermalstat and --iostat use s,m,h
time suffixes
* stress-close: remove scheduler class flag, it's the wrong
classification
* stress-fanotify: replace fanotify stats with generic metrics
* stress-af-alg: don't fail on ETIMEDOUT bind exit
* core-klog: log hung task information
* core-klog: raise priority of klog process, throttle process dumping
rate
* core-vmstat: increase running and block process count fields to 3
chars
* core-processes: use variable j for iterating, not i, fixes clobbering
* stress-icache: add more comment notes on how to check for icache
misses
* syscalls.txt: update for riscv specific system calls
* stress-syscall: exercise new syscall riscv_flush_icache
* stress-sysinval: exercise new syscall riscv_hwprobe
* stress-syscall: exercise new syscall riscv_hwprobe
* stress-nop: add comment about random being the last nop stressor
* core-klog: fix order of kernel cmdline strings
* core-resources: try memfd_create with MFD_NOEXEC_SEAL
* core-interrupts: use int64_t for delta of interrupts
* stress-far-branch: limit shift to avoid address request overflow
* stress-vm-addr: remove redundant assignment of buf to NULL
* stress-far-branch: voidify return from stress_get_setting
* stress-softlockup: add more randomness is busy loop delay
* stress-softlock: add busy loop to eat CPU for 1/100th second
* stress-cyclic: remove use of softlockup_count
* stress-softlock: spawn N children for N CPUs per stressor
* stress-efivar: enable verification of EFI variable reading
* stress-priv-instruction: add trapping count verification
* stress-dynlib: add dlsym lookup time metrics
* stress-x86syscall: add verification of getpid, time and
gettimeofday syscalls
* stress-lockbus: move metrics variables above x86 #ifdef
* stress-forkheavy: ensure waitpid is waiting on a valid child pid
* stress-lockbus: add bus lock duration metrics
* stress-fpunch: replace %lu with PRIu64 format specifier
* stress-far-branch: add --far-branch-pages option
* core-affinity: allow affinity ranges of N-N to be interpreted as N
* stress-af-alg: don't support tk transformations
* stress-pipeherd: add verification check value in data
* stress-x86syscall: exercise gitpid 0 arg syscall (stressor)
* stress-x86syscall: exercise gitpid 0 arg systcall
* stress-x86syscall: use size of array as for loop counter max
* stress-fpunch: enable zero hole punch verification on --verify
* core-klog: dump out processes on hard lockups
* stress-udp: pass child error return status back to stressor main if
failed
* stress-udp: silently ignore EPERM sendto failures
* core-interrupts: add FORMAT type hint
* stress-func*c: use soft decimal float for s390x
* core-helper: add extra paranoid checking for sysconf
-- Colin Ian King <email address hidden> Fri, 7 Jul 2023 09:43:57 +0100
-
stress-ng (0.15.10-1) unstable; urgency=medium
* Makefile: bump version
* core-shim: add shim_raise helper to workaround SH4 raise
* stress-funccall: disable Decimal and complex floats for SH4
* stress-ipsec-mb: use the newer API, 0.53 has been deprecated
-- Colin Ian King <email address hidden> Thu, 15 Jun 2023 13:12:11 +0100
-
stress-ng (0.15.09-1) unstable; urgency=medium
[ Eder Zulian ]
* Manual: fix typo: non-interritable -> uninterruptible
[ Colin Ian King ]
* Makefile: bump version
* stress-funcret: disable Decimal float for s390x
* stress-funccall: disable Decimal float for s390x
* README.md: update contributor list
* stress-sctp: use pidptr to clean up gcc 5.5.0 type punning warnings
* stress-jpeg: only define stress_jpeg_checksum_data if
HAVE_OPEN_MEMSTREAM is defined
* stress-jpeg: voidify unused variable verify for non-verification
#ifdef paths
* stress-funcret: variable old_b needs tainting to keep old compilers
happy
* stress-sigsuspend: cast pid_t to intmax_t for portable width printing
of pid_t
* stress-sigchld: don't check for si_code on OpenBSD
* stress-sigrt: cast pointer from mmap to (stress_metrics_t *)
* stress-udp: add in a back-off delay on ENOBUFS
* stress-udp: handle ENOBUFS on recvfrom
* stress-udp: use pidptr to clean up gcc 5.5.0 type punning warnings
* stress-bigheap: rename si_code to sigcode to avoid macro name clash
in minix
* stress-bigheap: remove SA_SIGINFO #ifdef, fixed minix build failure
* core-interrupts: cast char to int for clean minix build
* stress-fstat: compare stat buf fields with known original
* core-asm-x86.h: fix cpuid for 32 bit x86
* core-affinity: fix stress_change_cpu helper for non-linux systems
* stress-stream: reduce the checksum floating point precision
* core-interrupts: assert that number of interrupts does not exceed max
* core-interrupts: only enable check on some specific x86 interrupts
* core-helper: check for failed sysconf stack size calls
* stress-misaligned: add timer to check for locked-up instructions
* stress-mlock: don't make mlocked pages check a failure, just a debug
message
* stress-sleep: discount severe clock warping
* stress-mq: add detection of system wide lack of file descriptors
* stress-inotify: increase back-off time, keep retrying
* stress-timer: cancel timer before deleting it
* stress-funccall: ignore comparing some Decimal and Float types
* stress-binderfs: bump timeout to 15 seconds
* stress-fsize: remove failure from unexpected size issue
* stress-hrtimers: skip stressor if low on resources on timer_create
call
* stress-mq: don't treat timeouts as hard failures
* stress-dnotify: ignore stray SIGIOs
* stress-eigen: add transpose and addition matrix operations
* stress-dnotify: set F_NOTIFY flags to zero before closing
* stress-waitcpu: add more slow
* stress-x86cpuid: add verification on cpuid return register values
* stress-ng: swap order of pid and started/exited messages
* stress-wait: remove extraneous wait: prefix in messages
* stress-kcmp: ensure EXIT_FAILURE is reported back to stress-ng
* stress-kcmp: fix missing : on pr_fail message
* stress-kmp: check bad file descriptors and silently ignore EBADF
* stress-ng: reformat process exiting message, replace "process" with
stressor name
* core-resources: make tmp files smaller
* TODO: remove --ksm option from TODO list
* stress-urandom: make failed mmaping on urandom fd
* stress-sparsematrix: use private mmapping rather than shared
* stress-sigsegv: make shared mmapping private
* stress-randlist: use private mmapping
* stress-prefetch: use private mmapping rather than shared
* stress-full: mmaps on /dev/full will fail, don't use MAP_ANONYMOUS
* stress-dev-shm: mapping should not be anonymous, it's bound to fd
* stress-dev-shm: make mapping anonymous private for better ksm
performance
* stress-ng: re-order --times option
* stress-ng: update short help with missing general options
* stress-ng: enable --ksm kernel samepage merging option
* TODO: add ksm PR_SET_MEMORY_MERGE
* TODO: add two more items to be implemented
* syscalls: add riscv_hwprobe - TODO
* stress-pthread: voidify snprintf return
* core-ftrace: voidify snprintf return
* stress-mmapmany: read /proc/self/smaps and /proc/self/maps
* stress-hdd: use RWF_HIPRI when using O_DIRECT on pwritev2 writes
* core-*/stress-*: fix a wide range of typos and spelling mistakes
* stress-aiol: use O3 for data filling and checking
* voidify returns from strlcpy and strlcat
* stress-*sort: correct the message why the stressor is not implemented
* stress-waitcpu: add a little slop in nop and wait cpu opcodes rate
comparisons
* stress-brk: reset index i on re-start on low memory, fixes random
check failures
* stress-stream: compare doubles using fabs and a small delta
* stress-stream: make helper function stress_stream_checksum_data static
* stress-stream: constify cast to clear up icc warning
* stress-memrate: register and ALIGNED do not mix well with icc, remove
ALIGNED hint
* stress-rmap: use PRIxPTR format specifier for uintptr_t type
* core-mmap: make page_end const
* stress-funccal: usr helper macros to compare more esoteric float types
* stress-vecfp: compare float and double with some slack
* stress-udp: constify cast of data to pid_t *
* stress-funccall: add helper macros to compare integer, float and
complex types
* stress-daemon: clear up name shadowing on variable rc
* stress-prctl: verify that illegal prctl calls are handled correctly.
* stress-sctp/udp: refactor: move 32 char string into core-helper
* stress-sock: report number of messages send per second as extra
metrics
* stress-sctp: return EXIT_NO_RESOURCE on protocol not found
* stress-timer: add timer_settime verification
* stress-prefetch: add prefetch vs non-prefetch rate verification
* stress-dnotify: dnotify_access_file: ensure file is removed
* README.md: add another kernel bug found with stress-ng
* stress-dnotify: remove error handling debug file size, return to 0
* stress-dnotify: check for ENOSPC, return errors down the call chain
* core-helper: turn #if/#endif chain into #if/#elif/#endif
* stress-vm-rw: make pointer end const
* stress-dev-shm: make pointer end const
* stress-dentry: reduce scope of rret
* stress-dccp: make pointer addr_un const
* stress-af-alg: make function parameter info const
* core-vmstat: make pointer cpu_ticks const
* stress-daemon: check for setsid failure, report and write status back
to parent
* core-helper: make pointer ptr32end const, declare buffer buf only
where required
* core-mmap: make pointers end and page_end const
* stress-ng.h: make pointer ci const
* test-libbsd.c: constify pointers
* test-builtin-memcmp: remove redundant pointer ptr
* stress-zlib: make pointer zlib_checksum_in const
* stress-waitcpu: reduce scope of array msg
* stress-vm-rw: make pointer end const, make pointers registers
* stress-vm-addr: make ptr_end const, make pointers registers
* stress-userfaultfd: constify pointer end, zero stack
* stress-udp: constify pointer addr_un
* stress-sysfs: constify pointer d
* stress-syscall: constify pointer ss
* stress-stream: constify pointer arguments in checksum function
* stress-stackmmap: rename status to check_status
* stress-stack: make pointer start_ptr const
* stress-sockfd: make pointer addr_un const
* stress-sock: make pointer addr_un const
* stress-shm-sysv: make pointer end const
* stress-shm: make pointer end const
* stress-scpt: make pointer addr_un const
* stress-rmap: make pointer end const
* stress-rawpkt: make pointer eth const
* stress-procfs: make pointers ctxt and d const
* stress-memrate: make pointer write_end const
* stress-netlink-task: make pointer id_ptr const
* stress-pagemove: make pointer p const
* stress-ng: constify a couple of pointers
* stress-ng: move scope of count to one level lower
* stress-mprotect: move array str to lower scope
* stress-madvise: constify pointer ptr
* stress-memrate: constify some pointers
* stress-memthrash: make pointers fwd, rev registers
* stress-l1cache: constify pointer cache_end
* stress-ipsec-mb: constify read-only pointer end
* stress-jpeg: minor optimization for stress_jpeg_checksum_data
* stress-iomix: constify read only pointer buffer
* stress-getdent: constify pointer d
* stress-funccall: reduce scope of array msg
* stress-funcret: reduce scope of array msg
* stress-fp: fix incorrect index on assignment, should be [1] and
not [0]
* stress-chattr: ensure 1ULL is being shifted for 64 bit shifts
* stress-ioport: add verification of invalid ioperm parameters
* stress-ioport: note the usage of iopl
* Remove end of line spaces and tabs
* stress-rawdev: add verify checking
* stress-rawdev: fix skip message, replace flood with rawdev
* stress-bad-altstack: move child to helper, retry faulting, add
verification
* stress-timerfd: various checks are performed, so enable verify
* stress-fma: add fused multiply and add syncload, repeat other
loads x 4
* stress-mutex: pr_info should be pr_inf
* stress-mutex: don't report pthread creation issues as a fail
* stress-timer: make ENOMEM or EAGAIN on timer_again a resource
skipping return
* core-out-of-memory: don't remove temp files if retry on oomable death
* stress-chattr: restore original chattr flags one by one
* stress-chattr: only verify settings when 1 instance is running
* stress-chattr: disable check for the moment
* stress-sockdiag: this already checks for failures, so enable
verification flag
* stress-ng: add --change-cpu option for force child processes onto
another CPU
* core-helper: add libc version
* stress-iomix: don't throw a write failure on ENOSPC
* core-helper: report blocks available
* core-helper: print the realpath of the temporary path
* stress-brk: print address of shrink page error
* stress-sctp: protocol not implemented should return EXIT_NO_RESOURCE
* stress-ng: "no resource(s)" should be "no resources"
* stress-sockfd: move sleep to after reporting error to avoid
clobbering errno
* core-vmstat: keep header and data togther using log locking
* stress-chattr: add verification and improve error messages
* stress-far-branch: add random located verification check function
* stress-inode-flags: using a 0 flag will reset all flag bits to zero
* stress-revio: add missing --revio-bytes in short help
* core-helper: enable stress_get_cpu for all arches
* stress-exec: silently ignore intentional EINVAL exec failures
* stress-exec: only check WEXITSTATUS if WIFEXITED is true
* stress-atomic: sanity check atomic ops on non-shared item work
correctly
* stress-tlb-shootdown: optimize mem writes and reads, periodically
change cpu affinity
* stress-session: add failure verification, return EXIT_FAILURE on
failures
* stress-session: fix typo in comment
* stress-sleep: add underrun sanity check verification
* stress-sleep: remove multiple counters, used shared counter with lock
* stress-sigsuspend: add sigsuspend failure verification check
* stress-rmap: add page data verification, store + check data per child
* stress-smi: verify that regs are restored on SMI return
* stress-fstat: re-work thread data to allow error return verification
* stress-sigio: add verification on reads
* stress-sigtrap: set metrics to index 0
* stress-sigrt: add verification and metrics
* stress-race-sched: add system call return verification checks
* stress-sigtrap: add verification of trap handler and measure trap
handling rate
* stress-eigen: set verify to always, sanity checking is always
performed
* stress-stackmmap: add stack data sanity verification on last 256 calls
* stress-eigen: enable for all arches
* stress-sigq: fix missing . in verify field
* stress-cache: don't enable SIGBUS handling for x86
* stress-mlock: move helper function stress_mlock_pages
* README: update build dependiency notes
* stress-eigen: add Eigen 2d matrix stress cases
* stress-physpage: voidify unused paramater success
* stress-mlock: remove redundant return statement
* stress-waitcpu: rename variable j to l to avoid shadowing
* stress-mmapfixed: remove re-declaration of pointer buf64
* core-log: remove unused helper function pr_spin_lock
* Makefile.config: Add compiler check and HAVE_COMPILER_* macros
* stress-matrix-3d: minor comment fixes
* stress-matrix: minor comment fixes
* core-klog: ignore "hrtimer: interrupt took" messages
* Manual: add note that the default timeout is 24 hours
* stress-mlock: add mlock growth verification for linux
* stress-signal: use pr_fail for failures, add verification
* stress-waitcpu: add verification that nop wait is shortest delay
* stress-resched: check if set policy is the current policy
* stress-sigq: fix missing . before struct field name
* stress-siqq: add verification of si_value.sival_int value
* stress-sigpipe: add verification of SIGPIPE signals
* stress-rawudp: add simple data verification check
* stress-far-branch: remove opcode from message, it is redundant
* stress-dev-shm: remove debug message of line and return value
* core-klog: ignore kmod concurrent module probes in klog checking
* stress-*: ensure verify flags are set in the unimplemented variants
* stress-mprotect: return failures back to to caller
* stress-ng.h: core-killpid api changes
* core-killpid: return EXIT_FAILURE if waited-for processes fail
* stress-mmaphuge: add memory contents verification check
* stress-vforkmany: add verificatin of vfork starting and invocation
metrics
* core-helper: make passing NULL stack disable alternative stack
* stress-funccall: abort early once a failure is detected
* stress-funcret: enable 'all' method by default. Add metrics and
verification
* stress-funccall: return EXIT_FAILURE if success is false
* stress-funccall: enable 'all' method by default. Add metrics
* stress-funccall: enable verification
* stress-udp: add low resource check and throttle check
* stress-steam: unroll loops for more throughput
* stress-stream: re-phrase metrics description
* stress-stream: enable verification with --verify option
* core-nt-store.h: fix double precision nt store
* core-asm-x86.h: add sfence x86 helper
* stress-clone: add sanity check to see if clone processes started OK
* stress-apparmor: move verifiable flag to correct struct
* stress-apparmor: add lock protected concurrent failure counter
* stress-ng: treat SIGABRT as a critical failure
* stress-ng: add exit status of stressor at termination to debug message
* core-klog: ignore callbacks suppressed kernel log messages
* core-klog: count number of klog messages and report these at end
* stress-pkey: move from CPU to OS class
* Makefile: always undefine _FORTIFY_SOURCE before defining it
* stress-vm-splice: remove whitespace in tab'd column
* stress-vm-splice: add 64 bit check pattern to verify vm-splice data
* stress-sctp: use pid as data check in sctp data for run time
verification
* stress-nice: add verification of nice(1) changing priority
* core-out-of-memory: clean temp directory and files on a OOM
* core-klog: add two more kernel messages to silently ignore
* stress-physpage: flag mtrr failure as a EXIT_FAILURE and enable verify
* core-shim: use libc nice as a final resort for shim_nice
* stress-deamon: add verify always option since the stressor checks if
fork fails
* stress-daemon: add --daemon-wait wait option
* stress-dirmany: verify if files are created with stat
* stress-dirmany: add verification count of files created
* stress-dirmany: add create/removal file rates
* stress-bigheap: use larger check values, use uintptr rather
than uint8_t
* stress-bigheap: use malloc for new allocations rather than realloc
* stress-verify: close fd on error exit path, clean fd leak
* stress-bigheap: add SEGV debugging feature
* stress-udp: use pid as data check in udp packet for run time
verification
* stress-signest: add signal handling rate metrics and check for
failures
* stress-peterson: add yield in busy loop for RISC-V
* stress-mpfr: minor corrections, add a yield point per method
* stress-mpfr: exercise the GNU multi-precision floating point
reliable library
* stress-fp: enable optional verification option
* stress-dev-shm: add memory contents verification
* stress-binderfs: add missing .verify setting
* stress-chroot: move .verify tag to appropriate struct
* stress-rawsock: add hash check to raw data for test verification
* stress-madvise: make setjmp failure a no resource failure
* stress-verify: add verify mode failure returns
* stress-misaliged: remove trailing tabs
* stress-misaligned: add verification of data written
* stress-rdrand: add more verification
* stress-stack: enable verification by sanity checking last 128 stack
frames
* stress-prefetch: enable --verify option, make data random too
* stress-rotate: enable --verify option
* stress-goto: add branch hit verification
* stress-sigchld: verify SIGCHLD siginfo si_code values
* stress-fsize: enable verification
* core-interrupts: ensure default start and stop counters are set at
start
* stress-close: remove an empty line
* stress-flock: enable verification for exclusive file lock
* stress-close: add close failure verification
* stress-branch: add branch hit verification
* stress-ng: make --verifiable option print out stressors without
verify modes
* stress-vecshuf: move .verify tag to appropriate struct
* stress-vecfp: enable --verify option
* stress-stack: add backwards traversal down stack frames to keep
pages busy
* stress-stack: remove accidentally added sleep call
* stress-randlist: enable --verify mode
* stress-io-uring: add OOMable child wrapper incase memory runs low
* stress-nanosleep: add underrun verification check
* stress-nanosleep: add check for clock_gettime failures
* stress-munmap: use mincore to verify that a page has been unmapped
* stress-mmap-fixed: add verification to see if remap'd page contains
expected data
* stress-jpeg: enable --verify on jpeg generated data
* stress-dirmany: fix missing ) on help information
* stress-dirmany: fix typo in help for --dirmany-filesize option
* stress-denty: enable --verify data checks in dentry files
* stress-brk: add verification of brk pages on shrink
* stress-vecmath: move verify flag into implemented struct
* stress-vecwide: enable verify, compare computations between two rounds
* core-interrupts: add x86 IO-APIC miscount interrupt
* core-interrupts: add check for ARM Err interrupt
* stress-vecmath: add per stress loop checksum checking
* core-interrupts: add SMI count check for x86
* core-helper: move smi reading function from stress-smi to core-helper
* stress-fma: enable verify, compare computations between two rounds
* stress-matrix-3d: unroll more loops for improved optimization
* stress-matrix: unroll more loops for improved optimization
* stress-matrix-3d: rename stressor name to match stressor source
* stress-matrix-3d: add verification
* core-builtin: add builtin shim for memcmp to use __builtin_memcmp
* stress-matrix: add verification
* core-interrupts: measure and report critical interrupts
* core-perf: check for null stats when using random selection of
stressors
* core-klog: ignore loop capacity changed messages
* core-perf: add extra pointer checks earlier in results dumping loop
* stress-zlib: optimize ascii digits generator
* core-klog: ignore x86 split log warnings
* core-log: add helpers to reduce the number of getpid calls
* stress-sysinval: use use shim_rorXXn builtin wrapper for rotate right
* stress-zlib: use shim_ror32n builtin wrapper for 32 bit rotate right
* core-sort: inline sort comparison functions + optimized bsearch to O3
* README.md: add another citation
* core-cpu-cache.h: define HAVE_SHIM_MFENCE for risc-v case
-- Colin Ian King <email address hidden> Wed, 14 Jun 2023 21:49:19 +0100
-
stress-ng (0.15.08-1) unstable; urgency=medium
[Fernand Sieber]
* stress-cpu: Deduce waiting time in active cycle from idle time
[Hui Wang]
* snapcraft: remove a duplicated dependent package
[Thinh Tran]
* rawsock: locked up when parent sends SIGKILL to child
[Colin Ian King]
* Makefile: bump version
* README.md: update contributors list
* Manual: update date
* stress-ng.h: rework OPTIMIZE_FAST_MATH to workaround cpp issue with pcc
* stress-iomix: use pid_t type for pid array
* core-killpid: use intmax_t to print format pid_t
* Makefile: don't enable gcc flag -ftree-loop-vectorize for Solaris
* core-helper: voidify stress_proc_self_exe_path for __sun__ builds
* stress-ng: don't flag SIGALRM terminations of stressors as a failure
* stress-sleep: cancel alarms on tidy up to avoid alarm cascade in
pthreads
* stress-fallocate: remove messy signal handler
* core-klog: only declare stress_klog_kernel_cmdline for linux builds
* stress-ng: add optional repeated SIGKILL force option to
stress_kill_stressors
* stress-fallocate: remove short file life hint
* stress-fork: make 50% of forked children do immediate exit
* core-lock: constify function argument lock
* stress-tree: constify pointer node
* stress-sleep: add missing __PCC__ ifdef constraint check
* stress-rtc: move variables to local scopes
* stress-module: improve module loading error message
* stress-io-uring: constify various function arguments
* stress-ipsec-mb: constify function argument job
* stress-ipsec-mb: constify function argument p_mgr
* stress-flock: move variable ret into local scope
* stress-dnotify: reformat description declaration
* core-vmstat: constify function argument tz_info
* stress-crypt: constify function argument salt
* stress-cache: constify function argument mem_cache
* stress-aiol: constify function argument buffer
* stress-affinity: constify info function argument
* stress-sparsematrix: initialize x_node, y_node to clean up cppcheck
warnings
* stress-list: zero head to clean up pedantic static analysis warning
* stress-wcs: set info name to the stressor name
* stress-wcs: add index bounds check, keeps static analyzers happy
* stress-cyclic: fix off-by-one comparison for cyclic_policy
* stress-af-alg: add in some missing configs from 6.3 kernel
* README.md: add another citation
* stress-pthread: fix big endian tid addr for 32 bit systems
(Closes #1036356)
* stress-vecfp: replace debug metrics with standard metrics data,
bump metrics to 40
* stress-vm-segv: use pipe for a synchronization mechanism
* core-klog: remove extraneous tab
* Add --stderr option, default output now to stdout
* README.md: add another kernel bug found with stress-ng
* stress-sock: handle corner-case where n is zero
* core-klog: dump kernel cmdline just once
* stress-ng: handle SIGALRM in stressor and parent more intelligently
* core-builtin: use builtin versions of memset, memcpy and memmove
* stress-dev: disable warning for -Wgnu-variable-sized-type-not-at-end
* stress-getdent: remove % operator with compare and subtract
* core-killpid: add helper stress_kill_and_wait_many to kill many pids
* core-thrash: constify pointer state
* stress-wcs: constify static array letters
* stress-vecwide: constify pointer vec_args
* stress-udp: constify static array patterns
* stress-rawpkt: constify pointer idx
* stress-pthread: move new_head to local scope, replace memcpy with
assignment
* stress-prefetch: constify addr pointer argument
* stress-prctl: move temp variables to lower scopes
* stress-opcode: constify function parameters page_size and op
* stress-mmapfork: constify function pointer ptr
* stress-madvise: initialization poison_count
* stress-list: constify pointer entries_end
* stress-inode-flags: constify pointer to data
* stress-ng.h: ensure unsigned 1 is being left shifted to avoid signed
warnings
* stress-af-alg: avoid adding potential NULL ptr to length of buffer
* stress-chdir: move paths, fds and mkdir_ok arrays into one array
* stress-affinity: force random cpu choice to never be same as previous
* stress-af-alg: add in some missing configs
* stress-io-uring: clean up 32 bit build warnings on addr to user_data
casts
* core-killpid: add sanity checks to pid being killed
* core-killpid: add signal number to stress_kill_and_wait
* stress-dccp: move kill out of server to parent patj
* stress-*: use stress_kill_and_wait for kill and wait
* core: add stress_kill_and_wait helper to kill and wait for children
* stress-resched: ensure pids are initialized to -1
* core-helper: stress_proc_self_exe_path: voidify unused args
* stress-ng: remove empty line
* stress-sctp: remove trailing space at end of line
* Makefile: add gcc optimization flag -ftree-loop-vectorize
* stress-{memthrash|zlib}: use memzero for zero data generation
* Add build time check for __builtin_memset
* stress-zlib: emit DEF/INF debug only for instance 0
* stress-atomic: workaround gcc 11 atomic nand builtin issues
* stress-exec: add FreeBSD rfork and get executable name using sysctl
* stress-signest: add signal ignoring and don't jmp on invalid jmpbuf
* stress-af-alg: silently handle EOPNOTSUPP recv errors
* README.md: add two more research paper citations
* README.md: add link to another kernel improvement that used stress-ng
* stress-af-alg: use recv on socket rather than read
* stress-vecshuf: make function pointer const
* stress-vecfp.c: make function pointer const
* stress-sparsematrix: move get/put stats into metrics output
* stress-xattr: handle fall-out when file system fills up
* README.md: add another kernel bug found with stress-ng
* stress-xattr: keep track of xsetattr calls that succeeded using a bitmap
* core-helper: remove need for static buffer in stress_proc_self_exe_path
* stress-dnotify: double timeout, ignore notifies that timeout
* stress-io-uring: remove redundant check of a non-null pointer
* core-helper: rework underscore mungification helper
* stress-cacheline: use global shared index to fix cache index issue
* stress-urandom: fix corruption of neighbouring mmap'd page
* stress-inotify: make inotify_init failure message into just a warning
* stress-unshare: replace %= with compare and reset
* stress-softlockup: replace %= with compare and reset
* stress-rawdev: replace %= with compare and reset
* stress-open: replace %= with compare and reset
* stress-inode-flags: replace %= with compare and reset
* stress-fcntl: replace %= with compare and reset
* stress-chmod: replace %= with compare and reset
* stress-chattr: replace %= with compare and reset
* stress-chroot: replace %= with compare and reset
* stress-io-uring: set the setup to just enough reqs
* stress-io-uring: fix completion error checks for cancellation
* stress-io-uring: cancel if HAVE_IORING_OP_ASYNC_CANCEL is defined
* stress-io-uring: silently ignore cancel errors
* stress-io-uring: add async cancellation
* stress-io-uring: increase ring size, force complete on ring submit EBUSY
* core-out-of-memory: report why oom_score_adj can't be set
* Add forced_killed_counter to indicate a child has been killed forcefully
* stress-io-uring: perform completion at the end of a round of submits
* stress-rotate: remove this from the cpu cache class
* stress-vm: add conditional parentheses
* stress-vecfp: add conditional parentheses
* stress-tsearch: add conditional parentheses
* stress-sysinval: add conditional parentheses
* stress-sysfs: add conditional parentheses
* stress-sync-file: add conditional parentheses
* stress-socklockup: add conditional parentheses
* stress-skiplist: add conditional parentheses
* stress-sigsegv: add conditional parentheses
* stress-shellsort: add conditional parentheses
* stress-session: add conditional parentheses
* stress-sem-sysv: add conditional parentheses
* stress-seek: add conditional parentheses
* stress-sctp: add conditional parentheses
* stress-rlimit: add conditional parentheses
* stress-rawdev: add conditional parentheses
* stress-procfs: add conditional parentheses
* stress-peterson: add conditional parentheses
* stress-mremap: add conditional parentheses
* stress-malloc: add conditional parentheses
* stress-lsearch: add conditional parentheses
* stress-inotify: add conditional parentheses
* stress-hsearch: add conditional parentheses
* stress-hdd: add conditional parentheses
* stress-hash: add conditional parentheses
* stress-futex: add conditional parentheses
* stress-fstat: re-order operands of && for minor optimization
* stress-fp: add conditional parentheses
* stress-exec: add conditional parentheses
* stress-dnotify: add conditional parentheses
* stress-dev: add conditional parentheses
* stress-cyclic: add conditional parentheses
* stress-bad-ioctl: add conditional parentheses
* stress-af-alg: add conditional parentheses, re-order && operators
* core-resources: ensure resources are marked as free as soon as possible
* stress-io-uring: throttle calls to stress_read_fdinfo
* stress-io-uring: keep a cached copy of fileno(stdin)
* stress-io-uring: defer unlinking file to end
* stress-io-uring: fix statx command, don't use path, use fd to path
* stress-sockmany: use 64 char ascii string as base for memset data,
remove expensive % operator
* stress-sockabuse: use 64 char ascii string as base for memset data,
remove expensive % operator
* stress-sock: use 64 char ascii string as base for memset data, remove
expensive % operator
* stress-epoll: replace % operators with compare + reset and memset
data from stress_ascii64
* stress-reboot: replace expensive % operation with compare and reset
* stress-dccp: use 64 char ascii string as base for memset data, remove
expensive % operator
* core-helper: add stress_ascii64[] for 64 bytes of ASCII data
* core-vmstat: replace % operator with compare and reset
* stress-pthread: use 64 bit tid_addr to fix stack clobbering on 32
bit platforms
* stress-fma: add fused-multiple-add stressor
* stress-cpu-online: classify some write failures as non-fatal
* README.md: add another kernel issue found with stress-ng
-- Colin Ian King <email address hidden> Sun, 21 May 2023 15:27:37 +0100
-
stress-ng (0.15.07-1ubuntu2) mantic; urgency=medium
* Cherry-pick upstream commit "stress-pthread: fix big endian tid addr
for 32 bit systems" to fix test failure on armhf (LP: #2019079)
stress-ng (0.15.07-1ubuntu1) mantic; urgency=medium
* Cherry-pick upstream commit "stress-pthread: use 64 bit tid_addr to fix
stack clobbering on 32 bit platforms" to fix test failures on armhf
(LP: #2019079)
stress-ng (0.15.07-1) unstable; urgency=medium
[Shoily Rahman]
* stress-rawpkt: use of rx ring to the rawpkt module
[Luis Chamberlain]
* stress-module: stress finit_module() and delete_module()
[Colin Ian King]
* Makefile: bump version
* stress-memthrash: check for negative return from
stress_numa_count_mem_nodes
* stress-memthrash: add some numa sanity checking
* stress-rawpkt: voidify blocknr if it is not being used
* stress-memthrash: reduce copy128 hunks by half, use correct end offset
* stress-memthrash: fix copy128 end offset
* Makefile: shorten run time of verify-test-all rule, remove kernel
log check
* core-klog: exit klog child process rather than return
* stress-timerfd: relax error message on timerfd creation w/o priv
* stress-timerfd: add missing space in failure message
* core-processes: don't use getpwuid for static builds
* stress-zero: remove alignment from register pointer, icc does not
support this idiom
* stress-full: remove alignment from register pointer, icc does not
support this idiom
* core-helper: use char * pointers to avoid auto increment on void * ptr
* stress-rawpkt: add built time check for struct tpacket_req3
* core-shared-heap: use shim_strlcpy as some systems don't have strlcpy
* core-shared-heap: use strlcpy rather than strcpy as it is safer
* stress-zlib: cast mmap'd memory to stress_zlib_shared_checksums_t *
* stress-module: only declare helper functions if they are required
* stress-module: voidify unused function args
* stress-msync: fix missing pointer constifications
* stress-ng.h: re-work unconstify macro
* core-resources: cast 0 for pthread to pthread_t
* stress-memcpy: replace references to b with str2/str3
* stress-tmpfs: don't assume page size is 4K, fixes PPC64 failure
* stress-pthread: check for head being null
* stress-malloc: avoid calloc allocatiob being less than a uintptr_t
* stress-malloc: avoid zero sized callocs when performing len / n
where len < n
* core-helper: reduce scope of variable prev_flag
* test/test-finit-module: ensure test is compilable
* stress-wcs: reduce scope of variable t
* stress-vdso: remove redudant shadowed declaration of pointer vdso_sym
* stress-set: make bad_groups const
* stress-sem-sysv: only declare variable nsems when required
* stress-rawpkt: declare lable close_fd only when required
* stress-seek: reduce scope of variable t
* stress-sctp: make char array patterns const
* stress-qsort: add ( ) to remove cppcheck precedence style warning
* stress-malloc: remove shadow'd variable declaration ret
* stress-mmap: rename shadow'd variable index with flag_perms_index,
remove % operator
* stress-ipsec-mb: only declare sz where it is required
* stress-l1cache: fix incorrect cache size calculation
* stress-revio: replace expensive % with compare and reset
* stress-hdd: replace expensive % with compare and reset
* stress-clone: replace expensive % with compare and reset
* stress-affinity: check args counter as well as keep_stressing_affinity
* stress-module: reduce scope of variable p and make it const
* stress-module: use sscanf with specified size limit
* stress-tmpfs: round file size to nearest 4K to avoid residual data
in page
* stress-sigfpe: declare variable verify only when required
* core-resource: remove debug
* stress-tmp: remove short life hint on tmpfs files to restore default
data longevity state
* stress-sem-sysv: use different key from core-resources sem keys
* stress-resources: use the number of resources allocated to free
* stress-switch: voidify semctl return
* stress-bind-mount: make clone failure with EPERM a resource exit
return
* stress-sem-sysv: terminate children with SIGALRM and not SIGKILL
* core-shared-heap: print shared heap stats if STRESS_SHARED_HEAP_DEBUG
is defined
* stress-lockbus: replace asm volatile with __asm__ __volatile__
* core-asm-x86.h: replace asm volatile with __asm__ __volatile__
* stress-itimer: add missing itimer-freq help information
* stress-memcpy: exercise copying on smaller chunks to allow larger
CPU scaling
* core-log: ensure log file data is flushed hard
* stress-ng: munge stressor name to replace _ with -
* stress-rawpkg: memset tp to clear up static analysis warnings and
#ifdef PACKET_RX_RING
* stress-rawpkt: fix leak of file descriptor on error exit paths
* stress-ng: provide passed/failed/skipped summary at end of run
* stress-watchdog: remove incorrect CLASS_VM classification
* Makefile: add verify-test-all make rule for test verification
* stress-prctl: add missing ; for PR_SET_MEMORY_MERGE prctl
* Revert "core-mwc.c: enable 64 bit multiply mwc, it is faster on 64
bit systems"
* stress-wcs: replace '_' with '~' in string patterns
* stress-numa: minor optimizations
* core-mmap: clean up build warnings for HAVE_ASM_X86_REP_STOSQ path
* stress-bigheap: add const bools for global mask'd options
* core-mwc.c: enable 64 bit multiply mwc, it is faster on 64 bit systems
* core-mwc: group mcw data together, also add 64 bit multiply version
(not enabled)
* README.md: add Shoily Rahman to contributors list
* Manual: add rawpkt-txring option to manual
* stress-rawpkt: ensure int type is saved as rawpkt-rxring
* stress-poll: fix missing free of rnd_fds_index array
* stress-zero: perform metrics less frequently
* stress-x86syscall: use filtered array of funcs to improve call rate
* stress-wcs: optimize random string filling, perform metrics less
frequently
* stress-vm-splice: add branch hints, add alignment, perform metrics
less frequently
* stress-vm-rw: add O3 optimizations on parent and child
* stress-vm-rw: add branch hints, add alignment on used data structs
* stress-vdso: remove inc_counter from vdso loop, removes counter
overhead
* stress-utime: add branch hints and measure metrics less frequently
* stress-usersyscall: add branch hints and O3 optimization level
* stress-udp-flood: add some branch hints
* stress-udp: optimize send/recv, remove need for % operator
* stress-tree: add two minor branch hints
* stress-touch: rename main touch loop function
* stress-timerfd: add some branch hints
* stress-timer: add branch hints, some alignments and O3
* stress-tee: add branch hints and measure metrics less frequently
* stress-sysinfo: add some branch hinting
* stress-switch: use mmap'd page aligned pipe buffers, align sysv
messages
* stress-splice: reduce frequency of metrics measurement, add branch
hints, align buffers
* stress-sparsematrix: explicitly inline value_map
* stress-sockpair: optimize using branch hints and some data alignments
* stress-sockmany: add some branch hints
* stress-sockfd: optimize using branch hints and some data alignments
* stress-sockdiag: optimize using branch hints and some data alignments
* stress-skiplist: use -O3 and add branch hints
* stress-sigrt: optimization on memsets and add branch hints
* stress-sigpending: add branch hints, align data structures
* stress-signest: add some branch hint optimizations
* stress-signal: minor optimizations
* stress-sigio: use mmap'd read/write buffers, add branch hints
* stress-sigfpe: minor optimizations, biggest win is removing % operator
* stress-sigfd: add branch hints, some alignments and reduce memcpy
overhead
* stress-shm: minor optimization tweaks, very small gains
* stress-sendfile: reduce metrics measurements frequency
* stress-sem-sysv: add alignment and branch hint optimizations
* stress-seek: reduce frequency of metrics measurement, add branch
hints, align buffers
* some minor optimizations to increase seek throughput
* stress-seal: add some branch hints
* stress-sctp: minor branch hint optimizations and remove expensive %
operators
* stress-schedpolicy: minor branch optimization hints
* stress-malloc: add SIGSEGV handler in child
* stress-ring-pipe: add some minor branch hint optimizations
* stress-revio: add branch hints
* stress-remap: optimize random shuffle and add branch hits, align
array order
* stress-readahead: optimize offset generation
* stress-rawudp: add branch hint and O3 optimization
* stress-rawsock: add branch hint and O3 optimization
* stress-rawpkt: add branch hint and O3 optimization
* stress-sem: add some more branch hinting
* stress-ng: fix spelling mistake "geometic" -> "geometric"
* stress-pagemove: move stress_pagemove_remap_fail to inside #ifdef hunk
* stress-pty: add some optimization hints
* stress-ptrace: add some optimization hints
* stress-pthread: minor optimization hints
* stress-poll: make buffer a uint16_t, halves payload, increases poll
calls
* stress-poll: pre-shuffle/randomize poll fds, remove random overhead
per write
* stress-pipeherd: add branch hints
* stress-ping-sock: minor branch and port wrap optimizations
* stress-personality: align an array, add branch hints
* stress-pagemove: only measure mremap calls every 1000 calls, add
branch hints
* stress-mmap: page align various arrays, use more shuffling on index
* stress-zlib: remove blocking complexity by putting checksum in shared
memory
* stress-msg: move #endif to correct position with respect to code block
* core-shim: move module shim wrappers to below shim_enosys declaration
* stress-null: gather metrics every 100 null reads
* stress-netlink-task: minor optimization tweaks
* stress-nanosleep: use mwc32 and mask for power of two random values
* stress-inode-flags: voidify return from inc_counter_lock
* core-mwc: check if max is zero before attempting zero division
* stress-mutex: only measure mutex calls every 1000 calls, add branch
hints
* stress-msync: optimize page checking, check in 64 bit chunks
* stress-mremap: only measure remap calls every 500 calls
* stress-mq: minor optimization on mwc mod operation and switch ordering
* stress-mmapfixed: minor optimizations to
stress_mmapfixed_is_mapped_slow
* stress-mlock: measure mlock/mlock2 duration every 1000 calls
* stress-mincore: add some branch hinting
* stress-memfd: use 64 bit nt stores where possible
* stress-membarrier: reduce number of time calls, increases membarrier
rate
* stress-zlib: add more yield points to detect SIGALRM timeouts
* core-processes: add stress_dump_processes to dump stress-ng process
state
* stress-madvise: use stress_mwc64modn_maybe_pwr2 for size modulo
* core-mwc: add modulo mwc functions for max where max is probably a
power of 2
* stress-longjmp: sample metrics time less frequently
* stress-list: pass end of entries rather than number of entries
* stress-kcmp: minor optimizations, reduced main loop by 0.5%
according to perf
* stress-judy: minor optimizations, very slim improvement
* stress-inode-flags: add locked bogo-ops increment
* stress-hdd: optimize data buffer setting
* stress-fpunch: mmap buffers, alignment makes copying a little faster
* stress-full: make buffer mmap'd, add zero check optimizations
* stress-mmap: move stress_mmap_set_vma_name to core-helper, rename to
stress_set_vma_anon_name
* stress-zero: optimize stress_is_not_zero
* core-thrash: add kmemleak scans
* stress-*: use stress_file_rw_hint_short on temporary test files
* core-helper: add stress_file_rw_hint_short file hint
* stress-memfd: exercise memfd flags MFD_NOEXEC_SEAL and MFD_EXEC
* stress-prctl: fix missing }
* core-helper: add kernel samepage merging helper, use it when forking
hard
* stress-prctl: add new PR_* prctl options
* snapcraft: remove UNEXPECTED setting
* snapcraft: make libipsec-mb-dev depend on amd64 arch
* snapcraft: move to snap22, add missing libs and -lrt flag
* core-mmap: add prefetch in check loop
* stress-mcontend: add more stress for x86 with lfence after reads
* README.md: Add Luis Chamberlain to contributors list
* stress-module: rename options, add '-' following the no part
* core-shim: remove need for errno.h include, add definitions for
module handling
* stress-module: only fclose fp if file is opened
* stress-module: remove module-sharedfd, clean up fd opening
* stress-module: changes to conform to stress-ng coding style
* stress-module: clean up gcc-10.2.1 build issues
* core-mmap: fill memory with random 64 bit value
* core-mmap: optimize, use 64 bit load/stores, add x86 rep sto for
stores
* stress-sockpair: try to avoid OOMing when using --oom-avoid option
* stress-msg: split send/recv code into functions, improve optimizations
* stress-sem: more even use of sem_wait, sem_trywait, sem_timedwait
and add metrics
* stress-sem: add branch hints and O3 optimization
* stress-sock: optimizations, move to -O3 on client/server + branch
hints
* stress-pipe: terminate run when read from pipe is zero bytes
* README.md: Add another citation
* core-helper: don't report failure on prctl PR_SET_NO_NEW_PRIVS with
errno EINVAL
* stress-pipe: add handler to stop stressor on SIGPIPE
* stress-switch: add handler to stop stressor on SIGPIPE
* stress-af-alg: remove check for HAVE_LIB_IPSEC_MB
* stress-eventfd: add branch hints
* core-help: minor branch hints on system_read and system_write
* stress-epoll: add branch hints
* stress-dup: add branch hints, minor optimization on info struct layout
* stress-copy-file: minor optimization repeated verify flag check
* stress-context: optimize: remove padding, optimize bogo-checks
* stress-close: add branch hints, add one more open type, replace %
with &
* stress-pipe: use EPIPE for stressor termination, remove need for
pipe stop token
* stress-pipe: verify just first 32 bits in buffer, add in more
optimizations
* core-helper: fix stress_rndbuf to fill entire buff
* stress-switch: use register for active fd, saves a load each loop
* stress-ng.h: add likely hints to keep_stressing()
* stress-switch: add branch hints
* stress-ng: move counter and flag into structure close to each other
* stress-ng.h: align counter to cache boundary
* stress-exec: remove logging the status on failed exec
-- Benjamin Drung <email address hidden> Fri, 19 May 2023 13:17:49 +0200
-
stress-ng (0.15.07-1ubuntu1) mantic; urgency=medium
* Cherry-pick upstream commit "stress-pthread: use 64 bit tid_addr to fix
stack clobbering on 32 bit platforms" to fix test failures on armhf
(LP: #2019079)
stress-ng (0.15.07-1) unstable; urgency=medium
[Shoily Rahman]
* stress-rawpkt: use of rx ring to the rawpkt module
[Luis Chamberlain]
* stress-module: stress finit_module() and delete_module()
[Colin Ian King]
* Makefile: bump version
* stress-memthrash: check for negative return from
stress_numa_count_mem_nodes
* stress-memthrash: add some numa sanity checking
* stress-rawpkt: voidify blocknr if it is not being used
* stress-memthrash: reduce copy128 hunks by half, use correct end offset
* stress-memthrash: fix copy128 end offset
* Makefile: shorten run time of verify-test-all rule, remove kernel
log check
* core-klog: exit klog child process rather than return
* stress-timerfd: relax error message on timerfd creation w/o priv
* stress-timerfd: add missing space in failure message
* core-processes: don't use getpwuid for static builds
* stress-zero: remove alignment from register pointer, icc does not
support this idiom
* stress-full: remove alignment from register pointer, icc does not
support this idiom
* core-helper: use char * pointers to avoid auto increment on void * ptr
* stress-rawpkt: add built time check for struct tpacket_req3
* core-shared-heap: use shim_strlcpy as some systems don't have strlcpy
* core-shared-heap: use strlcpy rather than strcpy as it is safer
* stress-zlib: cast mmap'd memory to stress_zlib_shared_checksums_t *
* stress-module: only declare helper functions if they are required
* stress-module: voidify unused function args
* stress-msync: fix missing pointer constifications
* stress-ng.h: re-work unconstify macro
* core-resources: cast 0 for pthread to pthread_t
* stress-memcpy: replace references to b with str2/str3
* stress-tmpfs: don't assume page size is 4K, fixes PPC64 failure
* stress-pthread: check for head being null
* stress-malloc: avoid calloc allocatiob being less than a uintptr_t
* stress-malloc: avoid zero sized callocs when performing len / n
where len < n
* core-helper: reduce scope of variable prev_flag
* test/test-finit-module: ensure test is compilable
* stress-wcs: reduce scope of variable t
* stress-vdso: remove redudant shadowed declaration of pointer vdso_sym
* stress-set: make bad_groups const
* stress-sem-sysv: only declare variable nsems when required
* stress-rawpkt: declare lable close_fd only when required
* stress-seek: reduce scope of variable t
* stress-sctp: make char array patterns const
* stress-qsort: add ( ) to remove cppcheck precedence style warning
* stress-malloc: remove shadow'd variable declaration ret
* stress-mmap: rename shadow'd variable index with flag_perms_index,
remove % operator
* stress-ipsec-mb: only declare sz where it is required
* stress-l1cache: fix incorrect cache size calculation
* stress-revio: replace expensive % with compare and reset
* stress-hdd: replace expensive % with compare and reset
* stress-clone: replace expensive % with compare and reset
* stress-affinity: check args counter as well as keep_stressing_affinity
* stress-module: reduce scope of variable p and make it const
* stress-module: use sscanf with specified size limit
* stress-tmpfs: round file size to nearest 4K to avoid residual data
in page
* stress-sigfpe: declare variable verify only when required
* core-resource: remove debug
* stress-tmp: remove short life hint on tmpfs files to restore default
data longevity state
* stress-sem-sysv: use different key from core-resources sem keys
* stress-resources: use the number of resources allocated to free
* stress-switch: voidify semctl return
* stress-bind-mount: make clone failure with EPERM a resource exit
return
* stress-sem-sysv: terminate children with SIGALRM and not SIGKILL
* core-shared-heap: print shared heap stats if STRESS_SHARED_HEAP_DEBUG
is defined
* stress-lockbus: replace asm volatile with __asm__ __volatile__
* core-asm-x86.h: replace asm volatile with __asm__ __volatile__
* stress-itimer: add missing itimer-freq help information
* stress-memcpy: exercise copying on smaller chunks to allow larger
CPU scaling
* core-log: ensure log file data is flushed hard
* stress-ng: munge stressor name to replace _ with -
* stress-rawpkg: memset tp to clear up static analysis warnings and
#ifdef PACKET_RX_RING
* stress-rawpkt: fix leak of file descriptor on error exit paths
* stress-ng: provide passed/failed/skipped summary at end of run
* stress-watchdog: remove incorrect CLASS_VM classification
* Makefile: add verify-test-all make rule for test verification
* stress-prctl: add missing ; for PR_SET_MEMORY_MERGE prctl
* Revert "core-mwc.c: enable 64 bit multiply mwc, it is faster on 64
bit systems"
* stress-wcs: replace '_' with '~' in string patterns
* stress-numa: minor optimizations
* core-mmap: clean up build warnings for HAVE_ASM_X86_REP_STOSQ path
* stress-bigheap: add const bools for global mask'd options
* core-mwc.c: enable 64 bit multiply mwc, it is faster on 64 bit systems
* core-mwc: group mcw data together, also add 64 bit multiply version
(not enabled)
* README.md: add Shoily Rahman to contributors list
* Manual: add rawpkt-txring option to manual
* stress-rawpkt: ensure int type is saved as rawpkt-rxring
* stress-poll: fix missing free of rnd_fds_index array
* stress-zero: perform metrics less frequently
* stress-x86syscall: use filtered array of funcs to improve call rate
* stress-wcs: optimize random string filling, perform metrics less
frequently
* stress-vm-splice: add branch hints, add alignment, perform metrics
less frequently
* stress-vm-rw: add O3 optimizations on parent and child
* stress-vm-rw: add branch hints, add alignment on used data structs
* stress-vdso: remove inc_counter from vdso loop, removes counter
overhead
* stress-utime: add branch hints and measure metrics less frequently
* stress-usersyscall: add branch hints and O3 optimization level
* stress-udp-flood: add some branch hints
* stress-udp: optimize send/recv, remove need for % operator
* stress-tree: add two minor branch hints
* stress-touch: rename main touch loop function
* stress-timerfd: add some branch hints
* stress-timer: add branch hints, some alignments and O3
* stress-tee: add branch hints and measure metrics less frequently
* stress-sysinfo: add some branch hinting
* stress-switch: use mmap'd page aligned pipe buffers, align sysv
messages
* stress-splice: reduce frequency of metrics measurement, add branch
hints, align buffers
* stress-sparsematrix: explicitly inline value_map
* stress-sockpair: optimize using branch hints and some data alignments
* stress-sockmany: add some branch hints
* stress-sockfd: optimize using branch hints and some data alignments
* stress-sockdiag: optimize using branch hints and some data alignments
* stress-skiplist: use -O3 and add branch hints
* stress-sigrt: optimization on memsets and add branch hints
* stress-sigpending: add branch hints, align data structures
* stress-signest: add some branch hint optimizations
* stress-signal: minor optimizations
* stress-sigio: use mmap'd read/write buffers, add branch hints
* stress-sigfpe: minor optimizations, biggest win is removing % operator
* stress-sigfd: add branch hints, some alignments and reduce memcpy
overhead
* stress-shm: minor optimization tweaks, very small gains
* stress-sendfile: reduce metrics measurements frequency
* stress-sem-sysv: add alignment and branch hint optimizations
* stress-seek: reduce frequency of metrics measurement, add branch
hints, align buffers
* some minor optimizations to increase seek throughput
* stress-seal: add some branch hints
* stress-sctp: minor branch hint optimizations and remove expensive %
operators
* stress-schedpolicy: minor branch optimization hints
* stress-malloc: add SIGSEGV handler in child
* stress-ring-pipe: add some minor branch hint optimizations
* stress-revio: add branch hints
* stress-remap: optimize random shuffle and add branch hits, align
array order
* stress-readahead: optimize offset generation
* stress-rawudp: add branch hint and O3 optimization
* stress-rawsock: add branch hint and O3 optimization
* stress-rawpkt: add branch hint and O3 optimization
* stress-sem: add some more branch hinting
* stress-ng: fix spelling mistake "geometic" -> "geometric"
* stress-pagemove: move stress_pagemove_remap_fail to inside #ifdef hunk
* stress-pty: add some optimization hints
* stress-ptrace: add some optimization hints
* stress-pthread: minor optimization hints
* stress-poll: make buffer a uint16_t, halves payload, increases poll
calls
* stress-poll: pre-shuffle/randomize poll fds, remove random overhead
per write
* stress-pipeherd: add branch hints
* stress-ping-sock: minor branch and port wrap optimizations
* stress-personality: align an array, add branch hints
* stress-pagemove: only measure mremap calls every 1000 calls, add
branch hints
* stress-mmap: page align various arrays, use more shuffling on index
* stress-zlib: remove blocking complexity by putting checksum in shared
memory
* stress-msg: move #endif to correct position with respect to code block
* core-shim: move module shim wrappers to below shim_enosys declaration
* stress-null: gather metrics every 100 null reads
* stress-netlink-task: minor optimization tweaks
* stress-nanosleep: use mwc32 and mask for power of two random values
* stress-inode-flags: voidify return from inc_counter_lock
* core-mwc: check if max is zero before attempting zero division
* stress-mutex: only measure mutex calls every 1000 calls, add branch
hints
* stress-msync: optimize page checking, check in 64 bit chunks
* stress-mremap: only measure remap calls every 500 calls
* stress-mq: minor optimization on mwc mod operation and switch ordering
* stress-mmapfixed: minor optimizations to
stress_mmapfixed_is_mapped_slow
* stress-mlock: measure mlock/mlock2 duration every 1000 calls
* stress-mincore: add some branch hinting
* stress-memfd: use 64 bit nt stores where possible
* stress-membarrier: reduce number of time calls, increases membarrier
rate
* stress-zlib: add more yield points to detect SIGALRM timeouts
* core-processes: add stress_dump_processes to dump stress-ng process
state
* stress-madvise: use stress_mwc64modn_maybe_pwr2 for size modulo
* core-mwc: add modulo mwc functions for max where max is probably a
power of 2
* stress-longjmp: sample metrics time less frequently
* stress-list: pass end of entries rather than number of entries
* stress-kcmp: minor optimizations, reduced main loop by 0.5%
according to perf
* stress-judy: minor optimizations, very slim improvement
* stress-inode-flags: add locked bogo-ops increment
* stress-hdd: optimize data buffer setting
* stress-fpunch: mmap buffers, alignment makes copying a little faster
* stress-full: make buffer mmap'd, add zero check optimizations
* stress-mmap: move stress_mmap_set_vma_name to core-helper, rename to
stress_set_vma_anon_name
* stress-zero: optimize stress_is_not_zero
* core-thrash: add kmemleak scans
* stress-*: use stress_file_rw_hint_short on temporary test files
* core-helper: add stress_file_rw_hint_short file hint
* stress-memfd: exercise memfd flags MFD_NOEXEC_SEAL and MFD_EXEC
* stress-prctl: fix missing }
* core-helper: add kernel samepage merging helper, use it when forking
hard
* stress-prctl: add new PR_* prctl options
* snapcraft: remove UNEXPECTED setting
* snapcraft: make libipsec-mb-dev depend on amd64 arch
* snapcraft: move to snap22, add missing libs and -lrt flag
* core-mmap: add prefetch in check loop
* stress-mcontend: add more stress for x86 with lfence after reads
* README.md: Add Luis Chamberlain to contributors list
* stress-module: rename options, add '-' following the no part
* core-shim: remove need for errno.h include, add definitions for
module handling
* stress-module: only fclose fp if file is opened
* stress-module: remove module-sharedfd, clean up fd opening
* stress-module: changes to conform to stress-ng coding style
* stress-module: clean up gcc-10.2.1 build issues
* core-mmap: fill memory with random 64 bit value
* core-mmap: optimize, use 64 bit load/stores, add x86 rep sto for
stores
* stress-sockpair: try to avoid OOMing when using --oom-avoid option
* stress-msg: split send/recv code into functions, improve optimizations
* stress-sem: more even use of sem_wait, sem_trywait, sem_timedwait
and add metrics
* stress-sem: add branch hints and O3 optimization
* stress-sock: optimizations, move to -O3 on client/server + branch
hints
* stress-pipe: terminate run when read from pipe is zero bytes
* README.md: Add another citation
* core-helper: don't report failure on prctl PR_SET_NO_NEW_PRIVS with
errno EINVAL
* stress-pipe: add handler to stop stressor on SIGPIPE
* stress-switch: add handler to stop stressor on SIGPIPE
* stress-af-alg: remove check for HAVE_LIB_IPSEC_MB
* stress-eventfd: add branch hints
* core-help: minor branch hints on system_read and system_write
* stress-epoll: add branch hints
* stress-dup: add branch hints, minor optimization on info struct layout
* stress-copy-file: minor optimization repeated verify flag check
* stress-context: optimize: remove padding, optimize bogo-checks
* stress-close: add branch hints, add one more open type, replace %
with &
* stress-pipe: use EPIPE for stressor termination, remove need for
pipe stop token
* stress-pipe: verify just first 32 bits in buffer, add in more
optimizations
* core-helper: fix stress_rndbuf to fill entire buff
* stress-switch: use register for active fd, saves a load each loop
* stress-ng.h: add likely hints to keep_stressing()
* stress-switch: add branch hints
* stress-ng: move counter and flag into structure close to each other
* stress-ng.h: align counter to cache boundary
* stress-exec: remove logging the status on failed exec
-- Benjamin Drung <email address hidden> Wed, 17 May 2023 18:45:53 +0200
-
stress-ng (0.15.07-1) unstable; urgency=medium
[Shoily Rahman]
* stress-rawpkt: use of rx ring to the rawpkt module
[Luis Chamberlain]
* stress-module: stress finit_module() and delete_module()
[Colin Ian King]
* Makefile: bump version
* stress-memthrash: check for negative return from
stress_numa_count_mem_nodes
* stress-memthrash: add some numa sanity checking
* stress-rawpkt: voidify blocknr if it is not being used
* stress-memthrash: reduce copy128 hunks by half, use correct end offset
* stress-memthrash: fix copy128 end offset
* Makefile: shorten run time of verify-test-all rule, remove kernel
log check
* core-klog: exit klog child process rather than return
* stress-timerfd: relax error message on timerfd creation w/o priv
* stress-timerfd: add missing space in failure message
* core-processes: don't use getpwuid for static builds
* stress-zero: remove alignment from register pointer, icc does not
support this idiom
* stress-full: remove alignment from register pointer, icc does not
support this idiom
* core-helper: use char * pointers to avoid auto increment on void * ptr
* stress-rawpkt: add built time check for struct tpacket_req3
* core-shared-heap: use shim_strlcpy as some systems don't have strlcpy
* core-shared-heap: use strlcpy rather than strcpy as it is safer
* stress-zlib: cast mmap'd memory to stress_zlib_shared_checksums_t *
* stress-module: only declare helper functions if they are required
* stress-module: voidify unused function args
* stress-msync: fix missing pointer constifications
* stress-ng.h: re-work unconstify macro
* core-resources: cast 0 for pthread to pthread_t
* stress-memcpy: replace references to b with str2/str3
* stress-tmpfs: don't assume page size is 4K, fixes PPC64 failure
* stress-pthread: check for head being null
* stress-malloc: avoid calloc allocatiob being less than a uintptr_t
* stress-malloc: avoid zero sized callocs when performing len / n
where len < n
* core-helper: reduce scope of variable prev_flag
* test/test-finit-module: ensure test is compilable
* stress-wcs: reduce scope of variable t
* stress-vdso: remove redudant shadowed declaration of pointer vdso_sym
* stress-set: make bad_groups const
* stress-sem-sysv: only declare variable nsems when required
* stress-rawpkt: declare lable close_fd only when required
* stress-seek: reduce scope of variable t
* stress-sctp: make char array patterns const
* stress-qsort: add ( ) to remove cppcheck precedence style warning
* stress-malloc: remove shadow'd variable declaration ret
* stress-mmap: rename shadow'd variable index with flag_perms_index,
remove % operator
* stress-ipsec-mb: only declare sz where it is required
* stress-l1cache: fix incorrect cache size calculation
* stress-revio: replace expensive % with compare and reset
* stress-hdd: replace expensive % with compare and reset
* stress-clone: replace expensive % with compare and reset
* stress-affinity: check args counter as well as keep_stressing_affinity
* stress-module: reduce scope of variable p and make it const
* stress-module: use sscanf with specified size limit
* stress-tmpfs: round file size to nearest 4K to avoid residual data
in page
* stress-sigfpe: declare variable verify only when required
* core-resource: remove debug
* stress-tmp: remove short life hint on tmpfs files to restore default
data longevity state
* stress-sem-sysv: use different key from core-resources sem keys
* stress-resources: use the number of resources allocated to free
* stress-switch: voidify semctl return
* stress-bind-mount: make clone failure with EPERM a resource exit
return
* stress-sem-sysv: terminate children with SIGALRM and not SIGKILL
* core-shared-heap: print shared heap stats if STRESS_SHARED_HEAP_DEBUG
is defined
* stress-lockbus: replace asm volatile with __asm__ __volatile__
* core-asm-x86.h: replace asm volatile with __asm__ __volatile__
* stress-itimer: add missing itimer-freq help information
* stress-memcpy: exercise copying on smaller chunks to allow larger
CPU scaling
* core-log: ensure log file data is flushed hard
* stress-ng: munge stressor name to replace _ with -
* stress-rawpkg: memset tp to clear up static analysis warnings and
#ifdef PACKET_RX_RING
* stress-rawpkt: fix leak of file descriptor on error exit paths
* stress-ng: provide passed/failed/skipped summary at end of run
* stress-watchdog: remove incorrect CLASS_VM classification
* Makefile: add verify-test-all make rule for test verification
* stress-prctl: add missing ; for PR_SET_MEMORY_MERGE prctl
* Revert "core-mwc.c: enable 64 bit multiply mwc, it is faster on 64
bit systems"
* stress-wcs: replace '_' with '~' in string patterns
* stress-numa: minor optimizations
* core-mmap: clean up build warnings for HAVE_ASM_X86_REP_STOSQ path
* stress-bigheap: add const bools for global mask'd options
* core-mwc.c: enable 64 bit multiply mwc, it is faster on 64 bit systems
* core-mwc: group mcw data together, also add 64 bit multiply version
(not enabled)
* README.md: add Shoily Rahman to contributors list
* Manual: add rawpkt-txring option to manual
* stress-rawpkt: ensure int type is saved as rawpkt-rxring
* stress-poll: fix missing free of rnd_fds_index array
* stress-zero: perform metrics less frequently
* stress-x86syscall: use filtered array of funcs to improve call rate
* stress-wcs: optimize random string filling, perform metrics less
frequently
* stress-vm-splice: add branch hints, add alignment, perform metrics
less frequently
* stress-vm-rw: add O3 optimizations on parent and child
* stress-vm-rw: add branch hints, add alignment on used data structs
* stress-vdso: remove inc_counter from vdso loop, removes counter
overhead
* stress-utime: add branch hints and measure metrics less frequently
* stress-usersyscall: add branch hints and O3 optimization level
* stress-udp-flood: add some branch hints
* stress-udp: optimize send/recv, remove need for % operator
* stress-tree: add two minor branch hints
* stress-touch: rename main touch loop function
* stress-timerfd: add some branch hints
* stress-timer: add branch hints, some alignments and O3
* stress-tee: add branch hints and measure metrics less frequently
* stress-sysinfo: add some branch hinting
* stress-switch: use mmap'd page aligned pipe buffers, align sysv
messages
* stress-splice: reduce frequency of metrics measurement, add branch
hints, align buffers
* stress-sparsematrix: explicitly inline value_map
* stress-sockpair: optimize using branch hints and some data alignments
* stress-sockmany: add some branch hints
* stress-sockfd: optimize using branch hints and some data alignments
* stress-sockdiag: optimize using branch hints and some data alignments
* stress-skiplist: use -O3 and add branch hints
* stress-sigrt: optimization on memsets and add branch hints
* stress-sigpending: add branch hints, align data structures
* stress-signest: add some branch hint optimizations
* stress-signal: minor optimizations
* stress-sigio: use mmap'd read/write buffers, add branch hints
* stress-sigfpe: minor optimizations, biggest win is removing % operator
* stress-sigfd: add branch hints, some alignments and reduce memcpy
overhead
* stress-shm: minor optimization tweaks, very small gains
* stress-sendfile: reduce metrics measurements frequency
* stress-sem-sysv: add alignment and branch hint optimizations
* stress-seek: reduce frequency of metrics measurement, add branch
hints, align buffers
* some minor optimizations to increase seek throughput
* stress-seal: add some branch hints
* stress-sctp: minor branch hint optimizations and remove expensive %
operators
* stress-schedpolicy: minor branch optimization hints
* stress-malloc: add SIGSEGV handler in child
* stress-ring-pipe: add some minor branch hint optimizations
* stress-revio: add branch hints
* stress-remap: optimize random shuffle and add branch hits, align
array order
* stress-readahead: optimize offset generation
* stress-rawudp: add branch hint and O3 optimization
* stress-rawsock: add branch hint and O3 optimization
* stress-rawpkt: add branch hint and O3 optimization
* stress-sem: add some more branch hinting
* stress-ng: fix spelling mistake "geometic" -> "geometric"
* stress-pagemove: move stress_pagemove_remap_fail to inside #ifdef hunk
* stress-pty: add some optimization hints
* stress-ptrace: add some optimization hints
* stress-pthread: minor optimization hints
* stress-poll: make buffer a uint16_t, halves payload, increases poll
calls
* stress-poll: pre-shuffle/randomize poll fds, remove random overhead
per write
* stress-pipeherd: add branch hints
* stress-ping-sock: minor branch and port wrap optimizations
* stress-personality: align an array, add branch hints
* stress-pagemove: only measure mremap calls every 1000 calls, add
branch hints
* stress-mmap: page align various arrays, use more shuffling on index
* stress-zlib: remove blocking complexity by putting checksum in shared
memory
* stress-msg: move #endif to correct position with respect to code block
* core-shim: move module shim wrappers to below shim_enosys declaration
* stress-null: gather metrics every 100 null reads
* stress-netlink-task: minor optimization tweaks
* stress-nanosleep: use mwc32 and mask for power of two random values
* stress-inode-flags: voidify return from inc_counter_lock
* core-mwc: check if max is zero before attempting zero division
* stress-mutex: only measure mutex calls every 1000 calls, add branch
hints
* stress-msync: optimize page checking, check in 64 bit chunks
* stress-mremap: only measure remap calls every 500 calls
* stress-mq: minor optimization on mwc mod operation and switch ordering
* stress-mmapfixed: minor optimizations to
stress_mmapfixed_is_mapped_slow
* stress-mlock: measure mlock/mlock2 duration every 1000 calls
* stress-mincore: add some branch hinting
* stress-memfd: use 64 bit nt stores where possible
* stress-membarrier: reduce number of time calls, increases membarrier
rate
* stress-zlib: add more yield points to detect SIGALRM timeouts
* core-processes: add stress_dump_processes to dump stress-ng process
state
* stress-madvise: use stress_mwc64modn_maybe_pwr2 for size modulo
* core-mwc: add modulo mwc functions for max where max is probably a
power of 2
* stress-longjmp: sample metrics time less frequently
* stress-list: pass end of entries rather than number of entries
* stress-kcmp: minor optimizations, reduced main loop by 0.5%
according to perf
* stress-judy: minor optimizations, very slim improvement
* stress-inode-flags: add locked bogo-ops increment
* stress-hdd: optimize data buffer setting
* stress-fpunch: mmap buffers, alignment makes copying a little faster
* stress-full: make buffer mmap'd, add zero check optimizations
* stress-mmap: move stress_mmap_set_vma_name to core-helper, rename to
stress_set_vma_anon_name
* stress-zero: optimize stress_is_not_zero
* core-thrash: add kmemleak scans
* stress-*: use stress_file_rw_hint_short on temporary test files
* core-helper: add stress_file_rw_hint_short file hint
* stress-memfd: exercise memfd flags MFD_NOEXEC_SEAL and MFD_EXEC
* stress-prctl: fix missing }
* core-helper: add kernel samepage merging helper, use it when forking
hard
* stress-prctl: add new PR_* prctl options
* snapcraft: remove UNEXPECTED setting
* snapcraft: make libipsec-mb-dev depend on amd64 arch
* snapcraft: move to snap22, add missing libs and -lrt flag
* core-mmap: add prefetch in check loop
* stress-mcontend: add more stress for x86 with lfence after reads
* README.md: Add Luis Chamberlain to contributors list
* stress-module: rename options, add '-' following the no part
* core-shim: remove need for errno.h include, add definitions for
module handling
* stress-module: only fclose fp if file is opened
* stress-module: remove module-sharedfd, clean up fd opening
* stress-module: changes to conform to stress-ng coding style
* stress-module: clean up gcc-10.2.1 build issues
* core-mmap: fill memory with random 64 bit value
* core-mmap: optimize, use 64 bit load/stores, add x86 rep sto for
stores
* stress-sockpair: try to avoid OOMing when using --oom-avoid option
* stress-msg: split send/recv code into functions, improve optimizations
* stress-sem: more even use of sem_wait, sem_trywait, sem_timedwait
and add metrics
* stress-sem: add branch hints and O3 optimization
* stress-sock: optimizations, move to -O3 on client/server + branch
hints
* stress-pipe: terminate run when read from pipe is zero bytes
* README.md: Add another citation
* core-helper: don't report failure on prctl PR_SET_NO_NEW_PRIVS with
errno EINVAL
* stress-pipe: add handler to stop stressor on SIGPIPE
* stress-switch: add handler to stop stressor on SIGPIPE
* stress-af-alg: remove check for HAVE_LIB_IPSEC_MB
* stress-eventfd: add branch hints
* core-help: minor branch hints on system_read and system_write
* stress-epoll: add branch hints
* stress-dup: add branch hints, minor optimization on info struct layout
* stress-copy-file: minor optimization repeated verify flag check
* stress-context: optimize: remove padding, optimize bogo-checks
* stress-close: add branch hints, add one more open type, replace %
with &
* stress-pipe: use EPIPE for stressor termination, remove need for
pipe stop token
* stress-pipe: verify just first 32 bits in buffer, add in more
optimizations
* core-helper: fix stress_rndbuf to fill entire buff
* stress-switch: use register for active fd, saves a load each loop
* stress-ng.h: add likely hints to keep_stressing()
* stress-switch: add branch hints
* stress-ng: move counter and flag into structure close to each other
* stress-ng.h: align counter to cache boundary
* stress-exec: remove logging the status on failed exec
-- Colin Ian King <email address hidden> Thu, 13 Apr 2023 16:52:11 +0100
-
stress-ng (0.15.06-2) unstable; urgency=medium
* Fix random buffer filling issue
- 0001-core-helper-fix-stress_rndbuf-to-fill-entire-buff.patch
* Re-enable af-alg stressor if ipsec-mb is not available
- 0002-stress-af-alg-remove-check-for-HAVE_LIB_IPSEC_MB.patch
-- Colin Ian King <email address hidden> Mon, 20 Mar 2023 09:43:11 +0000