~canonical-kernel-team/+git/stress-ng:tip-testing

Last commit made on 2024-06-27
Get this branch:
git clone -b tip-testing https://git.launchpad.net/~canonical-kernel-team/+git/stress-ng
Members of Canonical Kernel Team can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
tip-testing
Repository:
lp:~canonical-kernel-team/+git/stress-ng

Recent commits

4c101dd... by Colin Ian King

stress-io-uring: reduce memory impact for smaller memory systems

Reduce iovec read/write number of blocks from 1024 to 4 at a time
to reduce mmap usage. Also open/close files on each round for more
file I/O meta date updates and improve buffer flushing on each round.
Remove direct I/O to use buffer cache. Remove D_SYNC to use buffer
cache more efficiently.

Signed-off-by: Colin Ian King <email address hidden>

9198eed... by Colin Ian King

stress-*: remove trailing whitespaces

Signed-off-by: Colin Ian King <email address hidden>

6e2787e... by Colin Ian King

Add --sync-start option

It's useful to be able to spawn stressor instances and wait until
they are in a ready-to-run state and then synchronously start them
all together in the run stressing state.

Add a new --sync-start option to allow this. This change adds
some helper functions that wait for the sync start by SIGSTOP'ing
the processes re-starting them using SIGCONT.

For stressors that spawn their own processes there are helpers
to mmap and unmap a shared memory stress_pid_t pids array and
to link the pids together, and to start them in a synchronous
manner using the list of pids.

Closes https://github.com/ColinIanKing/stress-ng/issues/397

Signed-off-by: Colin Ian King <email address hidden>

5afb941... by Po-Hsu Lin

stress-cache: check RISCV_HWPROBE_EXT_ZICBOZ support for stress_cache_bzero

RISCV_HWPROBE_EXT_ZICBOZ flag from kernel headers on RISC-V was only
added in 6.7, test build will fail with an older kernel with:
    error: ‘RISCV_HWPROBE_EXT_ZICBOZ’ undeclared

Check the flag first to fix this issue.

Fixes: f8654a05f4 ("stress-cache: add stress_cache_bzero() to support cache-based bzero")
Signed-off-by: Po-Hsu Lin <email address hidden>

6bde040... by Colin Ian King

README.md: add 4 more kernel issues found with stress-ng

Signed-off-by: Colin Ian King <email address hidden>

5be042a... by Colin Ian King

stress-min-nanosleep: report scheduler name

Useful to report this for test logging

Signed-off-by: Colin Ian King <email address hidden>

9992df1... by Colin Ian King

stress-cpu: minor code clean-ups

Signed-off-by: Colin Ian King <email address hidden>

40321d3... by Colin Ian King

README.md: update contributors name list

Signed-off-by: Colin Ian King <email address hidden>

874a0ef... by Daniel Andriesse <email address hidden>

stress-vecwide: fix verify option by setting results vector res

The verify option does not work because the result buffers in
vec_args are never set. Fix this.

Signed-off-by: Daniel Andriesse <email address hidden>
Signed-off-by: Colin Ian King <email address hidden>

a9f5bac... by Colin Ian King

stress-cpu: matrixprod: align matrices

Improves performance by ~7% on a i5-8350U.

Signed-off-by: Colin Ian King <email address hidden>