[PATCH] autocache patch for mock

2006-05-16 Thread Michael_E_Brown
Title: [PATCH] autocache patch for mock     Here is what I would consider to be a patch ready to check-in to implement automatic caching of the mock buildroot. This feature is disabled by default but can be turned on by the "--autocache" cli option or the "use_cache"

Re: [PATCH] autocache patch for mock

2006-05-16 Thread Jason L Tibbitts III
OK, since I do a bunch of builds I just had to try this out. It took me a while to get building again after moving from mock 0.4 to 0.5; I'm still not sure where the buildsys-build package is supposed to come from, so I just built the spec I found in mock CVS and stuck it in my local repo. Basic

Re: [PATCH] autocache patch for mock

2006-05-16 Thread Michael E Brown
Thanks for the feedback! On Tue, 2006-05-16 at 22:06 -0500, Jason L Tibbitts III wrote: > OK, since I do a bunch of builds I just had to try this out. It took > me a while to get building again after moving from mock 0.4 to 0.5; > I'm still not sure where the buildsys-build package is supposed to

Re: [PATCH] autocache patch for mock -- try 2

2006-05-16 Thread Michael E Brown
On Tue, 2006-05-16 at 22:18 -0500, Michael E Brown wrote: > On Tue, 2006-05-16 at 22:06 -0500, Jason L Tibbitts III wrote: > > > > I'm building on a dual core quad socket Opteron 880 (2.4GHz) machine > > with 16GB of RAM; disk is a plain throwaway 250GB Western Digital > > connected via SATA to an

Re: [PATCH] autocache patch for mock -- try 2

2006-05-16 Thread Michael E Brown
Attached are timings from various runs with bzip2, gzip, and no compression. Summary: gzip kicks butt. Mr Tibbitts was correct. Attached is a diff to change the default to gzip. :) Here is a summary (warm cache): No caching: real1m36.247s build bz2 cache:real4

Re: [PATCH] autocache patch for mock -- try 2

2006-05-17 Thread Jason L Tibbitts III
With this and the "gzip by default" patch my build times are down by another 40 seconds (to 1:30, repeatably). Time to build the cache is down by 2:32 to 3:20. I'll certainly be running this from now on. - J< -- Fedora-buildsys-list mailing list Fedora-buildsys-list@redhat.com https://www.redh