Yes, it is io bound.  Darn it. I looked at iostat and saw right away.
I first looked at vmstat but I was lulled into .....believing.

Eric Blake wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to rh on 4/16/2008 12:14 PM:
| Hello,
| Running du -sk on an apache disk cache containing 10GB of data and
| 30,000 directories and   files
| I see du using maybe .03% of the cpu. It takes an hour for it to complete.

Probably because du is I/O intensive; the cpu is probably rather idle
because most of your time is spent waiting on the disk to spin to the next
inode to inspect.

|
| Are there any plans to make du multi-threaded?  Or otherwise improve
| it's performance? Is it filesystem sensitive? We are using ext3.

I doubt multi-threading will help an I/O bound process.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgGnhgACgkQ84KuGfSFAYAvZACcC9t8xv+zSxkiDaSvI1jtlzvt
5DsAoMmidIDE3kz120xUTc5tzHw5UQME
=zqqN
-----END PGP SIGNATURE-----



_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to