Operating System - HP-UX
1753606 Members
6156 Online
108797 Solutions
New Discussion юеВ

Limit CPU Usage Per Process

 
Md. Minhaz Khan
Super Advisor

Limit CPU Usage Per Process

Dear All,
In HP-UX we can limit memory usage per process by the kernel parameters maxdsiz_64bit,maxdsiz.

My query is how can we limit CPU usage per process in HP-UX??

Thanks
Minhaz
7 REPLIES 7
Johnson Punniyalingam
Honored Contributor

Re: Limit CPU Usage Per Process

Check below thread, Comment from >>Bill<<
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=577509

Are you facing any "High Cpu" usage ??
Problems are common to all, but attitude makes the difference
Md. Minhaz Khan
Super Advisor

Re: Limit CPU Usage Per Process

Yes i have found high CPU usage. From the "top" command output i have found IDLE column is 0 (Zero) and Some oracle process eating above 30% CPU. This server is used as a "Data Werehouse" & lots of DML like insert,select, update query runs in this server.



Note: Our server model is RP4400 & it contains two dual core processor.

Thanks
Minhaz
Dennis Handly
Acclaimed Contributor

Re: Limit CPU Usage Per Process

>Some oracle process eating above 30% CPU.

You need more CPUs if you want to keep the same load on your system.
What do you think you'll achieve by limiting CPU usage per process?

Have you looked into PRM or WLM?
Johnson Punniyalingam
Honored Contributor

Re: Limit CPU Usage Per Process

>>Some oracle process eating above 30% CPU. This server is used as a "Data Werehouse" & lots of DML like insert,select, update query runs in this server.<<<

Ok, well if lot of "query" run in the server.
you can check with "DBA Admin" why ?? does it cause eating above 30% cpu.

Does you "Kernal Settings" as per Oracle recommedations ?/

Problems are common to all, but attitude makes the difference
WayneHP
Frequent Advisor

Re: Limit CPU Usage Per Process

What are your oracle processing wait on?

Use glance.
Bill Hassell
Honored Contributor

Re: Limit CPU Usage Per Process

> Yes i have found high CPU usage. From the "top" command output i have found IDLE column is 0 (Zero) and Some oracle process eating above 30% CPU. This server is used as a "Data Werehouse" & lots of DML like insert,select, update query runs in this server.

0% idle means that you aren't wasting any CPU cycles. If there were a way to limit the CPU cycles then Oracle will definitely run much slower. Is this what you wanted?


Bill Hassell, sysadmin
Md. Minhaz Khan
Super Advisor

Re: Limit CPU Usage Per Process

Thanks everybody to give me valuable suggestion.Now we decide to increase our CPU.

Thanks
Minhaz