Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: [PATCH] autocache patch for mock: msg#00065

linux.redhat.fedora.buildsystem

Subject: Re: [PATCH] autocache patch for mock

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>
Google Custom Search

Recently Viewed:
user-groups.jax...    php.zend.framew...    os.solaris.open...    web.quixote.use...    java.openjdk.ho...    ietf.secmech/20...    gnu.glpk/2004-0...    recreation.cars...    network.smokepi...    linux.drivers.i...    cms.opencms.dev...    fonts.gfontview...    text.xml.soap.u...    voip.nist-sip/2...    debian.ports.hp...    xfree86.interna...    science.biology...    qnx.openqnx.dev...    mail.sylpheed.c...    busybox/bios/20...    emulators.kvm.s...    hardware.openco...    apple.fink.begi...    kde.german/2006...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation