From owner-freebsd-questions Tue Jun 8 10:40:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from solaris.matti.ee (solaris.matti.ee [194.126.98.135]) by hub.freebsd.org (Postfix) with ESMTP id 7713E14EA4 for ; Tue, 8 Jun 1999 10:40:39 -0700 (PDT) (envelope-from vallo@matti.ee) Received: from myhakas.matti.ee (myhakas.matti.ee [194.126.114.87]) by solaris.matti.ee (8.8.8/8.8.8.s) with ESMTP id UAA15115; Tue, 8 Jun 1999 20:40:24 +0300 (EET DST) Received: by myhakas.matti.ee (Postfix, from userid 1000) id 8F5E61F96; Tue, 8 Jun 1999 20:40:27 +0300 (EEST) Date: Tue, 8 Jun 1999 20:40:27 +0300 From: Vallo Kallaste To: Rich Winkel Cc: freebsd-questions@freebsd.org Subject: Re: Freebsd FS i/o blocksize? Message-ID: <19990608204027.A25928@myhakas.matti.ee> Reply-To: vallo@matti.ee References: <199906072227.RAA06758@chumbly.math.missouri.edu> <19990608180433.B25205@myhakas.matti.ee> <9906081215.ZM8112@chumbly.math.missouri.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <9906081215.ZM8112@chumbly.math.missouri.edu>; from Rich Winkel on Tue, Jun 08, 1999 at 12:15:39PM -0500 Organization: =?iso-8859-1?Q?AS_Matti_B=FCrootehnika?= Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jun 08, 1999 at 12:15:39PM -0500, Rich Winkel wrote: > > The maximum is 64KB for one transaction if I can recall some of the > > Greg Lehey's messages. The usual is around 8KB per transaction. I can > > be wrong, I'm not expert by any means. > > Thanks!! So it fluctuates even within a single filesystem? > Or are you talking about swap as well? Better don't ask me, here's something from the vinum(8) manpage: The FreeBSD block I/O system issues requests of between .5kB and 60 kB; a typical mix is somewhere round 8 kB. You can't stop any striping system from breaking a request into two physical requests, and if you do it wrong it can be broken into several. This will result in a significant drop in performance: the decrease in transfer time per disk is offset by the order of magnitude greater increase in latency. For swap I don't know, I guess it uses raw disk partition(s) and doesn't have filesystem, althought it must have some system to track the data on the swap partition(s). It's all beyond my knowledge and I'm not interested digging into low-level system internals. Not my way :-| -- Vallo Kallaste vallo@matti.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message