Re: Slow tar ? (2.1.129pre1 and pre4)

menion (menion@mindless.com)
Tue, 17 Nov 1998 16:15:01 +0000


>
> It did this with every .tar.gz or bz2 I tried. I noted that
> both bzip2 and gzip worked perfectly, at full speed. Also
> I noticed that:
>
> bzip2 <file.tar.bz2> | cpio -ivud
>
> also worked at full speed. But:
>
> bzip2 <file.tar.bz2> | tar xvf -
>
> was as slow as tar Ixvf.
>
> Is this the scheduling problem that's been mentioned? Or is
> this something else. I havent change anything in my setup
> recently.
>
> Sysinfo: Pentium 100; 16 Mb RAM ; glibc-2.0.7pre ;
> binutils 2.9.1.0.15; linux 2.1.129pre4
>
> Not complaining, just reporting :)

If you are using the famous Redhat(tm) Distribution 5.0/5.1 ?5.2?, there
is a infamous caveat about tar. In '/etc/nsswitch.conf' are lots of
references to nis, or yp or nisplus. I really don't remember =). If
you remove the refs (assuming you are not using yp,nis, or nis+) tar
will run at normal speed =).

Thanks,
Joshua

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/