It's not quite random, but the manager has a collection of executors that it knows about. It just iterates through that list and sends out threads.
Currently, the following file is responsible for the scheduling: http://alchemi.svn.sourceforge.net/viewvc/alchemi/trunk/alchemi-devel/src/Alchemi.Manager/DefaultScheduler.cs?revision=287&view=markup However, you can implement your own scheduler if you choose to, specifically if you want to send threads to only a subset of all executors available. On Wed, Jul 2, 2008 at 11:04 AM, andrew fiade <[EMAIL PROTECTED]> wrote: > thanks you for your answer, now i am understand, how will manager to > manage job to give to executor. > > it means manager don't choose executor base on lower cpu load time each > executor > > but distribute GThread to each executor!. > > if a job want to running with only 2 executor, but executor available have > 5 executor. > > how will manager will be choose 2 executor ! > > can be static or random, i means, manager have decided > example cpuA will be no 1 > cpuB no 2 > cpuC no 3 > cpu4 no 4 > cpu 5 no 5 > > or random cpu > > > --- Pada *Rab, 2/7/08, Jonathan Mitchem <[EMAIL PROTECTED]>* menulis: > > Dari: Jonathan Mitchem <[EMAIL PROTECTED]> > Topik: Re: [Alchemi-developers] schedule in alchemi > Kepada: [EMAIL PROTECTED] > Cc: [email protected] > Tanggal: Rabu, 2 Juli, 2008, 9:37 PM > > > I'm sorry, I actually don't understand what you mean. > > Right now, an executor only executes one GThread at a time. When that > GThread is complete, the manager gives it another GThread to execute. > > Thus, the faster machines will end up executing more GThreads than the > slower machines over the same period of time. > > Does that help at all? > > > Jonathan > > On Wed, Jul 2, 2008 at 6:13 AM, andrew fiade <[EMAIL PROTECTED]> > wrote: > >> hai all, >> >> i want to question! >> >> is it alchemi have schedule to run a job! >> it seem, how to choose executor with load cpu small than another >> executor ! >> may be executor have 5 executor, when manager want to run job, manager >> only want to run >> 3 executor, how will be manager to decide 3 executor in there 5 executor >> >> >> i hope, you guys will be understand, what i means >> >> >> >> >> >> >> ___________________________________________________________________________ >> Dapatkan alamat Email baru Anda! >> Dapatkan nama yang selalu Anda inginkan sebelum diambil orang lain! >> http://mail.promotions.yahoo.com/newdomains/id/ >> ------------------------------------------------------------------------- >> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >> Studies have shown that voting for your favorite open source project, >> along with a healthy diet, reduces your potential for chronic lameness >> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >> _______________________________________________ >> Alchemi-developers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/alchemi-developers >> > > > ------------------------------ > Yahoo! sekarang memiliki alamat Email baru > <http://sg.rd.yahoo.com/id/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/id/> > Dapatkan nama yang selalu Anda inginkan di domain baru @ymail dan > @rocketmail. br> Cepat sebelum diambil orang lain! > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Alchemi-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alchemi-developers
