From owner-freebsd-hackers Fri Apr 18 04:59:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA27963 for hackers-outgoing; Fri, 18 Apr 1997 04:59:04 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA27958 for ; Fri, 18 Apr 1997 04:59:01 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id VAA25353; Fri, 18 Apr 1997 21:20:41 +0930 (CST) From: Michael Smith Message-Id: <199704181150.VAA25353@genesis.atrad.adelaide.edu.au> Subject: Re: video capture driver interface to file system? In-Reply-To: <199704181021.MAA08439@labinfo.iet.unipi.it> from Luigi Rizzo at "Apr 18, 97 12:21:16 pm" To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Fri, 18 Apr 1997 21:20:41 +0930 (CST) Cc: dufault@hda.com, hasty@rah.star-gate.com, terry@lambert.org, freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Luigi Rizzo stands accused of saying: > > and probably, in addition to preallocation, make sure that your write() > calls are aligned to the FS/device blocksize otherwise (probably) each > write will be preceeded by a hidden read to take care of fragmentation ? Not too much of a hit if the previous partial block is still in the cache, though. > Luigi -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[