![]() To spwan 4 workers spinning on sqrt(), 2 workers spwaning on sync(), 2 workers on malloc()/free(), with a time out of 20 seconds and allocate a memory of 256MB per vm worker, run this command below. Stress: info: dispatching hogs: 0 cpu, 0 io, 1 vm, 0 hdd To spwan one worker of malloc() and free() functions with a timeout of 60 seconds, run the following command. Stress: dbug: using backoff sleep of 3000us Stress: dbug: using backoff sleep of 6000us Stress: dbug: using backoff sleep of 9000us Stress: dbug: using backoff sleep of 12000us Stress: dbug: using backoff sleep of 15000us Stress: dbug: using backoff sleep of 18000us Stress: dbug: using backoff sleep of 21000us ~ $ uptime ~ $ sudo stress -cpu 8 -timeout 20 ~ $ uptime Sample Output ~ $ uptimeġ7:20:00 up 7:51, 2 users, load average: 1.91, 2.16, 1.93 forked After running stress, again run the uptime command and compare the load average. Next, run the stress command to spawn 8 workers spinning on sqrt() with a timeout of 20 seconds. To examine effect of the command every time you run it, first run the uptime command and note down the load average.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |