*BSD News Article 22840


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!hp9000.csc.cuhk.hk!saimiri.primate.wisc.edu!sdd.hp.com!cs.utexas.edu!wupost!udel!newsserv.cs.sunysb.edu!stark.UUCP!cs.sunysb.edu!newsserv!stark!gene
From: newsserv!stark!gene@cs.sunysb.edu (Gene Stark)
Newsgroups: comp.os.386bsd.questions
Subject: Re: [BUG?] newfs with bsize = 16 kb ?
Date: 25 Oct 93 15:38:58
Organization: Gene Stark's home system
Lines: 28
Distribution: world
Message-ID: <NEWSSERV!STARK!GENE.93Oct25153858@stark.uucp>
References: <1993Oct23.193511.18122@Informatik.TU-Muenchen.DE> <2agbtr$5v0@Germany.EU.net>
NNTP-Posting-Host: stark.uucp
In-reply-to: bs@Germany.EU.net's message of 25 Oct 1993 12:05:31 +0100

In article <2agbtr$5v0@Germany.EU.net> bs@Germany.EU.net (Bernard Steiner) writes:

   In article <1993Oct23.193511.18122@Informatik.TU-Muenchen.DE>, wiserner@Informatik.TU-Muenchen.DE (Bernd Wiserner) writes:
   |> the write performance I increased the bsize-field in my disklabel first to
   |> 8 kb and then to 16kb . With 8 kb everything was Ok. but then I tried
   |> to make a newfs -o0 -l1 -r4500 /dev/sd1e on the disk ( bsize was 16 kb ).
   [...]

   I, too, tried to increse the blocksize of the filesystem to 16k (and 16k
   fragments) - to no avail. If I recall the ffs part in the 4.3 book correctly,
   this ought to work, but it doesn't.

The following comments can be found in the "install" script on the
FreeBSD gamma filesystem floppy.  I don't know who wrote them or the details
of why different blocking factors trash the VM system, but this may be an
indication as to why you are not able to increase the blocking factor of
your partitions without strange errors.

							- Gene Stark
----------------
# DO NOT USE DIFFERENT BLOCKING FACTORS FOR EACH PARITION.. IT TRASHES THE
# VM SYSTEM!  When that gets fixed this can go back the way it was...
#
echo "We can build the filesystems with block/fragment sizes of either"
echo "	1) 4k/512, to save disk space at the expense of speed, or"
echo "	2) 8k/1k for speed at the expense of disk space."
echo -n "Which blocking factor should we use for the filesystems? "
--