Re: how to speed up mock?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 3, 2011 at 14:17, Harald Hoyer <harald.hoyer@xxxxxxxxx> wrote:
> 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.

may be some kind of docs for mock config would be useful for everyone...


-- 
  Levente                               "Si vis pacem para bellum!"
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux