From owner-freebsd-current Tue Aug 26 19:58:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA29820 for current-outgoing; Tue, 26 Aug 1997 19:58:46 -0700 (PDT) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA29801 for ; Tue, 26 Aug 1997 19:58:40 -0700 (PDT) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id TAA19831; Tue, 26 Aug 1997 19:58:46 -0700 (PDT) Message-Id: <199708270258.TAA19831@implode.root.com> To: Simon Shapiro cc: current@FreeBSD.ORG Subject: Re: IDE vs SCSI was: flags 80ff works (like anybody doubted it) In-reply-to: Your message of "Tue, 26 Aug 1997 10:26:06 PDT." From: David Greenman Reply-To: dg@root.com Date: Tue, 26 Aug 1997 19:58:46 -0700 Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >Hi David Greenman; On 26-Aug-97 you wrote: >> >FreeBSD does ALL its file I/O in 4K blocks. Your test is really a test >> >of the kernel's ability to issue strategy calls quickly, at best. >> >> Huh? No it doesn't; what ever gave you that idea? >> >> -DG > >Which idea? The 4K? I enable a certain debugging level >(DPT_DEBUG_COMPLETION) in the DPT driver, lean back and enjoy the messages >fly by. I have not seen anything larger than 4K yet. > >In SCSI, random disk I/O, up to about 8K blocks, the amount of time it FreeBSD can read and write up to 64KB, depending on various factors including the contiguousness of the file, the sequentialness of the accesses, and other factors. Random reads/writes to a file will usually happen in blocksize chunks which are either 4KB or (more commonly) 8KB. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project