Re: suprising fast 'find /' (2.2.0-pre9)

H. Peter Anvin (hpa@transmeta.com)
22 Jan 1999 05:51:55 GMT


Followup to: <Pine.LNX.4.02.9901211856370.1015-100000@sjoerd.sjoerdnet>
By author: Arjan Filius <arjan@xs4all.nl>
In newsgroup: linux.dev.kernel
>
> Hello,
>
> If i remeber correctly, a while ago somebody was comparing bsd and Linux
> find (different machines), and Linux/other_machine was not the fastest
>
> I just tried:
> z(tty1) 6:57pm 0 root@sjoerd:~ # time find / > /dev/null
> 0.780u 1.160s 0:02.10 92.3% 0+0k 0+0io 65pf+0w
>
> on a system:
> (tty1) 7:00pm 0 root@sjoerd:~ # df -m
> Filesystem MB-blocks Used Available Capacity Mounted on
> /dev/hdb9 935 778 109 88% /
> /dev/hda2 499 264 235 53% /dos/w95
> /dev/hda5 884 770 69 92% /home
> /dev/hdb5 349 327 2 99% /usr/src
> /dev/hdb6 87 80 6 93% /root
> /dev/hdb2 43 40 0 100% /boot
> /dev/hdb7 261 227 31 88% /usr/lib
> /dev/hdb8 87 57 29 66% /usr/local
> /dev/hdc1 290 5 270 2% /hdd/1
> /dev/hdc2 5552 4755 509 90% /hdd/2
> (AMDK6-2/300,256MB)
>
> And i was plesant surprized! :))
>
> Don't know about previous kernels, but it's certenly faster what was
> reported some time ago :)
>
> Happy 2.2.0!
>

The dcache *really* speeds up operations on directory trees, like
"find". Enjoy :)

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables

- 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/