Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii)
Subject: Re: Slow 'ar' with big archives
Date: 1999/10/26	[thread overview]
Message-ID: <7v4h6q$12me$1@nserve1.acs.ucalgary.ca> (raw)
In-Reply-To: 38156243.530D82FB@wb.utwente.nl

Nico van Vliet (N.vanVliet@wb.utwente.nl) wrote:
: Do you have the same experience with the 'ar' command? Or better still,
: do you know a solution?

Yes, and maybe. It looks like ar uses a whole bunch of small I/O
requests to read in the original archive and then to write out
a new copy of it, with the new file(s) added. This works fine 
as long as the unified buffer cache is large enough to hold both 
copies, but suffers horribly when it isn't.

Two possible solutions: the first one is to install more memory
and/or tune up the ubc size (see the system configuration and
tuning guide); the second solution is to rewrite your makefiles
to add as much files to the archive as you can in a single go.

Cheers,

/Serge.P

--
home page: http://www.cobalt.chem.ucalgary.ca/ps/



  reply	other threads:[~1999-10-26  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-26  4:00 Slow 'ar' with big archives Nico van Vliet
1999-10-26  4:00 ` Serguei Patchkovskii [this message]
1999-10-27  4:00   ` Nico van Vliet
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox