how to speed up mock?

Farkas Levente lfarkas at lfarkas.org
Sun Apr 3 14:16:47 UTC 2011


On Sun, Apr 3, 2011 at 16:01, Ville Skyttä <ville.skytta at iki.fi> wrote:
> On 04/03/2011 03:41 PM, Farkas Levente wrote:
>
>> 2011-04-03 14:34:19,471 - State Changed: cleaning yum metadata
>> 2011-04-03 14:34:29,492 - State Changed: running yum
>
> BTW 10 seconds for "cleaning yum metadata" sounds curious to me.  I just
> did a few builds and in all of those it was pretty much instant, about
> 0.04 seconds each time.

strange, two successive run gives this:
--------------------------------
2011-04-03 16:04:08,854 - Mock Version: 1.1.9
2011-04-03 16:04:08,855 - State Changed: unpacking root cache
2011-04-03 16:04:11,320 - State Changed: cleaning yum metadata
2011-04-03 16:04:11,335 - State Changed: running yum
2011-04-03 16:04:28,889 - State Changed: unlock buildroot
2011-04-03 16:04:28,934 - State Changed: setup
2011-04-03 16:04:36,125 - State Changed: build
Sun Apr  3 16:04:44 CEST 2011
--------------------------------
2011-04-03 16:05:17,255 - Mock Version: 1.1.9
2011-04-03 16:05:17,257 - State Changed: unpacking root cache
2011-04-03 16:05:19,760 - State Changed: cleaning yum metadata
2011-04-03 16:05:26,443 - State Changed: running yum
2011-04-03 16:05:35,512 - State Changed: unlock buildroot
2011-04-03 16:05:35,559 - State Changed: setup
2011-04-03 16:05:42,761 - State Changed: build
Sun Apr  3 16:05:51 CEST 2011
--------------------------------
what make it really strange is "cleaning yum metadata" + "running yum"
is about the same 16-17 sec which is one of the biggest time:-(


> --
> buildsys mailing list
> buildsys at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/buildsys
>



-- 
  Levente                               "Si vis pacem para bellum!"


More information about the buildsys mailing list