1753746 Members
4679 Online
108799 Solutions
New Discussion юеВ

Re: Push CPU

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

Push CPU

Hi All,

I have a new system, 16 cpu's.
Is there a simple scipt I can run that will push all the CPUS at the same time? When all 16 cpu's are running at the same time, are they really? or are they interleaving between or pausing waiting for I/O from time to time? I've always been not sure about this.
Is there a good test to run that will prove that all 16 are truly running at the same time and none are waiting?

I know gzip will grab an entire processor, can we do something like that?
UNIX IS GOOD
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: Push CPU

Hi:

You could use this:

# perl -e 'fork; fork; fork; fork; 1 while {}' #...creates 16 processes...

Regards!

...JRF...
Ganesan R
Honored Contributor

Re: Push CPU

Hi,

Why do you want to push all 16 CPU's when there is no load at all?

If there is a load, obviously all the CPU's are going to be utilised.

If you want to assign specifc job's to specific processor, need to go for products like PRM(Processor resource manager)
Best wishes,

Ganesh.
T G Manikandan
Honored Contributor

Re: Push CPU

as pointed, you need to read about process resource manager.