Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far
Date: Wed, 10 Feb 2010 01:03:39
Message-Id: 1265761896.3193.47.camel@localhost
In Reply to: Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far by Mark Knecht
1 On Tue, 2010-02-09 at 14:54 -0800, Mark Knecht wrote:
2 > On Tue, Feb 9, 2010 at 1:13 PM, Frank Steinmetzger <Warp_7@×××.de> wrote:
3
4
5 > > When I use parted on the drives, it says (both the old external and my 2
6 > > months old internal):
7 > > Sector size (logical/physical): 512B/512B
8 > > So no speedup for me then. :-/
9
10 so does mine :)
11
12 > Frank,
13 > As best I can tell so far none of the Linux tools will tell you
14 > that the sectors are 4K. I had to go to the WD web site and find the
15 > actual drive specs to discover that was true.
16
17 however if you use dmesg:
18 $ dmesg | grep ata
19 ata1: SATA max UDMA/133 irq_stat 0x00400040, connection status changed
20 irq 17
21 ata2: DUMMY
22 ata3: SATA max UDMA/133 abar m2048@0xf6ffb800 port 0xf6ffba00 irq 17
23 ioatdma: Intel(R) QuickData Technology Driver 4.00
24 ata3: SATA link down (SStatus 0 SControl 300)
25 ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
26 ata1.00: ATA-7: ST9160823ASG, 3.ADD, max UDMA/133
27 ata1.00: 312581808 sectors, multi 8: LBA48 NCQ (depth 31/32)
28 ...
29
30 you can look up your drive model number (in my case ST9160823ASG) and
31 find out the details. (That's a Seagate Momentus 160Gb with actual 512
32 byte sectors).
33
34 saves having to open up your laptop / pc if you didn't order the drive
35 separately or you've forgotten.
36 --
37 Iain Buchanan <iaindb at netspace dot net dot au>
38
39 polygon:
40 Dead parrot.

Replies

Subject Author
Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far Mark Knecht <markknecht@×××××.com>