Re: ext3 File System Performance Issue
- From: Robert Redelmeier <redelm@xxxxxxxxxxxxxxx>
- Date: Fri, 23 Mar 2007 21:55:04 GMT
LaBird <wlcheung1975@xxxxxxxxx> wrote in part:
It seems the "noatime" can help improve read performance but writes
are still the same. (removing files should be similar to writes, right?)
NOATIME saves updating directory/file access times.
I've just done a little experiment: I intentionally generate 500K files
in the /tmp directory and then try to remove them *randomly*.
I found that the removal is extremely slow, until the number of files
drops below 20K. So I believe this is the "threshold" number.
Whoa nellie! 500K is one fsck of a lot of filenames in any one
directory. Mutiple levels of indirect blocks will be required,
and you cannot expect FS performace to be optimized for this case.
-- Robert
.
- References:
- ext3 File System Performance Issue
- From: LaBird
- Re: ext3 File System Performance Issue
- From: Robert Redelmeier
- Re: ext3 File System Performance Issue
- From: LaBird
- ext3 File System Performance Issue
- Prev by Date: Re: ext3 File System Performance Issue
- Next by Date: Re: Why would top show the processes are using swap when there is no swap space?
- Previous by thread: Re: ext3 File System Performance Issue
- Next by thread: Re: ext3 File System Performance Issue
- Index(es):