1834918 Members
2278 Online
110071 Solutions
New Discussion

Re: Multi Processor OS

 
Varian
Occasional Contributor

Multi Processor OS

Hi,

We have dual processor Server with HP-UX 11i Installed; It shows processor P0 Active & Processor P1 is Idel .

Can some body will let us know how to activate the second Processor in already installed OS.

Thanks & Regards

Varian Crasto
7 REPLIES 7
Tim Adamson_1
Honored Contributor

Re: Multi Processor OS

What output shows the processors in that state?

Do you have iCOD installed?


Tim.
Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.
Sridhar Bhaskarla
Honored Contributor

Re: Multi Processor OS

Hi,

It could be misleading if there is no activity on the system. If you have multi-threaded processes, then both the CPUs will be shown as active. Single threaded process will occupy an entire cpu but switch between the CPUs depending on the load.

Is your processor p0 100% active?

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Varian
Occasional Contributor

Re: Multi Processor OS

While machine is booting it shows two processors one is active & the other one is idel.

Yes my single cpu goes upto 100% utilization, I have check it with sar -u command.

Thnaks & Regards

Varian Crasto.
James Murtagh
Honored Contributor

Re: Multi Processor OS

Hi,

While the server is booting only the monarch cpu is active until a certain point - called the rendezvous. This is implemented when the kernel enters its main() function.

For sar you need to use the -M option to view the status of all the processor, i.e.

# sar -M 1 1

You can check the processors on the system using :

# ioscan -fnCprocessor

Cheers,

James.
Steven E. Protter
Exalted Contributor

Re: Multi Processor OS

At boot time, you will see a message indicating one processor is idle. That may very well be true at boot.

After boot, the OS is multi processor enabled right out of the box.

If you don't have anything running on your system, and you check with glance or top, you will see no load factor on one of the cpu's.

I suggest you use the script I'm attaching and measure performance for an hour. During that hour you should do something on the system like run X-Windows or install software that requires the CPU's to do something.

You will see both CPU's working away quite happily.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tim Adamson_1
Honored Contributor

Re: Multi Processor OS

Have to agree with James. Once the system is up, use sar -M and determine if both processors are being used. Alternatively, use glance if you have it installed.


Tim
Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.
Varian
Occasional Contributor

Re: Multi Processor OS

Thanks a lot
sar -M works give me the reqiured out put.

Regrads

Varian Crasto