NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ahcisata poor performance



Thank god I used your manual instead of www one for the setup and 
my first wedges are aligned as yours (same hole from 34 to 64).

Pity I cannot rebuild biggest partition without copying 2Tb of data,
because of last wedge, which is on raid device. Will do this
tomorrow. At least I don't need more drives making one more raid device
and copying data between them.

On Sat, Jul 26, 2014 at 10:14:53AM +0100, Patrick Welche wrote:
> On Sat, Jul 26, 2014 at 01:05:05PM +0400, Dima Veselov wrote:
> > Sorry, I have lost your last message, but wish to know something about
> > 4k-alignment. What should be aligned to what?
> 
> I suspect it is something like:
> 
> # gpt show wd0
>        start        size  index  contents
>            0           1         PMBR
>            1           1         Pri GPT header
>            2          32         Pri GPT table
>           34          30         
>           64    14680192      1  GPT part - NetBSD RAIDFrame component
>     14680256    33554432      2  GPT part - NetBSD swap
> 
> Note how I didn't start index 1 at the default 34 (512 byte blocks
> = offset of 17408 bytes which is not divisible by 4k = 4096 bytes),
> but used gpt add "-b" to start at 64 (i.e., offset of 32768 bytes which
> is divisible by 4096).
> 
> (and
> 14680256*512/4096
> 1835032.00000000000000000000
> )
> 
> Cheers,
> 
> Patrick

-- 
Sincerelly yours


Home | Main Index | Thread Index | Old Index