-- Tim Mooney mooney_at_toons.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J6, IACC Bldg. (701) 231-8541 (FAX) North Dakota State University, Fargo, ND 58105 --------------------------------------------------------------------------- From: Jari Tavi 11-Mar-1996 1343 <jpt_at_namix.ENET.dec.com> Subject: Re: How long needed for doing fsck? Hi, Giving any estimates would be very difficult without real life testing, mostly as time depends on several things: - what is i/o performance of system - what i/o controllers - how many disks - disk types - how many fsck's can be run in parallel - how many dile systems there are in total For example RZ29B performs almost twice the i/o operations compared to RZ28, and makes fsck significantly faster as long as there is free cpu time available. HSZ-disk controllers with latest firmware can give very good i/o rates specially if write back cache has been enabled etc. So, giving estimates would be dependent on too many details and is totally dependent on the environment you have. If AdvFS funneling in V3.2 is problem, have you evaluated possibility to move to V4.0 as AdvFS distributes its load over all cpu's in that version? regards, -jari --------------------------------------------------------------------------- From: alan_at_nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: How long needed for doing fsck? I believe there are four factors that affect the time needed run fsck on a file system: 1. Number of cylinder groups. 2. Number of files in each group. 3. Total size of the file system. 4. Whether the file system needs a 2nd pass. None of these really depend on how many files are open, just how many files there are. Since the writes to update directories, inodes, etc are all synchronous the file system will tend to be fairly consistent after a system failure. Unless some data became corrupted in the crash an open file is little different than a closed done. The difference will be that stale data in the buffer cache won't have made it to disk and the contents of a recently extended file may be "interesting". Some of the checks made are done cylinder group by cylinder group, and a larger file system has more cylinder groups. Once in a group, checks have to be made each file; consistency of the inode and the directory structure. I don't know if file system depth takes longer to check than file system breath. Virtual memory is used to keep track of the state of many of the data structures. As the file system gets larger, more memory is needed. I think it works out to around 1 MB of memory to each GB of file system space. This will tend to only matter for very large file systems. If the file system needs to be repaired after a system failure, then a 2nd pass is needed and the time is approximately doubled. --------------------------------------------------------------------------Received on Tue Apr 02 1996 - 04:44:13 NZST
This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT