CentOS: Increase CPU load on all 56 cores simultaneously to >90%
Hi All
I am using CentOS 7. I am trying to increase load as part of cpu load testing. however seems that whenever i do that it uses few cores only. Please help what is the best way to increase load on all CPU cores simultaneously. Whats the command and how to see (top). Thanks Kj |
If you have 56 cores:
Code:
for i in {1..56} top is indeed a nice tool to view CPU load. You can also use vmstat or sar. |
Moderator Response
Moved: This thread is more suitable in <CentOS> and has been moved accordingly to help your thread/question get the exposure it deserves.
|
Sometime ago, I've used utility called "stress"...
https://www.cyberciti.biz/faq/stress...ith-stress-ng/ |
The funny thing is that on Linux CPU "load" doesn't really seem to be a good measure of performance like it was on UNIX. On UNIX if I had a load greater than 1 on all my CPUs performance was degraded. If it ever got to 2 UNIX would seem almost to have stopped. On Linux however I've seen incredible load values (e.g. 32) without having complaints about performance. It is only when "busy" goes to more than 95% (and idle to less than 5%) that I see Linux systems having obvious performance issues.
Due to that I've been wanting another way to determine CPU utilization for monitoring. Since "busy" and "idle" are point in time rather than cumulative over time like load (5, 10 and 15 minutes) there doesn't seem to be an easy way to capture this. I'd have to script something that got values and average them but even that sounds kludgey. |
Be careful what you wish for @MensaWater ... :p
Have a read of this for more than you ever wanted to know. I've been following Brendan for years - good stuff. |
Quote:
Now the OP wants raw CPU usage, so that load average is not a good metric here. |
Quote:
|
Quote:
|
Sorry if I'm reading this wrong but to "load up" my CPU for cooling testing and the like I find that Prime95 in the shape of mprime will do a pretty good job.
|
All times are GMT -5. The time now is 04:51 AM. |