Subject: Re: Terrible tar performance on RAID 0 filesystem
To: Jared D. McNeill <jmcneill@invisible.yi.org>
From: Greg Oster <oster@cs.usask.ca>
List: current-users
Date: 03/12/2001 17:00:36
"Jared D. McNeill" writes:
> I don't know, this just doesn't look right to me. I downloaded pkgsrc/mk
> as a tarball from ftp.netbsd.org, and I noticed some strange tar behavior.
>
> /export is a RAID 0 filesystem, / is a normal filesystem. Both are using
> softdeps and the kernel is relatively new (1.5S).
What does your disklabel for the RAID set look like? I'm wondering
if this could be the "sucky performance due to bad default disklabel values"
problem reported in PR#11989...
> blackhole:~# time tar -xpf /export/pkgsrc/mk.tar
>
> real 0m0.253s
> user 0m0.001s
> sys 0m0.039s
> blackhole:~# cd /export
> blackhole:/export# time tar -xpf /export/pkgsrc/mk.tar
>
> real 3m39.159s
> user 0m0.020s
> sys 0m6.811s
> blackhole:/export# uname -a
> NetBSD blackhole.invisible.ca 1.5S NetBSD 1.5S (BLACKHOLE) #0: Sun Mar 4
> 01:43:31 AST 2001
> jmcneill@blackhole.invisible.ca:/usr/home/jmcneill/syssrc/sys/arch/i386/compi
> le/BLACKHOLE
> i386
>
> Has this been fixed in the last few days?
No, likely not. (unless it's not related to RAID at all... in which case
someone else will have to speak up :) )
Later...
Greg Oster