[SunHELP] CPU usage for Process

Adrian Florea adrian.florea at alcatel.ro
Fri Oct 17 00:50:59 CDT 2003


hi,

if fact you can do something (but after checks already mentioned) ... 
maybe to try to make a processor set  (on two processors may be not help 
much) an run the process on this set.

Try 'man psrset'.

br,
Adrian.


Jim Pennino wrote:
> On Fri, Oct 17, 2003 at 10:00:01AM +0530, Nitin Gizare wrote:
> 
>>HI
>> 
>>I have Solaris 2.8 with 2 CPU, One of the process is taking only 49 % of
>>the cpu it is  not crossing this value.
>>Only one process is active , Let me know how to increase % cpu usage for
>>a process so that it can run fast.
>>Top  o/p for reference.
>>10608 guest  4  59  -20  391M  390M cpu1   23.2H 49.51% wroute
>> 
>>Rgds
>>Nitin
> 
> 
> Look at the top line of top. Is there any idle cpu? If so, the process
> is probably using all the cpu it can.
> 
> Is the machine running out of physical memory or is this process waiting on
> IO (disk or network)?
> 
> Can you, if not already done, recompile with more optimization?
> 
> If the process was not written to take advantage of multiple cpus, the
> fact that you have 2 cpus isn't going to matter much.



More information about the SunHELP mailing list