Re: namei caching of newly created files?
Havard Eidnes <[email protected]> Thu, 20 Jan 2005 02:03:32 +0100 (CET)
| Newsgroups | gmane.os.netbsd.devel.kernel,gmane.os.netbsd.devel.performance |
|---|---|
| Message-ID | <[email protected]> |
Hi,
BTW, here's the results after my revised patch (OK, this time
done via a here script and with the commands edited in afterwards):
PostMark v1.5 : 3/27/01
pm>set number 20000
pm>set transactions 50000
pm>show
Current configuration is:
The base number of files is 20000
Transactions: 50000
Files range between 500 bytes and 9.77 kilobytes in size
Working directory: /u2
Block sizes are: read=512 bytes, write=512 bytes
Biases are: read/append=5, create/delete=5
Using Unix buffered file I/O
Random number generator seed is 42
Report format is verbose.
pm>run
Creating files...Done
Performing transactions..........Done
Deleting files...Done
Time:
54 seconds total
42 seconds of transactions (1190 per second)
Files:
45093 created (835 per second)
Creation alone: 20000 files (2500 per second)
Mixed with transactions: 25093 files (597 per second)
24789 read (590 per second)
25184 appended (599 per second)
45093 deleted (835 per second)
Deletion alone: 20186 files (5046 per second)
Mixed with transactions: 24907 files (593 per second)
Data:
144.06 megabytes read (2.67 megabytes per second)
271.87 megabytes written (5.03 megabytes per second)
pm>quit
0.6u 48.0s 0:54.45 89.4% 0+0k 126+160io 0pf+0w
while the unpatched version was:
ultra# time postmark
PostMark v1.5 : 3/27/01
pm>set number 20000
pm>set transactions 50000
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)
Data:
144.06 megabytes read (2.03 megabytes per second)
271.87 megabytes written (3.83 megabytes per second)
pm>quit
0.6u 62.1s 1:20.34 78.2% 0+0k 1+285io 0pf+0w
ultra#
Regards,
- HÃ¥vard