Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 1999 17:13:01 -0400 (EDT)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        freebsd-fs@freebsd.org
Subject:   allocate file blocks contiguously
Message-ID:  <Pine.GSO.3.96.990602170017.26420A-100000@sol.cs.binghamton.edu>

next in thread | raw e-mail | index | archive | help

In FFS, there is a parameter called maxcontig (default to 16) that
determines the number of blocks we can allocate contiguously for a single
file.  What is its optimal value? I mean, if we allocate ALL the data
blocks of a very big file contiguously, will its I/O performance be
improved greatly?  It seems to me this number may also be limited by
system buffering capability (MAXPHYS?) and underlying hardware controller.
Can anyone give me some hints on the choice of the value of maxcontig?

Any help is appreciated.

--------------------------------------------------
Zhihui Zhang.  Please visit http://www.freebsd.org
--------------------------------------------------



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.990602170017.26420A-100000>