From owner-freebsd-current@FreeBSD.ORG Thu May 25 21:01:40 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D3E416C58C for ; Thu, 25 May 2006 21:01:40 +0000 (UTC) (envelope-from jd@ugcs.caltech.edu) Received: from groat.ugcs.caltech.edu (groat.ugcs.caltech.edu [131.215.176.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20A2143D67 for ; Thu, 25 May 2006 21:01:33 +0000 (GMT) (envelope-from jd@ugcs.caltech.edu) Received: by groat.ugcs.caltech.edu (Postfix, from userid 3640) id BD5275880B; Thu, 25 May 2006 14:01:32 -0700 (PDT) Date: Thu, 25 May 2006 14:01:32 -0700 From: Paul Allen To: Poul-Henning Kamp Message-ID: <20060525210132.GD28128@groat.ugcs.caltech.edu> References: <20060525184618.GC28128@groat.ugcs.caltech.edu> <4486.1148584202@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4486.1148584202@critter.freebsd.dk> Sender: jd@ugcs.caltech.edu Cc: current@freebsd.org, Olivier Gautherot Subject: Re: FreeBSD's embedded agenda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 21:01:45 -0000 >From Poul-Henning Kamp , Thu, May 25, 2006 at 09:10:02PM +0200: > In message <20060525184618.GC28128@groat.ugcs.caltech.edu>, Paul Allen writes: > > >Erase cycles are often 1ms in duration. > > ... Which is pretty trivial compared to the seek and latency of a > rotating disc. Sure to do 'one of them', but the part of the message you clipped involved the assertion that fragmentation is free. It isn't, you have to do the erase cycle block-by-block, each one sequentially taking 1ms to complete. Sure you can use flash with large block-sizes but then you have to rewrite-out the entire block out after the erase, and writing takes time too--not to mention negatively impacting filesystem stability. And each erase is counts against the cycle-life of the flash. The trade-offs are not trivial and starting with the assertion "fragmentation is free" is begging the question.