[mdlug] OT: Solaris 10 Priority Scheduling

Aaron Kulkis akulkis00 at gmail.com
Mon Jun 7 11:43:47 EDT 2010


David Lane wrote:
> so with 24 cores can you set a side say 4 cores for a few server tasks?
> 

yes.

http://developers.sun.com/solaris/articles/solaris_processor.html
indicates to create a "processor set" using the parset command.

I think if you bind your benchmark process to a SINGLE core,
that you will get the fast speed again, because you won't
endure the overhead of the process being [wastefully in this
case] migrated from core to core to core to core ....


> ________________________________
> From: Aaron Kulkis <akulkis00 at gmail.com>
> To: MDLUG's Main discussion list <mdlug at mdlug.org>
> Sent: Mon, June 7, 2010 11:30:47 AM
> Subject: Re: [mdlug] OT: Solaris 10 Priority Scheduling
> 
> Aaron Kulkis wrote:
>> David Lane wrote:
>>> Yes there the other CPU's are idle. Yet we cant get the system to give 
>>> a process more CPU resources, when nothing else is happening on the 
>>> system.
>>>
>> My bet is that the process is being migrated from core to core.
>>
>> Solaris has a command to bind a process to one core, although it's
>> been too long since I used Solaris to remember exactly what command
>> that is.
>>
>> To find that command, try these:
>>
>> man -k cpu
>> man -k core
>> man -k bind
>>
> 
> 
> It appears to be the command "pbind"
> 
> <http://www.google.com/search?q=solaris+bind+process+cpu+OR+core&start=0&start=0&ie=utf-8&oe=utf-8&client=mozilla&rls=org.mozilla:en-US:unofficial>
> 
> 
>>> David C. Lane
>>>
>>> ________________________________
>>> From: Aaron Kulkis <akulkis00 at gmail.com>
>>> To: MDLUG's Main discussion list <mdlug at mdlug.org>
>>> Sent: Mon, June 7, 2010 11:01:21 AM
>>> Subject: Re: [mdlug] OT: Solaris 10 Priority Scheduling
>>>
>>> David Lane wrote:
>>>> Hi,
>>>>
>>>> We are facing a challenging issue.
>>>>
>>>> We have performance issueson a multi CPU server. Our benchmark (sum 
>>>> of square-roots 1 - 1,000,000) runs 20 sec on a a multi cpu system. 
>>>> Yet it runs less than a sec on a single CPU system and on my desktop.
>>>> When we found this we started to explore scheduling priorities.
>>>>
>>>> If a process is running slow and needs to run faster on Solaris, what 
>>>> are odd options to tweek performance?
>>>>   Where are SYS 60-99 processes assigned ?
>>>>
>>>> David C. Lane
>>> I assume that this is on a system with ample CPU idle time
>>> and the I/O channels are not saturated?
> 




More information about the mdlug mailing list