[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-code
Subject:    Re: [osol-code] processor_bind
From:       Ian Collins <ian () ianshome ! com>
Date:       2009-04-16 7:47:52
Message-ID: 49E6E2A8.8010306 () ianshome ! com
[Download RAW message or body]

PRDEEP KUMAR wrote:
> Hi Experts,
>
>  I have a doubt about the processor_bind() call.
>
>  If the scheduler is much intelligent to schedule the threads on 
> different cpus,why we have processor_bind call
> Please let me How advantageous is this call than the intelligent 
> scheduler ? i.e where this is used most?
>
It may not be common, but I use processor_bind() to ensure software 
being tested on Solaris but destined for a single core system behaves 
correctly.

Software specifically designed for single core systems can behave in 
unpredictable ways on a multi-core system.

-- 
Ian.

_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic