반응형

cpuburn을 이용하면 되었다.

설치는 

sudo apt-get install cpuburn

필자는 8개의 코어(물리4/HT적용 8개)를 이용 중 이기 때문에 아래와 같이 8개의 데몬을 실행했다.

burnP6 & burnP6 & burnP6 & burnP6 & burnP6 & burnP6 & burnP6 & burnP6 &

종료는

killall burnP6






출처 : http://superuser.com/questions/443406/how-can-i-produce-high-cpu-load-on-a-linux-server

I usually take the cpuburn suite:

sudo apt-get install cpuburn
for i in {1..4}; do burnK7 & done

Replace 4 with the number of cores / HT-threads you have or want to stress.

Note: This stresses as much chip area as possible at the same time, it's programmed to generate maximum power dissipation. I had to write this post a second time, somehow my machine didn't like it :-(

You could also do cpuburn in sequences:

burnP6 & burnP6 & burnP6 & burnP6 & 
[1] 28520
[2] 28521
[3] 28522
[4] 28523

And when you want to stop them:

killall burnP6

You could also multiply burnP6 & to match the number of CPU cores on your system.





http://superuser.com/questions/443406/how-can-i-produce-high-cpu-load-on-a-linux-server

+ Recent posts