how to speed up mock?

Harald Hoyer harald.hoyer at gmail.com
Sun Apr 3 12:17:57 UTC 2011


Am 03.04.11 13:17, schrieb Remi Collet:
> Le 03/04/2011 12:31, Farkas Levente a écrit :
> 
>>>>> 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:-(
> 
> I use for a while a full /dev/shm mock configuration which is really
> fast (minimum overhead of ~10"), read:
> 
> http://blog.famillecollet.com/post/2011/01/11/new-builder-new-mock-configuration
> 
> Of course I need a big /dev/shm (6Gio here)
> 
> Remi.

config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc14x/"

Oh.. /dev/shm is the wrong place here, I think... Should better be /tmp
with a tmpfs mounted on.


More information about the devel mailing list