Re: Question about file system checks



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



Relevant Pages

  • RE: key storage
    ... consists of a number of python scripts that allow you to create define ... if i could actually configure the server (or if i had written my own server ... > This message was sent using IMP, the Internet Messaging Program. ...
    (Security-Basics)
  • Re: Help Adding Another Website
    ... >> getting easy access to boxes on the Old server network. ... > and Qmail are all I plan on running on it, besides SSH for admin, etc. ... An "interface" is generally an ethernet port or such. ... Just plug the ...
    (comp.unix.admin)
  • Re: How to remove vestage DNS entries?
    ... >> about an NT4 machine you pulled the plug on. ... then I would suggest to plug it back ... >> server can't be brought back up and would need to get wiped clean ... A utility to change domain membership for a member server to move from one ...
    (microsoft.public.windows.server.dns)
  • Re: UPS configuration!
    ... Yeah probably nothing will happen if I pull the plug but I figure it doesn't ... > ground is missing when you unplug the ups from the wall. ... but not the earth ground. ... > server components. ...
    (microsoft.public.windows.server.sbs)
  • Re: Feasible server configuration?
    ... > Bad idea for the 2 nic config. ... > server into the ports in the back of the router. ... If the server only has 1 NIC, I'll have to plug the rest of the network ...
    (microsoft.public.win2000.networking)