Re: Question about file system checks
- From: Ivan Voras <ivoras@xxxxxxxxxxx>
- Date: Fri, 28 Mar 2008 16:26:16 +0100
Dan Nelson wrote:
In the last episode (Mar 28), Ivan Voras said:
Note that you can tweak the SU caching time by adjusting the sysctls
kern.{meta,dir,file}delay. Take them down to 10 seconds instead of 30
and you'll lose less files (at the cost of more disk I/O of course).
Yes, but the other file systems were also tested with their respective
defaults.
5. ZFS on FreeBSD was the fastest, in the sense of creating the most files
during this benchmark (though speed was not the target for this benchmark
so this is a low-quality observation), closely followed by JFS and XFS.
ZFS's transaction commit interval is only 5 seconds (see txg_time in
uts/common/fs/zfs/txg.c); how many more files/second did it create vs
the others to be able to lose the most files in that window? :)
All were tested within the same time: 50 seconds. Details: the machine
being tested was connected to a "reporter" machine via plain crossover
cable, the reporter had a TCP server and the tested machine had a TCP
client that run a tight loop of IO operations, single threaded, randomly
choosing between creating files and directories, appending to them and
changing (a random amount of data in a random position) them, then
sending to the server a description (log) of each IO operation after it
has been done. These were several Python scripts I wrote.
After 50 seconds I'd pull the plug off the server (meaning it's not
*exactly* 50 seconds but 50 seconds+time of my action, but it doesn't
matter as everything is timestamped), plug it back in, run fsck. The
reporting server would replay the log of IO operations from the first to
the last and generate a report of what should have been on the tested
machine which would then be compared with what was found on the tested
machine (by scripts/automated).
Attachment:
signature.asc
Description: OpenPGP digital signature
- Follow-Ups:
- Re: Question about file system checks
- From: David Malone
- Re: Question about file system checks
- References:
- Re: Question about file system checks
- From: Matthew Seaman
- Re: Question about file system checks
- From: Marian Hettwer
- Re: Question about file system checks
- From: Danny Pansters
- Re: Question about file system checks
- From: Ivan Voras
- Re: Question about file system checks
- From: Dan Nelson
- Re: Question about file system checks
- Prev by Date: Re: Question about file system checks
- Next by Date: Re: Question about file system checks
- Previous by thread: Re: Question about file system checks
- Next by thread: Re: Question about file system checks
- Index(es):
Relevant Pages
|
|