*BSD News Article 10628


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA395 ; Sun, 31 Jan 93 14:06:08 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!agate!agate.berkeley.edu!cgd
From: cgd@stinson.CS.Berkeley.EDU (Chris G. Demetriou)
Newsgroups: comp.unix.bsd
Subject: Re: [386BSD] How to disklabel the BSD-partitions ?
Date: 31 Jan 93 17:31:39
Organization: Kernel Hackers 'r' Us
Lines: 30
Message-ID: <CGD.93Jan31173139@stinson.CS.Berkeley.EDU>
References: <1kbco9INNm5m@rs2.hrz.th-darmstadt.de> <1993Jan30.194427.13162@tfs.com>
NNTP-Posting-Host: stinson.cs.berkeley.edu
In-reply-to: julian@tfs.com's message of Sat, 30 Jan 1993 19:44:27 GMT

In article <1993Jan30.194427.13162@tfs.com> julian@tfs.com (Julian Elischer) writes:
=>>5) What to enter fsize and bsize (512,2048) 386BSD did set on
=>>   Quantum-ProDrive105-SCSI and on my Connor it was set to (1024,8192).
=>>   Which one to take ? 
=>>
=>1024/8196 is the most efficient in terms of cpu utilisation
=>(speed) but 4096/512 saves a LITTLE space (on average 512 bytes per file)

yes, i'm going to nit-pick...

avg. wasted space at end of file on a 8192/1024 FS is going to
be 1024 / 2 == 512 bytes.

avg. wasted space at end of file on a 4096/512 FS is going to be
512 / 2 == 256 bytes...

so you save 256 bytes on average...  (other way to look at it:
w/ latter vs. former, 1/2 the time you'll save 512 bytes, 1/2 the
time you save nothing... same result.)



<chuckle>

chris
--
Chris G. Demetriou                                    cgd@cs.berkeley.edu

"Sometimes it is better to have twenty million instructions by
        Friday than twenty million instructions per second." -- Wes Clark