From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,1580305fc5def523 X-Google-Attributes: gidf678f,public From: Nico van Vliet Subject: Re: Slow 'ar' with big archives Date: 1999/10/27 Message-ID: <3816C3EE.9F959320@wb.utwente.nl>#1/1 X-Deja-AN: 541126572 Content-Transfer-Encoding: 7bit References: <38156243.530D82FB@wb.utwente.nl> <7v4h6q$12me$1@nserve1.acs.ucalgary.ca> X-Accept-Language: en X-Server-Date: 27 Oct 1999 09:22:07 GMT Content-Type: text/plain; charset=us-ascii Organization: University of Twente, Enschede, The Netherlands Mime-Version: 1.0 Newsgroups: comp.unix.osf.misc Ok, thank you for the info. My workaround for the moment has been to install GNU's 'binutils' which contains a fast 'ar'. But I 'll certainly have a look at the ubc. I have 512 Mb installed, what should be enough (I think). Regards Nico van Vliet Serguei Patchkovskii wrote: > 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/