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