HOWTO reduce time of build ?
Dominic Fandrey
kamikaze at bsdforen.de
Wed Sep 15 08:40:45 EDT 2010
On 13/09/2010 21:45, Ion-Mihai Tetcu wrote:
> On Mon, 13 Sep 2010 13:51:13 -0400
> Joe Marcus Clarke <marcus at freebsd.org> wrote:
>
>> On 9/13/10 12:49 PM, Dan Angelescu wrote:
>>> Hi,
>>>
>>> I have installed Tinderbox 3.3.
>>> How can i reduce time for building packages ? I own a quad core CPU.
>>> I must use more BUILDS ( jail + ports ) in parallel or exist
>>> something like make -j ? Thanks for a great tool.
>>
>> You can use multiple parallel builds, but the -j does not work. You
>> can also make use of tmpfs as backing store to decrease I/O time.
>> Other users (like itetcu) may be able to offer some more insight.
>
> Yeh, we've been speaking a bit on private about what he wants to do.
> Generally I/O is more important that CPU cycles; and building in
> parallel with hit the I/O limits sooner that the CPU (YMMV).
In my short experience I/O is not much of an issue when using async
mounts, I can greatly increase throughput by running several tinderd
instances.
Unfortunately I mustn't queue more than one job per build in this case.
I was thinking of hacking tinderd to deal with locked builds more
gracefully (i.e. not marking a queue entry failed) and fix the rc.d
script to manage multiple tinderd instances.
Regards
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
More information about the tinderbox-list
mailing list