1832573 Members
6356 Online
110043 Solutions
New Discussion

Re: 6 cpu's loaded

 
brian_31
Super Advisor

6 cpu's loaded

Hi All

We ran some load test(11.0) for an xmotif application and we have good memory(20 gig) but it shows for about 170 users all the 6 cpu's are full. All users log from the pc thru xemulator. The memory footprint seemed to be OK. Kernel timeslice is set to 10. The OS is 64 bit but the apps are 32 bit. May be the application needs to look into the code again, but is there anything i can tune from my side OR advise the app to do so that the cpu is not hogged? Please Advise.

Thanks
brian.
9 REPLIES 9
Paula J Frazer-Campbell
Honored Contributor

Re: 6 cpu's loaded

Brian

you need to look at many aspects of your server to ascertain as to why your loading is high.

There are many good threads on this topic :-
Search on load high.


Starters are;-

Top
Glance
EMS
swapinfo
sar

HTH

Paula



If you can spell SysAdmin then you is one - anon
Bill McNAMARA_1
Honored Contributor

Re: 6 cpu's loaded

A lan upgrade always helps remote x.. especially when those screensavers and screen lock kick in.

Later,
Bill
It works for me (tm)
Stefan Farrelly
Honored Contributor

Re: 6 cpu's loaded


X applications are notoriously heavy on CPU by nature. There has been reports of overheads on 11.0 servers running 64bit with 32bit apps, an increase in load/reduction in peformance of anywhere from 5% upwards. We experienced more than that on one particular server with an inhouse written 32bit app. When we moved it to an 11/32bit server it sped up nicely.

Theres not going to be much you can to reduce your CPU load except try it on an 11/32bit server if you can - to compare, or indeed look into the code, or upgrade your CPU's. Weve just upgraded some of our servers from 440 to 550mhz cpu's to get that extra 25%+ throughput for particularly heavy cpu apps. I would think it possible to optimise your code to reduce cpu usage but you would get more out of trying it on an 11/32 bit server or upgrading the cpu's.
Im from Palmerston North, New Zealand, but somehow ended up in London...
harry d brown jr
Honored Contributor

Re: 6 cpu's loaded

Brian,

what is the load average during your test? With 170 users using X-emulators they are going to produce some lan traffic.

How are they logging in and how many processes per user are you seeing?

live free or die
harry
Live Free or Die
brian_31
Super Advisor

Re: 6 cpu's loaded

Hi:

Thanks for all the answers. I did not see the load average(w command) but each users have 11 processes. They are logging thru PC via Xemulator. As we run Nclass we are commited to 64 bit and we can go to 32 bit.Any thoughts??

Thanks
brian.
harry d brown jr
Honored Contributor

Re: 6 cpu's loaded

Brian,

170 users * 11 processes = 1870

(1870 + 100 system processes) / 6 cpu's ~= 328 processes per CPU.

Quite a few! You could throw two more cpu's at it. Or the best thing is to determine what processes can be eliminated.

live free or die
harry
Live Free or Die
Sandip Ghosh
Honored Contributor

Re: 6 cpu's loaded

According to your statement your server has 20 GB RAM
6 CPU
64 bit OS
32 bit Application.

By any chance, is your application is based on oracle? If that is the case, you are not utilsing your memory beyond 4 GB. Implement memory windows on the Server. Then it should run fast.

Otherwise you can consider of upgrading the cpu to the higher speed.

Sandip

Good Luck!!!
brian_31
Super Advisor

Re: 6 cpu's loaded

Hi:

I am not running oracle. Can anyone explain how enabling the memory windows would help a 32 bit appln. running in 64 bit OS with respect to CPU?

Thanks
brian.
Sandip Ghosh
Honored Contributor

Re: 6 cpu's loaded

You can have a look at this link for memory windows.

http://docs.hp.com/hpux/onlinedocs/os/memwn1_4.pdf

Sandip
Good Luck!!!