Skip to content

nmeyerhans/docker-stress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Stress

This is a simple wrapper around the stress synthetic system workload generator. I've found it occasionally useful when testing system behavior under load, for example when tuning Docker container resource limits.

By default, a single CPU worker runs forever. Parameters can be overridden via the following environment variables, which should be self explanatory based on the stress docs, or by passing stress command line options directly on the 'docker run' invocation.

  • TIMEOUT
  • HDD_THREADS
  • HDD_BYTES
  • IO_THREADS
  • CPU_THREADS
  • VM_THREADS
  • VM_BYTES
  • VM_STRIDE
  • VM_HANG
  • VM_KEEP

Images can be pulled from Docker Hub at nmeyerhans/stress

About

Run the "stress" workload generator in a container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published