From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 17 18:37:54 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A0D8106564A for ; Wed, 17 Mar 2010 18:37:54 +0000 (UTC) (envelope-from tdamas@gmail.com) Received: from mail-px0-f200.google.com (mail-px0-f200.google.com [209.85.216.200]) by mx1.freebsd.org (Postfix) with ESMTP id 38BCB8FC08 for ; Wed, 17 Mar 2010 18:37:53 +0000 (UTC) Received: by pxi38 with SMTP id 38so564723pxi.27 for ; Wed, 17 Mar 2010 11:37:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=k3deP1E0tK7dF2XTDl4icJmQkkj0eL7iNqjXOIc61GQ=; b=KX3LFvVSM+5xXD1q23FczYIU6/clhn6CPau2tKH2AJ6HGFY2LdQBdQ0VgdzzVE3u2p 8pDptAnglv6pCSrLnzKsP8y46fCISiaG7mfQa5lpUlxLGPsoFG5n/LE3LKbwOD+W4j5c pAriN5qwUDFfiF0FlLz6JG2i3faJcqgzuxIJ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=UhvWLHotJrv7plRYteaKzML5k9HDgJRCqA/dwKnI8qZF6ZIKUcsDKIvTk3RLpFviiL 3I09l01ItvKLhpTRYhsc5L0YUXIQmASo8xBW7+cksh2gl0c/nkubCYNEnOVK+Vw7dpRK zsXWoPnhO9sja4cUkpHBvZksJdcBn7zNwUW6o= MIME-Version: 1.0 Received: by 10.140.248.20 with SMTP id v20mr1376674rvh.153.1268851073682; Wed, 17 Mar 2010 11:37:53 -0700 (PDT) In-Reply-To: <864oke6bwd.fsf@ds4.des.no> References: <86tysf58a2.fsf@ds4.des.no> <367b2c981003171112n785ea9d4q21d00b533819ca67@mail.gmail.com> <864oke6bwd.fsf@ds4.des.no> From: Thiago Damas Date: Wed, 17 Mar 2010 15:37:33 -0300 Message-ID: To: =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Olivier Smedts , freebsd-hackers@freebsd.org, Mohacsi Janos Subject: Re: ATA 4K sector issues X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 18:37:54 -0000 With UFS, I previouly did some tests (in portuguese): Partition without begin aligned: =3D> 34 1953525101 ad4 GPT (932G) 34 1953525101 1 freebsd-ufs (932G) newfs -U (default -f 2048 -b 16384) # time tar xfj /install/releases/i386/8.0-RELEASE/8.0-RELEASE/ports/ports.tgz 2.342u 5.013s 20:35.65 0.5% 64+1091k 6623+2734io 0pf+0w newfs -U -f 4096 -b 32768 # time tar xfj /install/releases/i386/8.0-RELEASE/8.0-RELEASE/ports/ports.tgz 2.590u 5.263s 22:06.32 0.5% 63+1087k 10911+1676io 0pf+0w Partition aligned on 4k boundaries =3D> 34 1953525101 ad4 GPT (932G) 34 30 - free - (15K) 64 1953525071 1 freebsd-ufs (932G) newfs -U (default -f 2048 -b 16384) # time tar xfj /install/releases/i386/8.0-RELEASE/8.0-RELEASE/ports/ports.tgz 2.392u 5.000s 10:24.15 1.1% 64+1095k 8375+2735io 0pf+0w newfs -U -f 4096 -b 32768 # time tar xfj /install/releases/i386/8.0-RELEASE/8.0-RELEASE/ports/ports.tgz 2.547u 5.567s 1:25.50 9.4% 64+1088k 11880+1755io 0pf+0w Aligning the partition, and ajusting the block/fragment size, I went from 22minutes to 1m25s. But, I tried every combination possible with ZFS, and always get slow performance (something like 2, 3 MB/s write speed) 2010/3/17 Dag-Erling Sm=F8rgrav > Thiago Damas writes: > > With UFS, I previouly did some tests (in portuguese): > > Some commentary would be nice. > > DES > -- > Dag-Erling Sm=F8rgrav - des@des.no >