On 09/02/2005 10:08 AM, Grant Robinson wrote:
Ok, here is something fun to demonstrate file system performance.
Here is a python script that does 10000 directory creations followed by
10000 directory deletions. It then does 10000 file creations, followed
by a five character write, followed by closing the file. It then
deletes the 10000 files.
To participate, run this python script on your machine (and we can
include other OS's, including windows and OS X in this) and then report
back to the list with the following information:
OS and version
filesystem type (ext2, ext3, NTFS, etc.) and whether it is journaled
machine specs (specifically processor speed, disk size, disk interface,
and disk rotational speed)
the time spit out by the script
As an example, here are my laptop results:
Mac OS X 10.3
HFS+ w/Journaling
Powerbook G4, ATA-133, 60 GB, 4800 RPM
29.348
If you have multiple filesystem types on the same machine, try them all
and report back with the results.
(P.S. I would recommend putting the script in it's own newly created
directory)
Grant
------------------------------------------------------------------------
.-----------------------------------.
| This has been a P.L.U.G. mailing. |
| Don't Fear the Penguin. |
| IRC: #utah at irc.freenode.net |
`-----------------------------------'
Debian Unstable
Linux tyler 2.6.11-1-k7 #1 Mon Jun 20 21:26:23 MDT 2005 i686 GNU/Linux
ext3 (journaling)
Athlon 64 3000+ (socket 939), Maxtor 6Y120P0, ATA 133, 120 GB, 7200 RPM
Result: 8.889556
# hdparm /dev/hda
/dev/hda:
multcount = 0 (off)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 240121728, start = 0
I'll try and get a Windows XP result from the same machine later.
--Tyler
.-----------------------------------.
| This has been a P.L.U.G. mailing. |
| Don't Fear the Penguin. |
| IRC: #utah at irc.freenode.net |
`-----------------------------------'