Hi, Thanks a lot for your responses. I would like to have a scheduling module which understands my requirements in scheduling my LWPs. Say my system has a lot of LWPs other than those of my software. In that case there may be a case that different instances of my software bound to different LWP are attached to the same core. If those instances are attached to different cores, there is a likely improvement in the performance. Thus the scheduling I require is a way of attaching the LWPs of different instances to different cores.
Thanks Priya -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 9:11 PM To: [EMAIL PROTECTED] Cc: Vamsee Priya; [email protected] Subject: Re: [osol-discuss] Scheduling algorithm [EMAIL PROTECTED] wrote: > >> I have a query about scheduling in multi core systems. The user level >> threads are mapped to LWP in Solaris and those LWPs are scheduled by the >> OS. >> >> Is there any flexibility for the user to write some module and plug into >> the kernel so that he can schedule all the LWPs (to which his threads >> are attached) as per his requirement? >> >> >> >> The requirement we have is to improve the performance of our multi >> threaded software by making/forcing the threads run across multiple >> cores. >> > > > You can write your own scheduling class but the first question I have is: > why does the user expect it to perform better than the standard scheduling > classes? (Currently all the user can do is pick a different standard > scheduling class or bind threads to specific CPUs (i.e., processor thread > of execution) > Also, why do you think the threads are not already running across multiple cores? max _______________________________________________ opensolaris-discuss mailing list [email protected]
