public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar  performance so far
Date: Mon, 8 Feb 2010 16:37:07 -0800	[thread overview]
Message-ID: <5bdc1c8b1002081637k685720eewc3b1a805653837d7@mail.gmail.com> (raw)
In-Reply-To: <201002090105.13960.Warp_7@gmx.de>

On Mon, Feb 8, 2010 at 4:05 PM, Frank Steinmetzger <Warp_7@gmx.de> wrote:
> 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
>
> Same here.
>
>> - probably about the worst value it could be.
>
> Hm.... what about those first 62 sectors?
> I bought this 500GB drive for my laptop recently and did a fresh partitioning
> scheme on it, and then rsynced the filesystems of the old, smaller drive onto
> it. The first two partitions are ntfs, but I believe they also use cluster
> sizes of 4k by default. So technically I could repartition everything and
> then restore the contents from my backup drive.
>
> And indeed my system becomes very sluggish when I do some HDD shuffling.
>
>> 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.
>
> Though the result justifies your decision, I would have though one has to
> start at 65, unless the disk starts counting its sectors at 0.
> --
> Gruß | Greetings | Qapla'
> Programmers don’t die, they GOSUB without RETURN.
>

Good question. I don't know where it starts counting but 63 seems to
be the first one you can use on any blank drive I've looked at so far.

There's a few small downsides I've run into with all of this so far:

1) Since we don't use sector 63 it seems that fdisk will still tell
you that you can use 63 until you use up all your primary partitions.
It used to be easier to put additional partitions on when it gave you
the next sector you could use after the one you just added.. Now I'm
finding that I need to write things down and figure it out more
carefully outside of fdisk.

2) When I do something like +60G fdisk chooses the final sector, but
it seems that it doesn't end 1 sector before something divisible by 8,
so again, once the new partition is in I need to do more calculations
to find where then next one will go. Probably better to decide what
you want for an end and make sure that the next sector is divisible by
8.

3) When I put in an extended partition I put the start of it at
something divisible by 8. When I went to add a logical partition
inside of that I found that there was some strange number of sectors
dedicated to the extended partition itself and I had to waste a few
more sectors getting the logical partitions divisible by 8.

4) Everything I've done so far leave me with messages about partition
1 not ending on a cylinder boundary. Googling on that one says don't
worry about it. I don't know...

So, it works - the new partitions are fast but it's a bit of work
getting them in place.

- Mark



  reply	other threads:[~2010-02-09  1:15 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-07 16:27 [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far Mark Knecht
2010-02-07 17:30 ` Alexander
2010-02-07 18:19   ` Volker Armin Hemmann
2010-02-07 19:26     ` Mark Knecht
2010-02-07 18:38   ` Mark Knecht
2010-02-07 19:16     ` Volker Armin Hemmann
2010-02-07 19:39 ` Willie Wong
2010-02-07 20:31   ` Mark Knecht
2010-02-07 21:59     ` Kyle Bader
2010-02-07 21:42   ` Mark Knecht
2010-02-08  2:08     ` Willie Wong
2010-02-08 17:10       ` Mark Knecht
2010-02-08 18:52         ` Valmor de Almeida
2010-02-08 20:34           ` Paul Hartman
2010-02-09  0:27             ` Neil Bothwick
2010-02-09 12:46               ` Stroller
2010-02-09 13:34                 ` Neil Bothwick
2010-02-09 23:37                   ` Iain Buchanan
2010-02-10  6:31                     ` Volker Armin Hemmann
2010-02-10  7:11                       ` Iain Buchanan
2010-02-10  8:37                         ` Volker Armin Hemmann
2010-02-10  8:43                         ` Volker Armin Hemmann
2010-02-09 13:35                 ` Volker Armin Hemmann
2010-02-09 13:57                 ` J. Roeleveld
2010-02-09 15:11                   ` Stroller
2010-02-09 15:27                     ` J. Roeleveld
2010-02-09 17:38                       ` Stroller
2010-02-09 18:25                         ` Mark Knecht
2010-02-09 19:29                           ` J. Roeleveld
2010-02-09 15:43                     ` Neil Bothwick
2010-02-09 17:17                       ` Stroller
2010-02-09 20:30                         ` Neil Bothwick
2010-02-09 18:03                       ` Neil Walker
2010-02-09 19:37                         ` J. Roeleveld
2010-02-09 23:52                           ` Iain Buchanan
2010-02-10  1:16                             ` Stroller
2010-02-10  6:59                             ` Neil Walker
2010-02-10  7:31                               ` Iain Buchanan
2010-02-10  1:28                           ` Stroller
2010-02-10 11:14                             ` J. Roeleveld
2010-02-10 16:37                               ` Stroller
2010-02-10 17:26                                 ` J. Roeleveld
2010-02-10 20:48                                   ` Stroller
2010-02-10  0:11                         ` Peter Humphrey
2010-02-10  6:48                           ` Neil Walker
2010-02-09 17:33               ` Paul Hartman
2010-02-09  7:47             ` J. Roeleveld
2010-02-09 23:22               ` Iain Buchanan
2010-02-10  7:08                 ` Alan McKinnon
2010-02-10 10:56                   ` J. Roeleveld
2010-02-10 10:53                 ` J. Roeleveld
2010-02-10 11:03                   ` Volker Armin Hemmann
2010-02-10 11:17                     ` J. Roeleveld
2010-02-10 11:24                       ` Volker Armin Hemmann
2010-02-08  5:25     ` Valmor de Almeida
2010-02-08 19:57       ` Stroller
2010-02-09  0:05     ` Frank Steinmetzger
2010-02-09  0:37       ` Mark Knecht [this message]
2010-02-09  2:48         ` Frank Steinmetzger
2010-02-09 17:09           ` Frank Steinmetzger
2010-02-09 18:21             ` Mark Knecht
2010-02-09 21:13             ` Frank Steinmetzger
2010-02-09 22:17               ` J. Roeleveld
2010-02-09 22:54               ` Mark Knecht
2010-02-10  0:31                 ` Iain Buchanan
2010-02-10  1:27                   ` Mark Knecht
2010-02-10  7:06                     ` Iain Buchanan
2010-02-09 16:31         ` Mark Knecht
2010-02-12  9:06           ` Mick
2010-02-12 12:14             ` Mark Knecht
2010-02-09  0:47       ` Stroller
2010-02-09  2:20       ` Willie Wong
2010-02-15  0:48     ` Frank Steinmetzger
2010-02-15  1:17       ` Willie Wong
2010-02-15  3:17         ` Mark Knecht
2010-02-15 18:03         ` Frank Steinmetzger
2010-02-15 23:53           ` Alex Schuster
2010-02-16 17:35             ` Frank Steinmetzger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5bdc1c8b1002081637k685720eewc3b1a805653837d7@mail.gmail.com \
    --to=markknecht@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox