how to speed up mock

Farkas Levente lfarkas at lfarkas.org
Thu Jun 14 14:26:36 UTC 2012


On 05/30/2012 10:48 AM, Paul Howarth wrote:
> Are you using the tmpfs plugin? That improves things significantly if
> you can spare the RAM. Here's the mock config options I use:
>
> config_opts['plugin_conf']['tmpfs_enable'] = True
> config_opts['plugin_conf']['tmpfs_opts']['required_ram_mb'] = 4096
> config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '2048m'

could you or someone explain me what does the:
- required_ram_mb
- max_fs_size
means?

and what these value mean if i run two mock build with different 
configuration file? ie the above values are mock global or mock instant 
local values?

thanks in advance.
regards.


-- 
   Levente                               "Si vis pacem para bellum!"


More information about the buildsys mailing list