Mailinglist Archive: opensuse-buildservice (245 mails)

< Previous Next >
Re: [opensuse-buildservice] Dispatcher optimization
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Mon, 4 Oct 2010 15:00:15 +0200
  • Message-id: <20101004130015.GB15212@xxxxxxx>
On Mon, Oct 04, 2010 at 01:37:08PM +0100, Anas Nashif wrote:
Having the dispatcher as the topic, what exactly is the


variable and how can it be configured in BSConfig?

Ours looks like this:

our $dispatch_adjust = [
'openSUSE:Tools' => +10,
'openSUSE:Factory' => +10,
'openSUSE:11.1' => +5,
'openSUSE:11.2' => +5,
'openSUSE:11.3' => +5,
'zypp:' => +5,
'YaST:' => +5,
'home:' => -5,
'Ports:' => -10,

Syntax is:

project_repository_arch_regexp => adjust

The regexp is anchored on the left. Adjust is the priority
adjustmant in decibel, i.e. 10 means "build me ten times as
often". All entries in dispatch_adjust are matched, if there
are multiple matches the adjustments get summed. (Thus the
order of the dispatch_adjust entries does not matter.)

Note there is also the "$jobsdir/dispatchprios" file, which
can be read/written by the source server through
The XML looks like:

<prio project="ppp" repository="xxx" arch="yyy" adjust="num" />

project/repository/arch are optional attributes. They don't support
regexp/globbing, only exact string matching.

Coolo uses this to adjust the priorities so that projects that
are downloaded often get a higher priority.


Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups