|
|
Choosing A Webhost: |
Re: [PATCH] autocache patch for mock: msg#00065linux.redhat.fedora.buildsystem
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 summary: this saves me 30 seconds per build; the time goes from 2:40 to 2:10 when building a basic package (perl-Expect) which has only one dependency outside of base. These timings are stable and run cache-warm. 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 onboard SiI 3114 controller. The machine is otherwise idle. It has sufficient memory to cache pretty much everything involved in the build process. Things are mostly IO bound on this machine, except for unpacking the cached buildroot which is completely CPU bound. I think that switching to gzip might help. Of course, building the cache takes some time; bzip is just incredibly slow. Time for a build after deleting the cache file is 5:43. Again, gzip would probably help; bzip2 is just so slow. I noticed one issue: tar is traversing proc. I thought I saw a patch where it was called with -l (--one-file-system) which would prevent this: tar: root/proc/acpi/event: Cannot open: Device or resource busy tar: root/proc/irq/11: file changed as we read it tar: root/proc/irq: file changed as we read it tar: root/proc/sys/dev/scsi: file changed as we read it tar: root/proc/sys/dev: file changed as we read it tar: root/proc/sys/net/ipv6/neigh/default: file changed as we read it tar: root/proc/sys/net/ipv6/neigh: file changed as we read it - J<
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [PATCH] autocache patch for mock, Michael_E_Brown |
|---|---|
| Next by Date: | Re: [PATCH] autocache patch for mock, Michael E Brown |
| Previous by Thread: | [PATCH] autocache patch for mock, Michael_E_Brown |
| Next by Thread: | Re: [PATCH] autocache patch for mock, Michael E Brown |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |