Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far
Date: Tue, 09 Feb 2010 23:06:49
Message-Id: 5bdc1c8b1002091454y8beb63dp36419259d953c8b5@mail.gmail.com
In Reply to: Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far by Frank Steinmetzger
1 On Tue, Feb 9, 2010 at 1:13 PM, Frank Steinmetzger <Warp_7@×××.de> wrote:
2 > Am Dienstag, 9. Februar 2010 schrieb Frank Steinmetzger:
3 >
4 >> I have reset sdb7 to use boundaries divisible by 64.
5 >> Old range            begin%64  size%64  New range            begin%64
6 >> size%64 813113973-976703804  0.8281    0.125    813113984-976703935  0
7 >>    0
8 >>
9 >> And guess what - the speed of truecrypt at creating a new container
10 >> doubled. With the old scheme, it started at 13.5 MB/s, now it started at
11 >> 26-odd. I’m blaming that cap on the USB connection to the drive, though
12 >> it’s gradually getting more: after 2/3 of the partition, it’s at 27.7.
13 >
14 > I fear I'll have to correct that a little. This 13.5 figure seems to be
15 > incorrect, in another try it was also shown at the beginning, but then
16 > quickly got up to >20. Also, a buddy just told me that this 4k stuff applies
17 > only to most recent drives, as old as 5 months or so.
18 >
19 > When I use parted on the drives, it says (both the old external and my 2
20 > months old internal):
21 > Sector size (logical/physical): 512B/512B
22 > So no speedup for me then. :-/
23
24 Frank,
25 As best I can tell so far none of the Linux tools will tell you
26 that the sectors are 4K. I had to go to the WD web site and find the
27 actual drive specs to discover that was true.
28
29 As far as I know so far there isn't a big improvement to be had
30 when the sector size is 512B.
31
32 - Mark

Replies

Subject Author
Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far Iain Buchanan <iaindb@××××××××××××.au>