From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 25377 invoked from network); 10 Apr 1998 09:24:07 -0000 Received: from d16.dialin.tuwien.ac.at (HELO klapauzius.ceci.at) (128.131.35.116) by mail2.redhat.com with SMTP; 10 Apr 1998 09:24:07 -0000 Received: from localhost (e9025461@localhost) by klapauzius.ceci.at (8.8.7/8.8.7) with SMTP id KAA00962 for ; Fri, 10 Apr 1998 10:17:23 +0200 X-Authentication-Warning: klapauzius.ceci.at: e9025461 owned process doing -bs Date: Fri, 10 Apr 1998 10:17:23 +0200 (CEST) From: Christian Czezatke X-Sender: e9025461@klapauzius.ceci.at To: axp-list@redhat.com Subject: Re: slow extracting an archive on Redhat5.0 In-Reply-To: <352D5CE9.C001A3EE@iwcc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi! On Thu, 9 Apr 1998, Pablo A. Godel wrote: > Engelhard wrote: > > > Does anyone know why extracting an archive on redhat 5.0 > > is too slow? > > It takes about 9 minutes just to complete command: > > tar xvzf linux-2.0.30.tar.gz -C /dir > > On redhat 4.2 (on the same machine, as1000a) it does extract > > under 10 seconds. > > It happens the same to me in an Intel box. I've noticed the same problem on RHL 5.0 on intel as well as on Alpha: When extracting an archive, "tar" would pause for a few seconds every now and then thus slowing down archive extraction to a crawl. Using "strace" I found out that this delay is due to "tar" trying to talk to a local portmap daemon. I didn't have a portmapper installed on the box, so the delay was caused by "tar" waiting for a "select" timeout. I solved the problem by installing the portmap package. When the portmapper is running, "tar" doesn't have to wait for these "select" timeouts. I don't know whether any recent glibc update from Redhat's errata page solves that problem. -- But the question remaining is why does "tar" try to talk to the portmapper in the first place? ;-) So try to install a portmapper on the local machine and hope that the problem goes away... ;-) hope this helps Christian -- -------------------------------------------------------------------- | Christian Czezatke, Student of Computer Science at the Vienna | | University Of Technology. | |------------------------------------------------------------------| | email: e9025461@student.tuwien.ac.at | --------------------------------------------------------------------