Re: how to speed up mock?

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

 



On Mon, Jan 18, 2010 at 17:30, Ville Skyttä <ville.skytta@xxxxxx> wrote:
> On Monday 18 January 2010, Seth Vidal wrote:
>> On Mon, 18 Jan 2010, 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!
>>
>> the tar  and gzip are mostly  BUILDING the cache.
>
> I've been using lzop as the root cache compressor, it makes a difference over
> gzip here, especially when compressing the cache, but somewhat also when
> decompressing it.  Add this to /etc/mock/site-defaults.cfg to try it out:
>
> config_opts['plugin_conf']['root_cache_opts']['compress_program'] = 'lzop'
> config_opts['plugin_conf']['root_cache_opts']['extension'] = '.lzo'
>
> For boxes with multiple cores, pigz (and maybe even pbzip2) might be worth
> looking into.  I haven't tried these myself.

why we compress at all? disk space is cheep. can we speed up mock to
somehow totally disable compressing root_cache? it used the case but
store and restore in an uncompressed way?
thanks.

-- 
  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