public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joshua Murphy <poisonbl@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Gentoo on a Dell XPS 13 Ultrabook
Date: Mon, 5 Mar 2012 16:33:51 -0500	[thread overview]
Message-ID: <CAOTuDKqRBb_mA2-Ek8xRfAK2FMQFPBNoLS5BrEpcAeQ+JS5PYw@mail.gmail.com> (raw)
In-Reply-To: <20120305170057.7c47b2a4@weird.wonkology.org>

On Mon, Mar 5, 2012 at 11:00 AM, Alex Schuster <wonko@wonkology.org> wrote:
> Grant writes:
>
>> > The performance is only impacted if the sector size is something other
>> >  than 512 bytes. The newer 4K sector size used by some higher density
>> > drives requires that you start partitions on a sector boundary or they
>> > will perform badly. There isn't an actually performance need to
>> > actually start on 2048 but the fdisk-type developer folks are doing
>> > that to be more compatible with newer Windows installations.
>>
>> All my drives says this from fdisk:
>>
>> Units = sectors of 1 * 512 = 512 bytes
>> Sector size (logical/physical): 512 bytes / 512 bytes
>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
> Neither fdisk nor hdparm seem to get the correct sector size, at least
> not always. That's what I read somewhere (and not only once), and it's
> true for my own 2TB drive which I know to have a 4K sector size. I'd say
> you have to look up the specs on the vendor's web size to be sure.
>
>> So it doesn't matter where the first partition starts?
>
> If you have 4K sectors (and not a Seagate drive with SmartAlign [*]), it
> does.
>
> BTW, here's some benchmarks I just stumbled upon:
> http://hothardware.com/Articles/WDs-1TB-Caviar-Green-w-Advanced-Format-Windows-XP-Users-Pay-Attention/?page=2
>
> [*] I don't want to sound like I'm advertising for Seagate here, but at
> least it seems that with SmartAlign the performance impact will be
> much less, so it might not be worth the trouble of re-partitioning drives
> that are already being used.
>
>        Wonko

Also, it counts with SSDs, where alignment,or lack therof, with the
erase block becomes noticeable on write performance. Finding the
actual size of an erase block for most SSDs is rather difficult, but
1MB tends to be a reliable guess as a multiple of *that* as well.

-- 
Poison [BLX]
Joshua M. Murphy



      parent reply	other threads:[~2012-03-05 21:35 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-02  2:12 [gentoo-user] Gentoo on a Dell XPS 13 Ultrabook Grant
2012-03-02  8:01 ` Alan McKinnon
2012-03-02 20:29   ` Grant
2012-03-02 23:03     ` Neil Bothwick
2012-03-02 23:35       ` Grant
2012-03-02 23:05 ` [gentoo-user] " walt
2012-03-02 23:39   ` Grant
2012-03-03 17:50     ` Grant
2012-03-03 18:13       ` Pandu Poluan
2012-03-03 18:15         ` Pandu Poluan
2012-03-03 18:22           ` Pandu Poluan
2012-03-03 18:24             ` Pandu Poluan
2012-03-03 20:12         ` Joshua Murphy
2012-03-04 20:12           ` Grant
2012-03-04 20:34             ` Alex Schuster
2012-03-05  1:53               ` Pandu Poluan
2012-03-05 13:40                 ` Alex Schuster
2012-03-05  1:58             ` Pandu Poluan
2012-03-04 20:02         ` Grant
2012-03-04 20:06           ` Grant
2012-03-04 21:09         ` Grant
2012-03-04 21:45           ` Mark Knecht
2012-03-04 21:56             ` Grant
2012-03-04 22:07               ` Alan McKinnon
2012-03-04 22:36                 ` Grant
2012-03-05  2:19                   ` Pandu Poluan
2012-03-05  2:12                 ` Pandu Poluan
2012-03-05  2:06               ` Pandu Poluan
2012-03-05 21:41                 ` Mark Knecht
2012-03-05 16:00               ` Alex Schuster
2012-03-05 16:33                 ` Pandu Poluan
2012-03-05 20:17                   ` Alan McKinnon
2012-03-05 21:33                 ` Joshua Murphy [this message]

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=CAOTuDKqRBb_mA2-Ek8xRfAK2FMQFPBNoLS5BrEpcAeQ+JS5PYw@mail.gmail.com \
    --to=poisonbl@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