re: namei caching of newly created files?
matthew green <[email protected]> Sat, 22 Jan 2005 21:52:34 +1100
| Newsgroups | gmane.os.netbsd.devel.kernel,gmane.os.netbsd.devel.performance |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jan 20, 2005 at 12:55:22AM +0100, Havard Eidnes wrote: > pm>run > Creating files...Done > Performing transactions..........Done > Deleting files...Done > Time: > 71 seconds total > 57 seconds of transactions (877 per second) > > Files: > 45093 created (635 per second) > Creation alone: 20000 files (2500 per second) > Mixed with transactions: 25093 files (440 per second) > 24789 read (434 per second) > 25184 appended (441 per second) > 45093 deleted (635 per second) > Deletion alone: 20186 files (3364 per second) > Mixed with transactions: 24907 files (436 per second) Is the performance of manipulating a single direcory with 45,000 entries even something we care about? Who would ever put 45,000 files into a single directory? Who would even put 100 files into a directory if getting a directory listing takes two or more screens just to display? my MH spam folder for the past 12.5 months contains approx 60000 files. (time to clear it up.)