How do I disable FFS?

tmh at bigfoot.first.gmd.de tmh at bigfoot.first.gmd.de
Tue Nov 20 05:37:14 AEST 1990


In article <1110 at bcs800.UUCP> Tim Addington writes:
|> I recently upgraded my system to a 650 Meg SCSI drive.  My question is
|> is there anyway to speed up the mounting and dismounting of the various
|> filesystems.  It is taking about 10 minutes now to bring up and shut down
|> the system.  Is this due to the Fast File System or the High Performance
|> Disk Driver or what.  I would like to disable this while I am setting up the
|> system.
|> 
|> The system is configured as follows:
|> 
|> 	ISC 2.2
|> 	Micropolis 680 SCSI Drive
|> 	Adaptec 1542A Controller
|> 	8 Meg RAM
|> 	386/25
That's easy enough! The mounting/unmounting time of ISC's Fast File System is
directly proportional to the free disk space available. The more you got, 
the longer it takes. This is because ISC reads the free block list off the
disk upon mounting to create a bitmap of free disk space in main memory.
Searches for free blocks are then satisfied from the bitmap rather than the 
disk, and this is one of the main reasons why the FFS is faster than the usual
V7. At the same time the free list is cleared on the disk to guard against 
crashes. Since it's updated on the disk only upon unmounting it's safer to say
that there are NO free blocks and have 'fsck' disprove that, than having a
block in the free list on disk, while it was actually written on after the 
last mount and before the crash. Since rebuilding the free list seems about as
expensive as simply loading and clearing it, ISC might as well never write it
and have it's incore version reconstructed from the disk on mounting. So if 
mount/unmount times trouble you, I can exchange your 680MB disk for a 80MB
drive (that (un)mounts *very* fast) completley free of charge! On the other
hand you might just create a /usr/gobble directory with a couple of big files
in it, artificially using up space. You'd have to remember to remove them,
when the disk fills up with. Experience hath shown, that this problem goes 
away faster than you'd like--no disk is really ever big enough, if only because
it takes so much time to throw all that junk away...

Another possibility would be to return to original S51K file system. It's a lot
slower generally (but then file system performance might or might not be 
important for your kind of work) but it surely (un)mounts faster.
----
Thomas M. Hoberg   | UUCP: tmh at prosun.first.gmd.de  or  tmh%gmdtub at tub.UUCP
c/o GMD Berlin     |       ...!unido!tub!gmdtub!tmh (Europe) or
D-1000 Berlin 12   |       ...!unido!tub!tmh
Hardenbergplatz 2  |       ...!pyramid!tub!tmh (World)
Germany            | BITNET: tmh%DB0TUI6.BITNET at DB0TUI11 or
+49-30-254 99 160  |         tmh at tub.BITNET



More information about the Comp.unix.sysv386 mailing list