Subject: Re: OpenBSD's new ffs_dirpref() code
To: Jared D. McNeill <jmcneill@invisible.yi.org>
From: Lennart Augustsson <lennart@mail.augustsson.net>
List: tech-kern
Date: 04/11/2001 02:11:40
That looks very interesting. Was that test with our without softdep?
I think we should definitely have a look at this and bring it in if at all
possible. The time it takes to untar (and rm) a directory tree is
annoying in NetBSD at the moment.
Still, there seems to be room for huge improvments. Look at those
rm figures, why is the kernel waiting for the disk so much?
-- Lennart
"Jared D. McNeill" wrote:
> Has anybody looked at this yet? I brought it into 1.5U (on an AMD K6-3
> 450, 128MB of RAM) and am noticing huge speed improvements (shown below).
> Does anybody have any plans on bringing this in? I can make up a patch if
> anybody's interested.
>
> Jared
>
> Command: time tar -xf pkgsrc.tar
>
> new dirpref 1.4u 15.9s 7:26.72 3.8% 0+0k 9081+37152io 18pf+0w
> original 1.0u 15.2s 23:35.00 1.1% 0.0k 15972+78694io 18pf+0w
>
> Command: time rm -rf pkgsrc
>
> new dirpref 0.4u 2.5s 9:34.80 0.5% 0+0k 14702+31092io 10pf+0w
> original 0.3u 3.1s 25:27.44 0.2% 0+0k 19399+38105io 10pf+0w