From owner-freebsd-stable@FreeBSD.ORG Sun Jul 25 07:22:39 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 445AC1065673 for ; Sun, 25 Jul 2010 07:22:39 +0000 (UTC) (envelope-from edhoprima@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 53C988FC13 for ; Sun, 25 Jul 2010 07:22:38 +0000 (UTC) Received: by qwk3 with SMTP id 3so1307219qwk.13 for ; Sun, 25 Jul 2010 00:22:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=1LmCnzOb56lMgBfSSqAErk0dCK1GpiCZ7l0FpYlg2fU=; b=fPl/+qjJpS6LuU8O22pg9DJnuqadhH2oRKJMn6si2am32rCc9W92wCgHR2q8aP2zl7 OdgNcmssmdBjOkhsmEDFnIJjjmLDdKzCR4b1kXK84uZB2MsVvAcCqzpsNveMFh99PTe2 OHskFfldJo75arQznRO4aZqqVhDLnCN94cN+w= 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:content-transfer-encoding; b=I0Azl14Dtm6hSVS/qATC9VEFif5X3GZxXkXe/jZ4TWd7tv57HThS+nkQB2eH8+qQG4 KFo+BHy5vvn280BqVPlro+SJPzeDEJbWyec0Y3wYbtB0+KuooC34uX/PMB4MKBotg7Mj 9gyvhvacMWUv7a6xdlACQkCYPmMXRboDODqIA= Received: by 10.224.53.86 with SMTP id l22mr4620330qag.348.1280042557179; Sun, 25 Jul 2010 00:22:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.235.208 with HTTP; Sun, 25 Jul 2010 00:22:17 -0700 (PDT) In-Reply-To: References: <4C4BA50B.6050507@langille.org> <4C4BB672.3090109@langille.org> From: Edho P Arief Date: Sun, 25 Jul 2010 14:22:17 +0700 Message-ID: To: Adam Vande More Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable , Dan Langille Subject: Re: gpart -b 34 versus gpart -b 1024 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jul 2010 07:22:39 -0000 On Sun, Jul 25, 2010 at 12:37 PM, Adam Vande More w= rote: > On Sat, Jul 24, 2010 at 10:58 PM, Dan Langille wrote: > >> =C2=A0 =C2=A0 =C2=A0 -------Sequential Output-------- ---Sequential Inpu= t-- --Random-- >> =C2=A0 =C2=A0 =C2=A0 -Per Char- --Block--- -Rewrite-- -Per Char- --Block= --- --Seeks--- >> =C2=A0 =C2=A0GB M/sec %CPU M/sec %CPU M/sec %CPU M/sec %CPU M/sec %CPU = =C2=A0/sec %CPU >> =C2=A0 =C2=A050 110.5 81.0 112.8 15.0 =C2=A062.8 =C2=A09.0 =C2=A072.9 48= .5 139.7 =C2=A09.5 =C2=A0 144 =C2=A00.9 >> >> Here, the results aren't much better either... =C2=A0am I not aligning t= his >> partition correctly? =C2=A0Missing something else? =C2=A0Or... are they = both 4K block >> aligned? > > > The alignment doesn't apply to all drives, just the 4k WD's and some ssd'= s. > > If they were misaligned, you would see a large difference in the tests. = =C2=A0A > few points one way or other in these is largely meaningless. > > That being said, if I were you I would set -b 2048(1 MB) as the default, = the > amount of space wasted is trivial and your partition will always be > aligned. =C2=A0People following your tutorials may have a variety of diff= erent > drives and that setting is safe for all. > shouldn't it start at 2049? Starting at 2048 means it starts at 2048th logical block which is 512 bytes off from physical block, doesn't it? --=20 O< ascii ribbon campaign - stop html mail - www.asciiribbon.org