From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,93de80f71a139b8f X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-10 16:00:41 PST Path: nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!swrinde!elroy.jpl.nasa.gov!lll-winken.llnl.gov!decwrl!pa.dec.com!nntpd.lkg.dec.com!nabeth.cxo.dec.com!alan From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Newsgroups: comp.unix.osf.osf1 Subject: Re: query on optimizing OSF/1 Date: 10 Jun 1994 22:59:41 GMT Organization: Digital Equipment Corporation Distribution: world Message-ID: <2tar8t$mdg@nntpd.lkg.dec.com> References: <2ta3on$c9o@taco.cc.ncsu.edu> Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) NNTP-Posting-Host: nabeth.cxo.dec.com In article <2ta3on$c9o@taco.cc.ncsu.edu>, asmurthy@ds31.tx.ncsu.edu (ANDUKURI S MURTHY) writes: > >How can we optimize the OSF/1 (Rev 1.3) file system to store files that are on >average 110KB in size? Is there a way to change the 8K default block size? >Changing the block size in /etc/disktab or with newfs -b does not work. > >With 8K block size, 110 KBytes files are taking 10% additional disk space. For >applications that need large storage space(400GB), this is a high penalty to >pay! 8 KB is the only block size supported by UFS. I think it is also the only block size supported by the Advanced File System. ULTRIX supported a 4 KB block, but would have wasted the same amount of space. I also have wonder where you get the 10% number. A 110 KB file will use 13 3/4 8 KB blocks. Since the file system will want to allocate full 8 KB blocks at that point, an extra 2 KB per file will be allocated. 2 KB out of 110 KB is 1.82% not 10%. If you are thinking of the 10% reserved space, that has nothing to do with the block size. You can also change that with tunefs(8). If your data is read-mostly, then careful creation of the file system will probably let you lower it to a smaller value. >------------------------------------------------------------------------------ > >any suggestions, to me (asmurthy@tx.ncsu.edu) >or to my friend (srinivas@mcenroe.printrak.com) >or on the net, will be greately appreciated. > >thanks in advance >murthy > -- Alan Rollow alan@nabeth.cxo.dec.com