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: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii) Subject: Re: Slow 'ar' with big archives Date: 1999/10/26 Message-ID: <7v4h6q$12me$1@nserve1.acs.ucalgary.ca>#1/1 X-Deja-AN: 540799542 References: <38156243.530D82FB@wb.utwente.nl> X-Complaints-To: news@ucalgary.ca X-Trace: nserve1.acs.ucalgary.ca 940951578 35534 136.159.34.221 (26 Oct 1999 15:26:18 GMT) Organization: University of Calgary NNTP-Posting-Date: 26 Oct 1999 15:26:18 GMT Newsgroups: comp.unix.osf.misc 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/