Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 1997 04:32:24 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        reyesf@super.zippo.com
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Optimizing HD I/O. What size to use to read/write?
Message-ID:  <199711180932.EAA01115@dyson.iquest.net>
In-Reply-To: <199711180759.XAA20331@super.zippo.com> from Francisco Reyes at "Nov 18, 97 02:59:09 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Francisco Reyes said:
> I am going to start working on a program which will be heavy on I/O.
> I was wondering what would be a good size to read/write at a time.
> 
> What is the minimun block size FreeBSD allocates? 4K? 8K? Is it HD
> dependent?
> 
One more comment, if you are doing sequential I/O, you really don't want
to do read/writes less than 4K-8K.  You are likely into diminishing
returns beyond 8K.

-- 
John
dyson@freebsd.org
jdyson@nc.com



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