* slow extracting an archive on Redhat5.0
@ 1998-04-09 14:10 Engelhard
1998-04-09 15:52 ` Murray Stokely
` (3 more replies)
0 siblings, 4 replies; 12+ messages in thread
From: Engelhard @ 1998-04-09 14:10 UTC (permalink / raw)
To: axp-list
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.
thanks for any help
engel.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: slow extracting an archive on Redhat5.0
1998-04-09 14:10 Engelhard
@ 1998-04-09 15:52 ` Murray Stokely
1998-04-09 19:11 ` Hugo van der Kooij
` (2 subsequent siblings)
3 siblings, 0 replies; 12+ messages in thread
From: Murray Stokely @ 1998-04-09 15:52 UTC (permalink / raw)
To: Engelhard; +Cc: axp-list
On Thu, 9 Apr 1998, 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.
I ran into the same exact problem before someone on this list helped
me out. It does some kind of weird NIS lookup for each file or
something and the way to disable it is to edit your /etc/nsswitch.conf
and remove the NIS entries. Mine currently looks like this..
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# nisplus or nis+ Use NIS+ (NIS version 3)
# nis or yp Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# [NOTFOUND=return] Stop searching if not found so far
#
passwd: files
shadow: files
group: files
hosts: files dns
services: nisplus [NOTFOUND=return] files
networks: nisplus [NOTFOUND=return] files
protocols: nisplus [NOTFOUND=return] files
rpc: nisplus [NOTFOUND=return] files
ethers: nisplus [NOTFOUND=return] files
netmasks: nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
netgroup: nisplus
publickey: nisplus
automount: files nisplus
aliases: files nisplus
Murray Stokely
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: slow extracting an archive on Redhat5.0
1998-04-09 14:10 Engelhard
1998-04-09 15:52 ` Murray Stokely
@ 1998-04-09 19:11 ` Hugo van der Kooij
1998-04-10 13:00 ` Uncle George
1998-04-09 23:42 ` Pablo A. Godel
1998-04-14 8:31 ` Martin Ostermann
3 siblings, 1 reply; 12+ messages in thread
From: Hugo van der Kooij @ 1998-04-09 19:11 UTC (permalink / raw)
To: Engelhard; +Cc: axp-list
On Thu, 9 Apr 1998, 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.
Must be machine and installation specific. No problems here. But I have
alle updates installed.
Hugo.
+------------------------+------------------------------+
| Hugo van der Kooij | Hugo.van.der.Kooij@caiw.nl |
| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
| 3155 VJ Maasland | (De man met de rode hoed) |
+------------------------+------------------------------+
"Computers let you make more mistakes faster than any other invention in
human history, with the possible exception of handguns and tequila."
(Mitch Radcliffe)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: slow extracting an archive on Redhat5.0
1998-04-09 14:10 Engelhard
1998-04-09 15:52 ` Murray Stokely
1998-04-09 19:11 ` Hugo van der Kooij
@ 1998-04-09 23:42 ` Pablo A. Godel
1998-04-10 8:17 ` Christian Czezatke
1998-04-10 12:29 ` Anthony Rumble
1998-04-14 8:31 ` Martin Ostermann
3 siblings, 2 replies; 12+ messages in thread
From: Pablo A. Godel @ 1998-04-09 23:42 UTC (permalink / raw)
To: engel; +Cc: axp-list
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.
Regards,
Pablo Godel
--
-----------------------------------------------
The Internation Website Construction Co. (IWCC)
http://www.iwcc.com.ar
Miami - Sao Paulo - Buenos Aires - Lima
-----------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: slow extracting an archive on Redhat5.0
1998-04-09 23:42 ` Pablo A. Godel
@ 1998-04-10 8:17 ` Christian Czezatke
1998-04-10 12:28 ` Anthony Rumble
1998-04-10 12:29 ` Anthony Rumble
1 sibling, 1 reply; 12+ messages in thread
From: Christian Czezatke @ 1998-04-10 8:17 UTC (permalink / raw)
To: axp-list
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 |
--------------------------------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: slow extracting an archive on Redhat5.0
1998-04-10 8:17 ` Christian Czezatke
@ 1998-04-10 12:28 ` Anthony Rumble
0 siblings, 0 replies; 12+ messages in thread
From: Anthony Rumble @ 1998-04-10 12:28 UTC (permalink / raw)
To: axp-list; +Cc: e9025461
On Fri, 10 Apr 1998, Christian Czezatke wrote:
Install *ALL* the redhat errata from
ftp://ftp.redhat.com/pub/redhat/updates/5.0/alpha/
One of the updates fixes the "tar" problem
Anthony
> 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 |
> --------------------------------------------------------------------
>
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
---
Anthony Rumble
Interactive Infotainment Systems P/L ACN: 076 046 252
Phone 02-9798-7604 Mobile 015-955-042 Pager 016-634-997
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: slow extracting an archive on Redhat5.0
1998-04-09 23:42 ` Pablo A. Godel
1998-04-10 8:17 ` Christian Czezatke
@ 1998-04-10 12:29 ` Anthony Rumble
1 sibling, 0 replies; 12+ messages in thread
From: Anthony Rumble @ 1998-04-10 12:29 UTC (permalink / raw)
To: axp-list; +Cc: godel
On Thu, 9 Apr 1998, Pablo A. Godel wrote:
Get all the redhat errata... It fixes this problem
Anthony
> 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.
>
> Regards,
> Pablo Godel
>
> --
> -----------------------------------------------
> The Internation Website Construction Co. (IWCC)
> http://www.iwcc.com.ar
> Miami - Sao Paulo - Buenos Aires - Lima
> -----------------------------------------------
>
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
---
Anthony Rumble
Interactive Infotainment Systems P/L ACN: 076 046 252
Phone 02-9798-7604 Mobile 015-955-042 Pager 016-634-997
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: slow extracting an archive on Redhat5.0
1998-04-09 19:11 ` Hugo van der Kooij
@ 1998-04-10 13:00 ` Uncle George
1998-04-10 18:07 ` Michal Jaegermann
0 siblings, 1 reply; 12+ messages in thread
From: Uncle George @ 1998-04-10 13:00 UTC (permalink / raw)
To: Hugo.van.der.Kooij; +Cc: Engelhard, axp-list
i got same prob here,
if u disable the network ie /etc/rc.d/rc3.d/K97* stop, tar will pick up
again
i have no idea what the network has to do with tar, but apparently disabling the
net
does it. ( i suspect its dns, but dont know how to bridge the gap between a tar
file & net access! )
gat
Hugo van der Kooij wrote:
> On Thu, 9 Apr 1998, 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.
>
> Must be machine and installation specific. No problems here. But I have
> alle updates installed.
>
> Hugo.
>
> +------------------------+------------------------------+
> | Hugo van der Kooij | Hugo.van.der.Kooij@caiw.nl |
> | Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
> | 3155 VJ Maasland | (De man met de rode hoed) |
> +------------------------+------------------------------+
> "Computers let you make more mistakes faster than any other invention in
> human history, with the possible exception of handguns and tequila."
> (Mitch Radcliffe)
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: slow extracting an archive on Redhat5.0
@ 1998-04-10 15:24 Tempel, Philippe
1998-04-10 17:50 ` Uncle George
0 siblings, 1 reply; 12+ messages in thread
From: Tempel, Philippe @ 1998-04-10 15:24 UTC (permalink / raw)
To: 'axp-list@redhat.com'
> i got same prob here,
> if u disable the network ie /etc/rc.d/rc3.d/K97* stop, tar will
> pick up
> again
>
> i have no idea what the network has to do with tar, but apparently
> disabling the
> net
> does it. ( i suspect its dns, but dont know how to bridge the gap
> between a tar
> file & net access! )
> gat
>
[PT] Why not start with an strace of the tar process?
Redirect it to a file and try it first with the net up and
let it run when you disable networing. Check the file
and check for function call differences (arguments,
frequency, etc).
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: slow extracting an archive on Redhat5.0
1998-04-10 15:24 slow extracting an archive on Redhat5.0 Tempel, Philippe
@ 1998-04-10 17:50 ` Uncle George
0 siblings, 0 replies; 12+ messages in thread
From: Uncle George @ 1998-04-10 17:50 UTC (permalink / raw)
To: axp-list
that would be nice if u wanna do it, then analyse it, then fix it. at
this point, getting mozilla, and alpha/java/jdk working/improved to be a
nicer utiliztion of time.
BESIDES, some one posted that u should upgrade witht the redhat updates
Tempel, Philippe wrote:
> > i got same prob here,
> > if u disable the network ie /etc/rc.d/rc3.d/K97* stop, tar will
> > pick up
> > again
> >
> > i have no idea what the network has to do with tar, but apparently
> > disabling the
> > net
> > does it. ( i suspect its dns, but dont know how to bridge the gap
> > between a tar
> > file & net access! )
> > gat
> >
> [PT] Why not start with an strace of the tar process?
> Redirect it to a file and try it first with the net up and
> let it run when you disable networing. Check the file
> and check for function call differences (arguments,
> frequency, etc).
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: slow extracting an archive on Redhat5.0
1998-04-10 13:00 ` Uncle George
@ 1998-04-10 18:07 ` Michal Jaegermann
0 siblings, 0 replies; 12+ messages in thread
From: Michal Jaegermann @ 1998-04-10 18:07 UTC (permalink / raw)
To: axp-list
>
>
> i have no idea what the network has to do with tar, but apparently disabling the
> net
> does it.
I do not know detailed reasons for a slowdown but 'tar' has obvious
connections with a network. If you will look a bit closer you will
notice that a target on which tar writes (or extracts from) can be
located anywhere on a network.
In practical terms - all my computers at home (there is few of these)
are using the same tape drive without moving it around physically. :-)
Michal
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: slow extracting an archive on Redhat5.0
1998-04-09 14:10 Engelhard
` (2 preceding siblings ...)
1998-04-09 23:42 ` Pablo A. Godel
@ 1998-04-14 8:31 ` Martin Ostermann
3 siblings, 0 replies; 12+ messages in thread
From: Martin Ostermann @ 1998-04-14 8:31 UTC (permalink / raw)
To: engel; +Cc: axp-list
Engelhard <engel@cbn.net.id> writes:
> 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.
>
> thanks for any help
Upgrading the kernel to 2.1.89 fix the problem for me. Before, I
used cpio as a workaround.
Martin
--
Martin Ostermann | mailto:ost+sig0@comnets.rwth-aachen.de
Communication Networks | http://www.comnets.rwth-aachen.de/~ost
Aachen University of Technology | phone: ++49/241/807917
Germany | fax: ++49/241/8888242
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~1998-04-14 8:32 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-10 15:24 slow extracting an archive on Redhat5.0 Tempel, Philippe
1998-04-10 17:50 ` Uncle George
-- strict thread matches above, loose matches on Subject: below --
1998-04-09 14:10 Engelhard
1998-04-09 15:52 ` Murray Stokely
1998-04-09 19:11 ` Hugo van der Kooij
1998-04-10 13:00 ` Uncle George
1998-04-10 18:07 ` Michal Jaegermann
1998-04-09 23:42 ` Pablo A. Godel
1998-04-10 8:17 ` Christian Czezatke
1998-04-10 12:28 ` Anthony Rumble
1998-04-10 12:29 ` Anthony Rumble
1998-04-14 8:31 ` Martin Ostermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox