Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Murray Stokely <murray@cdrom.com>
To: Engelhard <engel@cbn.net.id>
Cc: axp-list@redhat.com
Subject: Re: slow extracting an archive on Redhat5.0
Date: Thu, 9 Apr 1998 08:52:15 -0700 (PDT)	[thread overview]
Message-ID: <Pine.BSF.3.96.980409084946.26642A-100000@pike.cdrom.com> (raw)
In-Reply-To: <352CD6C3.71D8545A@cbn.net.id>

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


  reply	other threads:[~1998-04-09 15:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-09 14:10 slow extracting an archive on Redhat5.0 Engelhard
1998-04-09 15:52 ` Murray Stokely [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
1998-04-10 15:24 Tempel, Philippe
1998-04-10 17:50 ` Uncle George
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox