bug-coreutils
[Top][All Lists]
Advanced

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

Re: Enhancement request -- performance improvement


From: Eric Blake
Subject: Re: Enhancement request -- performance improvement
Date: Wed, 16 Apr 2008 18:47:20 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

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