Mailinglist Archive: opensuse-buildservice (219 mails)

< Previous Next >
Re: [opensuse-buildservice] Scheduler logic
  • From: Dirk Stoecker <opensuse@xxxxxxxxxxxx>
  • Date: Tue, 26 Feb 2008 17:05:32 +0100 (CET)
  • Message-id: <alpine.LNX.1.00.0802261659320.12228@xxxxxxxxxxxxxxxxx>
On Tue, 26 Feb 2008, Marcus Rueckert wrote:

On 2008-02-26 16:20:42 +0100, Dominique Leuenberger wrote:
I have an own OBS installation at home, running on a dual core (thus
having two workers) and sometimes I add the notebook for 'more power'
(one more worker). The PC starts 2x x86_64 workers and the notebook
starts one i586 worker.

Unfortunately, so it seems, the scheduler is not to nice behaving in
this case. Often I see packages evenly waiting for both platforms, but
the scheduler (or whatever task) feeds i586 packages to the x86_64
workers... thus having sooner no i586 packages left and keeping the
last worker idle...

It would be better in this case if the i586 would get the i586 tasks,
x86_64 the 64bit tasks and only when the 64bits are done, those 'help'
the i586 pile up..

Can this be achieved somehow? Like always building the 'highest
architecture' available first?

and in our setup it would lead to x86_64 is done but i586 waits for
ages. the obs uses x86_64 buildhosts mainly.

Count the x86_64 hosts, count the i586 hosts. Now count the number of packages waiting.

With these 4 it should be pretty easy to assign the jobs. Goal should be that both queues have the same number of packages to do.

Essentially if I think about it, you only need the number of packages to do. Feed i586 to x86_64 if numtodo_i586 > numtodo_x86_64 else feed x86_84 to x86_64.

How is it currently done?

-- (PGP key available)
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >