buildcapacity - # of builders

Mike Bonnet mikeb at redhat.com
Fri Feb 26 15:02:30 UTC 2010


On 02/26/2010 08:03 AM, Jeroen van Meeuwen wrote:
> On 02/26/2010 01:02 PM, Jeroen van Meeuwen wrote:
>> On 02/26/2010 12:43 PM, Doug Reiland wrote:
>>> Does it make any sense of run more one builder on a system or do you
>>> just control via host.capacity in the database?
>>>  
>>
>> You don't want more then one builder per node. You may want multiple
>> nodes on one hardware box through virtualization, but each node would
>> still only have one koji-builder.
>>
>> You control the amount of labour the host can/may/will do through
>> host.capacity in the psql database, as well as the maxjobs setting in
>> /etc/kojid/kojid.conf (maximum 5 parallel jobs by default).
>>
> 
> Also note that new tasks won't be taken up by the koji-builder if the
> load average of the node is 8.00 or greater (I don't recall having
> modified that setting ever before).

The heuristic is actually load > 4 * (# of processors).  It's sort of a
last-resort test so if some rogue process is running amok on a machine,
kojid there doesn't try to take tasks.


More information about the buildsys mailing list