This is a mirror of the upstream project at http://kernel.ubuntu.com/git/cking/stress-ng.git/ - stress-ng will stress test a computer system in various selectable ways. It was designed to exercise various physical subsystems of a computer as well as the various operating system kernel interfaces.
C Roff Other
Latest commit 76145a5 Jan 8, 2018 @ColinIanKing ColinIanKing stress-vm: remove a duplicated check addr == ptr
The check for addr == ptr is duplicated, so remove the one of
the redundant checks

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Permalink
Failed to load latest commit information.
debian Debian: update changelog Jan 4, 2018
example-jobs example-jobs/device.job: Add dev stressor May 18, 2017
mascot Add mascot svg Dec 24, 2014
snapcraft snapcraft: remove icon and update snapcraft yaml Apr 25, 2017
test Update copyright year Jan 5, 2018
COPYING Add COPYING file Mar 28, 2014
Makefile Update copyright year Jan 5, 2018
Makefile.config Update copyright year Jan 5, 2018
README README: update, add OS X instructions and add clean rule Nov 7, 2017
README.Android Update README.Android Nov 2, 2017
TODO Update TODO list Sep 7, 2017
affinity.c Update copyright year Jan 5, 2018
cache.c Update copyright year Jan 5, 2018
config Makefile: save and re-load configuration Feb 16, 2017
helper.c Update copyright year Jan 5, 2018
ignite-cpu.c Update copyright year Jan 5, 2018
io-priority.c Update copyright year Jan 5, 2018
job.c Update copyright year Jan 5, 2018
limit.c Update copyright year Jan 5, 2018
log.c Update copyright year Jan 5, 2018
madvise.c Update copyright year Jan 5, 2018
mincore.c Update copyright year Jan 5, 2018
mlock.c Update copyright year Jan 5, 2018
mmap.c Update copyright year Jan 5, 2018
mounts.c Update copyright year Jan 5, 2018
mwc.c Update copyright year Jan 5, 2018
net.c Update copyright year Jan 5, 2018
out-of-memory.c Update copyright year Jan 5, 2018
parse-opts.c Update copyright year Jan 5, 2018
perf-event.c Update copyright year Jan 5, 2018
perf.c Update copyright year Jan 5, 2018
personality.c Update copyright year Jan 5, 2018
sched.c Update copyright year Jan 5, 2018
setting.c Update copyright year Jan 5, 2018
shim.c Update copyright year Jan 5, 2018
smatchify.sh Update copyright year Jan 5, 2018
stress-af-alg.c Update copyright year Jan 5, 2018
stress-affinity.c Update copyright year Jan 5, 2018
stress-aio-linux.c Update copyright year Jan 5, 2018
stress-aio.c Update copyright year Jan 5, 2018
stress-apparmor.c Update copyright year Jan 5, 2018
stress-atomic.c Update copyright year Jan 5, 2018
stress-bigheap.c Update copyright year Jan 5, 2018
stress-bind-mount.c Update copyright year Jan 5, 2018
stress-branch.c Update copyright year Jan 5, 2018
stress-brk.c Update copyright year Jan 5, 2018
stress-bsearch.c Update copyright year Jan 5, 2018
stress-cache.c Update copyright year Jan 5, 2018
stress-cap.c Update copyright year Jan 5, 2018
stress-chdir.c Update copyright year Jan 5, 2018
stress-chmod.c Update copyright year Jan 5, 2018
stress-chown.c Update copyright year Jan 5, 2018
stress-chroot.c Update copyright year Jan 5, 2018
stress-clock.c Update copyright year Jan 5, 2018
stress-clone.c Update copyright year Jan 5, 2018
stress-context.c Update copyright year Jan 5, 2018
stress-copy-file.c Update copyright year Jan 5, 2018
stress-cpu-online.c Update copyright year Jan 5, 2018
stress-cpu.c Update copyright year Jan 5, 2018
stress-crypt.c Update copyright year Jan 5, 2018
stress-cyclic.c Update copyright year Jan 5, 2018
stress-daemon.c Update copyright year Jan 5, 2018
stress-dccp.c Update copyright year Jan 5, 2018
stress-dentry.c Update copyright year Jan 5, 2018
stress-dev.c Update copyright year Jan 5, 2018
stress-dir.c Update copyright year Jan 5, 2018
stress-dirdeep.c Update copyright year Jan 5, 2018
stress-dnotify.c Update copyright year Jan 5, 2018
stress-dup.c Update copyright year Jan 5, 2018
stress-epoll.c Update copyright year Jan 5, 2018
stress-eventfd.c Update copyright year Jan 5, 2018
stress-exec.c Update copyright year Jan 5, 2018
stress-fallocate.c Update copyright year Jan 5, 2018
stress-fanotify.c Update copyright year Jan 5, 2018
stress-fault.c Update copyright year Jan 5, 2018
stress-fcntl.c stress-fcntl.c: fix syntax errors Jan 8, 2018
stress-fiemap.c Update copyright year Jan 5, 2018
stress-fifo.c Update copyright year Jan 5, 2018
stress-filename.c stress-filename: compare to zero rather than <= 0 Jan 8, 2018
stress-flock.c Update copyright year Jan 5, 2018
stress-fork.c Update copyright year Jan 5, 2018
stress-fp-error.c Update copyright year Jan 5, 2018
stress-fstat.c Update copyright year Jan 5, 2018
stress-full.c Update copyright year Jan 5, 2018
stress-funccall.c Update copyright year Jan 5, 2018
stress-futex.c Update copyright year Jan 5, 2018
stress-get.c Update copyright year Jan 5, 2018
stress-getdent.c Update copyright year Jan 5, 2018
stress-getrandom.c Update copyright year Jan 5, 2018
stress-handle.c Update copyright year Jan 5, 2018
stress-hdd.c Update copyright year Jan 5, 2018
stress-heapsort.c Update copyright year Jan 5, 2018
stress-hrtimers.c Update copyright year Jan 5, 2018
stress-hsearch.c Update copyright year Jan 5, 2018
stress-icache.c Update copyright year Jan 5, 2018
stress-icmp-flood.c Update copyright year Jan 5, 2018
stress-inode-flags.c Update copyright year Jan 5, 2018
stress-inotify.c Update copyright year Jan 5, 2018
stress-iomix.c Update copyright year Jan 5, 2018
stress-ioport.c Update copyright year Jan 5, 2018
stress-ioprio.c Update copyright year Jan 5, 2018
stress-iosync.c Update copyright year Jan 5, 2018
stress-itimer.c Update copyright year Jan 5, 2018
stress-kcmp.c Update copyright year Jan 5, 2018
stress-key.c Update copyright year Jan 5, 2018
stress-kill.c Update copyright year Jan 5, 2018
stress-klog.c Update copyright year Jan 5, 2018
stress-lease.c Update copyright year Jan 5, 2018
stress-link.c Update copyright year Jan 5, 2018
stress-locka.c Update copyright year Jan 5, 2018
stress-lockbus.c Update copyright year Jan 5, 2018
stress-lockf.c Update copyright year Jan 5, 2018
stress-lockofd.c Update copyright year Jan 5, 2018
stress-longjmp.c Update copyright year Jan 5, 2018
stress-lsearch.c Update copyright year Jan 5, 2018
stress-madvise.c Update copyright year Jan 5, 2018
stress-malloc.c Update copyright year Jan 5, 2018
stress-matrix.c Update copyright year Jan 5, 2018
stress-membarrier.c Update copyright year Jan 5, 2018
stress-memcpy.c Update copyright year Jan 5, 2018
stress-memfd.c Update copyright year Jan 5, 2018
stress-memrate.c Update copyright year Jan 5, 2018
stress-memthrash.c Update copyright year Jan 5, 2018
stress-mergesort.c Update copyright year Jan 5, 2018
stress-mincore.c Update copyright year Jan 5, 2018
stress-mknod.c Update copyright year Jan 5, 2018
stress-mlock.c Update copyright year Jan 5, 2018
stress-mmap.c Update copyright year Jan 5, 2018
stress-mmapaddr.c Update copyright year Jan 5, 2018
stress-mmapfork.c Update copyright year Jan 5, 2018
stress-mmapmany.c Update copyright year Jan 5, 2018
stress-mq.c Update copyright year Jan 5, 2018
stress-mremap.c Update copyright year Jan 5, 2018
stress-msg.c Update copyright year Jan 5, 2018
stress-msync.c Update copyright year Jan 5, 2018
stress-netdev.c Update copyright year Jan 5, 2018
stress-netlink-proc.c Update copyright year Jan 5, 2018
stress-ng.1 Update copyright year Jan 5, 2018
stress-ng.c Update copyright year Jan 5, 2018
stress-ng.h Update copyright year Jan 5, 2018
stress-nice.c Update copyright year Jan 5, 2018
stress-nop.c Update copyright year Jan 5, 2018
stress-null.c Update copyright year Jan 5, 2018
stress-numa.c Update copyright year Jan 5, 2018
stress-oom-pipe.c Update copyright year Jan 5, 2018
stress-opcode.c Update copyright year Jan 5, 2018
stress-open.c Update copyright year Jan 5, 2018
stress-personality.c Update copyright year Jan 5, 2018
stress-physpage.c Update copyright year Jan 5, 2018
stress-pipe.c Update copyright year Jan 5, 2018
stress-poll.c Update copyright year Jan 5, 2018
stress-procfs.c Update copyright year Jan 5, 2018
stress-pthread.c Update copyright year Jan 5, 2018
stress-ptrace.c Update copyright year Jan 5, 2018
stress-pty.c Update copyright year Jan 5, 2018
stress-qsort.c Update copyright year Jan 5, 2018
stress-quota.c Update copyright year Jan 5, 2018
stress-radixsort.c Update copyright year Jan 5, 2018
stress-rawdev.c Update copyright year Jan 5, 2018
stress-rdrand.c Update copyright year Jan 5, 2018
stress-readahead.c Update copyright year Jan 5, 2018
stress-remap-file-pages.c Update copyright year Jan 5, 2018
stress-rename.c Update copyright year Jan 5, 2018
stress-resources.c Update copyright year Jan 5, 2018
stress-rlimit.c Update copyright year Jan 5, 2018
stress-rmap.c Update copyright year Jan 5, 2018
stress-rtc.c Update copyright year Jan 5, 2018
stress-schedpolicy.c Update copyright year Jan 5, 2018
stress-sctp.c Update copyright year Jan 5, 2018
stress-seal.c Update copyright year Jan 5, 2018
stress-seccomp.c Update copyright year Jan 5, 2018
stress-seek.c Update copyright year Jan 5, 2018
stress-sem-sysv.c Update copyright year Jan 5, 2018
stress-sem.c Update copyright year Jan 5, 2018
stress-sendfile.c Update copyright year Jan 5, 2018
stress-shm-sysv.c Update copyright year Jan 5, 2018
stress-shm.c Update copyright year Jan 5, 2018
stress-sigfd.c Update copyright year Jan 5, 2018
stress-sigfpe.c Update copyright year Jan 5, 2018
stress-sigpending.c Update copyright year Jan 5, 2018
stress-sigq.c Update copyright year Jan 5, 2018
stress-sigsegv.c Update copyright year Jan 5, 2018
stress-sigsuspend.c Update copyright year Jan 5, 2018
stress-sleep.c Update copyright year Jan 5, 2018
stress-socket-diag.c Update copyright year Jan 5, 2018
stress-socket-fd.c Update copyright year Jan 5, 2018
stress-socket.c Update copyright year Jan 5, 2018
stress-socketpair.c Update copyright year Jan 5, 2018
stress-softlockup.c Update copyright year Jan 5, 2018
stress-spawn.c Update copyright year Jan 5, 2018
stress-splice.c Update copyright year Jan 5, 2018
stress-stack.c Update copyright year Jan 5, 2018
stress-stackmmap.c Update copyright year Jan 5, 2018
stress-str.c Update copyright year Jan 5, 2018
stress-stream.c Update copyright year Jan 5, 2018
stress-swap.c Update copyright year Jan 5, 2018
stress-switch.c Update copyright year Jan 5, 2018
stress-sync-file.c Update copyright year Jan 5, 2018
stress-sysfs.c Update copyright year Jan 5, 2018
stress-sysinfo.c Update copyright year Jan 5, 2018
stress-tee.c Update copyright year Jan 5, 2018
stress-timer.c Update copyright year Jan 5, 2018
stress-timerfd.c Update copyright year Jan 5, 2018
stress-tlb-shootdown.c Update copyright year Jan 5, 2018
stress-tmpfs.c Update copyright year Jan 5, 2018
stress-tree.c Update copyright year Jan 5, 2018
stress-tsc.c Update copyright year Jan 5, 2018
stress-tsearch.c Update copyright year Jan 5, 2018
stress-udp-flood.c Update copyright year Jan 5, 2018
stress-udp.c Update copyright year Jan 5, 2018
stress-unshare.c Update copyright year Jan 5, 2018
stress-urandom.c Update copyright year Jan 5, 2018
stress-userfaultfd.c Update copyright year Jan 5, 2018
stress-utime.c Update copyright year Jan 5, 2018
stress-vecmath.c Update copyright year Jan 5, 2018
stress-version.h Update copyright year Jan 5, 2018
stress-vforkmany.c Update copyright year Jan 5, 2018
stress-vm-rw.c Update copyright year Jan 5, 2018
stress-vm-splice.c Update copyright year Jan 5, 2018
stress-vm.c stress-vm: remove a duplicated check addr == ptr Jan 8, 2018
stress-wait.c Update copyright year Jan 5, 2018
stress-wcstr.c Update copyright year Jan 5, 2018
stress-xattr.c Update copyright year Jan 5, 2018
stress-yield.c Update copyright year Jan 5, 2018
stress-zero.c Update copyright year Jan 5, 2018
stress-zlib.c Update copyright year Jan 5, 2018
stress-zombie.c Update copyright year Jan 5, 2018
syscalls.txt syscalls.txt: update Sep 12, 2017
thermal-zone.c Update copyright year Jan 5, 2018
thrash.c Update copyright year Jan 5, 2018
time.c Update copyright year Jan 5, 2018
usr.bin.pulseaudio.eg Update Makefile to autogenerate AppArmor binary blob Dec 15, 2015

README

stress-ng

stress-ng will stress test a computer system in various selectable ways. It
was designed to exercise various physical subsystems of a computer as well as
the various operating system kernel interfaces. Stress-ng features:

  * over 180 stress tests
  * over 50 CPU specific stress tests that exercise floating point, integer,
    bit manipulation and control flow
  * over 20 virtual memory stress tests

stress-ng was originally intended to make a machine work hard and trip hardware
issues such as thermal overruns as well as operating system bugs that only
occur when a system is being thrashed hard. Use stress-ng with caution as some
of the tests can make a system run hot on poorly designed hardware and also can
cause excessive system thrashing which may be difficult to stop.

stress-ng can also measure test throughput rates; this can be useful to observe
performance changes across different operating system releases or types of
hardware. However, it has never been intended to be used as a precise benchmark
test suite, so do NOT use it in this manner.

Running stress-ng with root privileges will adjust out of memory settings on
Linux systems to make the stressors unkillable in low memory situations, so use
this judiciously. With the appropriate privilege, stress-ng can allow the ionice
class and ionice levels to be adjusted, again, this should be used with care.

To build, the following libraries will ensure a fully functional stress-ng
build:

  * libaio-dev
  * libapparmor-dev
  * libattr1-dev
  * libbsd-dev
  * libcap-dev
  * libgcrypt11-dev
  * libkeyutils-dev
  * libsctp-dev
  * zlib1g-dev

NOTE: the build will try to detect build depedencies and will build an image with
functionality disabled if the support libraries are not installed.

To build on BSD systems, one requires gcc and GNU make:
        CC=gcc gmake clean
	CC=gcc gmake

To build on OS X systems, just use:
	make clean
	make

To build on MINIX, gmake and clang are required:
	CC=clang gmake clean
	CC=clang gmake 

To build on SunOS, one requires GCC and GNU make, build using:
	CC=gcc gmake clean
	CC=gcc gmake

To build a static image (example, for Android), use:
	make clean
	STATIC=1 make

To build with full warnings enabled:
	make clean
	PEDANTIC=1 make

For more information, see: http://kernel.ubuntu.com/~cking/stress-ng/