Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2001 14:06:49 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Roy Sigurd Karlsbakk <roy@karlsbakk.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: increasing readahead?
Message-ID:  <20011219200649.GA30574@dan.emsphone.com>
In-Reply-To: <Pine.LNX.4.30.0112191821210.17775-100000@mustard.heime.net>
References:  <Pine.LNX.4.30.0112191821210.17775-100000@mustard.heime.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 19), Roy Sigurd Karlsbakk said:
> I really need a LARGE readahead for my application. Does anyone know
> how I can increase the current one?

man setvbuf
 
> I also need a way to pre-allocate chunks of 4 megs when I'm writing
> to a file, to make the actual fragments large enough to eliminate a
> large part of the actual overhead of seeking

Are you sure this is your problem?  FreeBSD does write clustering and
allocates disk space to avoid fragmentation.

-- 
	Dan Nelson
	dnelson@allantgroup.com

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011219200649.GA30574>