how to speed up mock?

Till Maas opensource at till.name
Mon Jan 18 18:35:31 UTC 2010


On Mon, Jan 18, 2010 at 04:05:05PM +0100, Farkas Levente wrote:

> the real bottleneck is not the rpmbuild itself (with ccache it cab be 
> very fast), but the mock surroundings. suppose there is build which 
> takes about 2 minutes and in mock it takes about 5 minutes:-(
> most of the time is in yum, python tar, gzip etc which all use only one 
> cpu/core and it's very slow!

This is very bad performance, on my 2.5GHZ Athlon dual core with 4 GB
RAM a very simple src.rpm (pyhunspell-0.1-2.fc12.src.rpm) rebuilds in 18
seconds with tmpfs plugin enabled.

Another bottleneck could be the connection to your Fedora mirror.

Regards
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20100118/f8309d55/attachment-0001.bin 


More information about the devel mailing list