From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ngp8V-0001Ud-M0 for garchives@archives.gentoo.org; Mon, 15 Feb 2010 00:48:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F877E07D3; Mon, 15 Feb 2010 00:47:31 +0000 (UTC) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by pigeon.gentoo.org (Postfix) with SMTP id EE28DE07D3 for ; Mon, 15 Feb 2010 00:47:30 +0000 (UTC) Received: (qmail invoked by alias); 15 Feb 2010 00:47:29 -0000 Received: from p54B8F5DF.dip.t-dialin.net (EHLO [192.168.2.102]) [84.184.245.223] by mail.gmx.net (mp016) with SMTP; 15 Feb 2010 01:47:29 +0100 X-Authenticated: #4040096 X-Provags-ID: V01U2FsdGVkX1+4f+pKtAK4F58PKisncGAvOJLqKD9JuvFu98Isll ZEN318mMbURJvp From: Frank Steinmetzger Organization: Steinstark To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far Date: Mon, 15 Feb 2010 01:48:01 +0100 User-Agent: KMail/1.9.10 References: <5bdc1c8b1002070827i14f59047k39a695900ebe9889@mail.gmail.com> <20100207193947.GB30196@math.princeton.edu> <5bdc1c8b1002071342v6c81cf13gde7bcef72be5017b@mail.gmail.com> In-Reply-To: <5bdc1c8b1002071342v6c81cf13gde7bcef72be5017b@mail.gmail.com> X-Face: "1ZKx.!K_X3{$#BEQ:$_EGrL\2JP!)fOn%ETC?5g`N^|c]Ot>BKUWgrhDd%O@=?utf-8?q?JCk=7EV84W+=0A=09dAj?=@~'4,w-yl(x#~nQzsu#UjM[Im(@4G[Cy:QFl&,=?utf-8?q?MOH=24ol=3Dx=5Ff+9bBFEHMuQSd=5Fr-Dh=23z=0A=09v?=(\{?u|uqypD_!V*WDYS!m}]td@4'WhbN$ Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4064978.mfWB0DLx5v"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201002150148.05937.Warp_7@gmx.de> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.59999999999999998 X-Archives-Salt: fe9488e0-9bbe-4b2a-ac99-088d40f376ce X-Archives-Hash: e6e1a2fc33fa94aaa200b2eead165e7e --nextPart4064978.mfWB0DLx5v Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Sonntag, 7. Februar 2010 schrieb Mark Knecht: > Hi Willie, > OK - it turns out if I start fdisk using the -u option it show me > sector numbers. Looking at the original partition put on just using > default values it had the starting sector was 63 - probably about the > worst value it could be. As a test I blew away that partition and > created a new one starting at 64 instead and the untar results are > vastly improved - down to roughly 20 seconds from 8-10 minutes. That's > roughly twice as fast as the old 120GB SATA2 drive I was using to test > the system out while I debugged this issue. Sorry if I reheat a topic that some already consider closed. I used the=20 weekend to experiment on that stuff and need to report my results. Because= =20 they startle me a little. I first tried different start sectors around sector 63: 63, 64, 66, 68 etc.= =20 They showed nearly the same results in speed. So I almost thought that my=20 drive, albeit being new and of high capacity, is not affected by this yet. But then I tested my main media partition, which starts in the middle of th= e=20 disk. I downloaded a portage snapshot and put it into a ramdisk, so reading= =20 it would not manipulate measurements. I also copied a 1GB file into that=20 ramdisk to test consecutive writes. As a start sector I chose 288816640, which is divisible by 64. The startlin= g=20 result: this gave the lowest performance. If the partition starts in one of= =20 the sectors behind it, performance was always better. I repeated the test=20 several times to confirm it. How do you explain this? :-? The following table shows the =E2=80=98real=E2=80=99 value from the output = of the time=20 command. SS means the aforementioned start sector with SS % 64 =3D=3D 0. action SS (1st) SS (2nd) SS+2 SS+4 SS+6 SS+8 =2D------------+----------+----------+----------+----------+----------+----= =2D----- untar portage 3m12.517 2m55.916 1m46.663 1m35.341 1m47.829 1m43.= 677 rm portage 4m11.109 3m54.950 3m18.820 3m11.378 3m21.804 3m12.= 433 cp 1GB file 0m21.383 0m13.558 0m14.920 0m12.813 0m13.407 0m13.= 681 =2D-=20 Gru=C3=9F | Greetings | Qapla' How are things in the collective?" - "Perfect." (Captain Jainway to the Borg queen) --nextPart4064978.mfWB0DLx5v Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEUEABECAAYFAkt4mcUACgkQGafpl66MV0yV/gCeN2YXAe9gUv3AZtJgQhCmuonQ /gcAmMVoHeDrjc7F1DVK5vUX8JuTQaU= =wz4t -----END PGP SIGNATURE----- --nextPart4064978.mfWB0DLx5v--