* Slow 'ar' with big archives
@ 1999-10-26 4:00 Nico van Vliet
1999-10-26 4:00 ` Serguei Patchkovskii
0 siblings, 1 reply; 3+ messages in thread
From: Nico van Vliet @ 1999-10-26 4:00 UTC (permalink / raw)
Hello everybody,
I 'am running True64 UNIX version 4.0f on Alphaserver DS20.
Recently we have started to use a makefile that builds our program by
compiling the source files
one by one and adding them to an archive one by one.
The problem that we encountered is that as the archive gets bigger then,
say ,4 Mb the 'ar' command
slows down, and at 8 Mb it grinds almost to a halt ( As a matter of fact
a 500 MHz Pentium running
Linux outperforms the DS20 for this reason in building our program ).
Do you have the same experience with the 'ar' command? Or better still,
do you know a solution?
Regards,
Nico van Vliet
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Slow 'ar' with big archives
1999-10-26 4:00 Slow 'ar' with big archives Nico van Vliet
@ 1999-10-26 4:00 ` Serguei Patchkovskii
1999-10-27 4:00 ` Nico van Vliet
0 siblings, 1 reply; 3+ messages in thread
From: Serguei Patchkovskii @ 1999-10-26 4:00 UTC (permalink / raw)
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Slow 'ar' with big archives
1999-10-26 4:00 ` Serguei Patchkovskii
@ 1999-10-27 4:00 ` Nico van Vliet
0 siblings, 0 replies; 3+ messages in thread
From: Nico van Vliet @ 1999-10-27 4:00 UTC (permalink / raw)
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-10-27 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-26 4:00 Slow 'ar' with big archives Nico van Vliet
1999-10-26 4:00 ` Serguei Patchkovskii
1999-10-27 4:00 ` Nico van Vliet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox