bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enhancement request -- performance improvement


From: rh
Subject: Re: Enhancement request -- performance improvement
Date: Wed, 16 Apr 2008 22:42:14 -0700
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

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             address@hidden
-----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-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]