HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Allocating CPU to application

 
maint141
Occasional Advisor

Allocating CPU to application

Hi,

Wanted to know in Multi core machine running multiple applications , how to allocate the CPU cores to specific applications.

Thanks in advance.

Regards

Varian
7 REPLIES
njia_1
Trusted Contributor

Re: Allocating CPU to application

Hi Varian

Are you asking the commands that manually assigns a CPU core to a specific application ?

I never heard such a thing all I know is that you can use nice command to alter the priority
S.N.S
Valued Contributor

Re: Allocating CPU to application

Are You hinting at Virtualization?

http://h71028.www7.hp.com/enterprise/w1/en/technologies/virtualization-overview.html

It's the happening technology; and best to make maximum use of Systems Resources

HTH
SNS
"Genius is 1% inspiration, 99% Perspiration" - Edison

Re: Allocating CPU to application

Whole cores or precentages of cores?

Either way, the tool you are looking for is probably Process Resource Manager (PRM):

http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911854/c01911854.pdf

Us the PRM fair-share-scheduler (FSS) to allocate percentages of CPU to a set of processes, or PRM Processor Sets (PSETs) to allocate whole CPU cores to a set of processes.

HTH

Duncan

HTH

Duncan
njia_1
Trusted Contributor

Re: Allocating CPU to application

good to know
maint141
Occasional Advisor

Re: Allocating CPU to application

HI All,

Thanks for your replies.
Also wanted to confirm , we can monitor the processor utilization using commands like top, prstat etc & then chnage the processor allocation as per demand.
Is that correct understanding?

Also is it possible to do it in Solaris OS also ?

Regards

Varian

Re: Allocating CPU to application

Look at the various pset_*(2) man pages:
pset_bind(2), etc. psrset(1M)
Pulse001
Regular Advisor

Re: Allocating CPU to application

Hi main141,

On solaris you would achieve this using rpoold (resource pooling). You will be using Fair share scheduler as the default scheduler. It works very well across Solaris zones / containers also.