On Mon, 18 Jan 2010 15:38:56 +0100 Farkas Levente <lfarkas@xxxxxxxxxxx> wrote: > hi, > we use mock for local package build, but it's very slow. now we install > a new host just for mock with 8core, ram disks etc. it seems it still > slow. first of all most of the time mock use only one 1 core of the cpu. > is there any way to speed up different part of the mock build process? > thanks in advance. If you're seeing long times setting up chroots, make sure you're not disabling the root-caching logic. Once it creates a chroot and tars it up, setup times go from minutes to seconds. If package build times are your problem, you may want to modify the make command used by the specfiles. Mock just does what the specfile says to do (i.e. it just does an rpmbuild), so you might want to add a '-j16' to the make command line to tell make to manage 16 parallel builds. Clark
Attachment:
signature.asc
Description: PGP signature
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel