Gentoo Archives: gentoo-user

From: Willie Wong <wwong@××××××××××××××.EDU>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far
Date: Mon, 08 Feb 2010 02:15:49
Message-Id: 20100208020850.GA21754@math.princeton.edu
In Reply to: Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far by Mark Knecht
1 On Sun, Feb 07, 2010 at 01:42:18PM -0800, Mark Knecht wrote:
2 > OK - it turns out if I start fdisk using the -u option it show me
3 > sector numbers. Looking at the original partition put on just using
4 > default values it had the starting sector was 63 - probably about the
5 > worst value it could be. As a test I blew away that partition and
6 > created a new one starting at 64 instead and the untar results are
7 > vastly improved - down to roughly 20 seconds from 8-10 minutes. That's
8 > roughly twice as fast as the old 120GB SATA2 drive I was using to test
9 > the system out while I debugged this issue.
10
11 That's good to hear.
12
13 > I'm still a little fuzzy about what happens to the extra sectors at
14 > the end of a track. Are they used and I pay for a little bit of
15 > overhead reading data off of them or are they ignored and I lose
16 > capacity? I think it must be the former as my partition isn't all that
17 > much less than 1TB.
18
19 As far as I know, you shouldn't worry about it. The
20 head/track/cylinder addressing is a relic of an older day. Almost all
21 modern drives should be accessed via LBA. If interested, take a look
22 at the wikipedia entry on Cylinder-Head-Sector and Logical Block
23 Addressing.
24
25 Basically, you are not losing anything.
26
27 Cheers,
28
29 W
30 --
31 Willie W. Wong wwong@××××××××××××××.edu
32 Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire
33 et vice versa ~~~ I. Newton

Replies

Subject Author
Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far Mark Knecht <markknecht@×××××.com>