public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Stroller <stroller@stellar.eclipse.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar   performance so far
Date: Tue, 9 Feb 2010 17:38:17 +0000	[thread overview]
Message-ID: <9C06FE85-D96B-4CF3-9E43-57DA1EB5B32B@stellar.eclipse.co.uk> (raw)
In-Reply-To: <201002091627.32157.joost@antarean.org>


On 9 Feb 2010, at 15:27, J. Roeleveld wrote:

> On Tuesday 09 February 2010 16:11:14 Stroller wrote:
>> On 9 Feb 2010, at 13:57, J. Roeleveld wrote:
>>> ...
>>> With Raid (NOT striping) you can remove one disk, leaving the Raid-
>>> array in a
>>> reduced state. Then repartition the disk you removed, repartition
>>> and then re-
>>> add the disk to the array.
>>
>> Exactly. Except the partitions extend, in the same positions, across
>> all the disks.
>>
>> You cannot remove one disk from the array and repartition it, because
>> the partition is across the array, not the disk. The single disk,
>> removed from a RAID 5 (specified by Paul Hartman) array does not
>> contain any partitions, just one stripe of them.
>>
>> I apologise if I'm misunderstanding something here, or if your RAID
>> works differently to mine.
>
> Stroller, it is my understanding that you use hardware raid adapters?

Yes.

> If that is the case, then the mentioned method won't work for you ...
>
> I believe Paul Hartman is, like me, using Linux Sofware raid (mdadm 
> +kernel
> drivers).
>
> In that case, you can do either of the following:
> Put the whole disk into the RAID, eg:
> mdadm --create --level=5 --devices=6 /dev/sd[abcdef]
> Or, you create 1 or more partitions on the disk and use these, eg:
> mdadm --create --level=5 --devices=6 /dev/sd[abcdef]1

Thank you for identifying the source of this misunderstanding.

> and if your raid-adapters already align everything properly, then  
> you shouldn't notice any problems with these drives.
> It would, however, be interesting to know how hardware raid adapters  
> handle these 4KB sector-sizes.

I think my adaptor at least, being older, may very well be prone to  
this problem. I discussed this in my post of 8 February 2010 19:57:46  
GMT - certainly I have a RAID array aligned beginning at sector 63,  
and it is at least a little slow. I will test just as soon as I can  
afford 3 x 1TB drives.

I think the RAID adaptor would have to be quite "clever" to avoid this  
problem. It may be a feature added in newer controllers, but that  
would be a special attempt to compensate. I think in the general case  
the RAID controller should just consolidate 3 x physical block devices  
(or more) into 1 x virtual block device, and should not do anything  
more complicated that this. I am sure that a misalignment will  
propagate downwards through the levels of obscusification.

IMO this is a fdisk "bug". A feature should be added so that it tries  
to align optimally in most circumstances. RAID controllers should not  
be trying to do anything clever to accommodate potential misalignment  
unless it is really cheap to do so.

Stroller.




  reply	other threads:[~2010-02-09 18:20 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 [this message]
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
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=9C06FE85-D96B-4CF3-9E43-57DA1EB5B32B@stellar.eclipse.co.uk \
    --to=stroller@stellar.eclipse.co.uk \
    --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