Sign inSign up

swapnillinux/stresstest

By swapnillinux

•Updated over 7 years ago

Alpine based container to do CPU and Memory stress test

Image
0

260

swapnillinux/stresstest repository overview

⁠This container uses stress utility to do a CPU and Memory stress test for 600 seconds by default

⁠Environment Varialbles

⁠CPU

spawn N workers spinning on sqrt() (Default is 2)

⁠VM

malloc B bytes per vm worker (default is 128M)

⁠TIMEOUT

timeout after N seconds (default is 600s)

⁠Example

Run this stress test with 8 worker threads, 256MB virtual memory and for 300 seconds

docker run -e CPU=8 -e VM=256M -e TIMEOUT=300s swapnillinux/stresstest

Tag summary

Content type

Image

Digest

Size

3.2 MB

Last updated

over 7 years ago

docker pull swapnillinux/stresstest