From owner-freebsd-current@FreeBSD.ORG Sat Jan 2 00:03:12 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DE5B1065696 for ; Sat, 2 Jan 2010 00:03:12 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id E80008FC27 for ; Sat, 2 Jan 2010 00:03:11 +0000 (UTC) Received: from [IPv6:::1] (pooker.samsco.org [168.103.85.57]) (authenticated bits=0) by pooker.samsco.org (8.14.2/8.14.2) with ESMTP id o020334j063295; Fri, 1 Jan 2010 17:03:03 -0700 (MST) (envelope-from scottl@samsco.org) Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Scott Long In-Reply-To: <65036.1262386032@critter.freebsd.dk> Date: Fri, 1 Jan 2010 17:03:03 -0700 Content-Transfer-Encoding: 7bit Message-Id: <925A0DA7-5D9B-41FA-B586-6C128F816C58@samsco.org> References: <65036.1262386032@critter.freebsd.dk> To: Poul-Henning Kamp X-Mailer: Apple Mail (2.1076) X-Spam-Status: No, score=-4.2 required=3.8 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: Alexander Motin , Miroslav Lachman <000.fbsd@quip.cz>, Thomas Backman , freebsd-current@freebsd.org, freebsd-arch@freebsd.org, Pieter de Goeje Subject: Re: File system blocks alignment 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: Sat, 02 Jan 2010 00:03:12 -0000 On Jan 1, 2010, at 3:47 PM, Poul-Henning Kamp wrote: > In message <201001012153.44349.pieter@degoeje.nl>, Pieter de Goeje > writes: > >> That yielded some pretty spectacular results. [...] >> >> Performance for restore was abysmal in the unaligned case, easily >> being 10 >> times slower than aligned restore. Newfs was about 5 times as slow. > > That is what I expected, only I didn't expect a factor 14 in > performance. > It's all about read latency in the read-modify update operation. While buses and caches and gotten steadily faster over the past 20 years, disk platters and hysteresis fields have not. This is also why buying faster platters is always an important consideration for overall performance; a desktop or laptop with 5400RPM drives will feel significantly slower than one with 7200RPM drives, and 15K RPM drives still rule the roost. Thanks a lot for doing the testing. Would it be possible to publish these results somewhere that can be linked to in the future? Scott