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: Wed, 10 Feb 2010 02:09:56
Message-Id: 5bdc1c8b1002091727l2a6dc25te33e4885fa1c18de@mail.gmail.com
In Reply to: Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far by Iain Buchanan
1 On Tue, Feb 9, 2010 at 4:31 PM, Iain Buchanan <iaindb@××××××××××××.au> wrote:
2 > On Tue, 2010-02-09 at 14:54 -0800, Mark Knecht wrote:
3 >> On Tue, Feb 9, 2010 at 1:13 PM, Frank Steinmetzger <Warp_7@×××.de> wrote:
4 >
5 >
6 >> > When I use parted on the drives, it says (both the old external and my 2
7 >> > months old internal):
8 >> > Sector size (logical/physical): 512B/512B
9 >> > So no speedup for me then. :-/
10 >
11 > so does mine :)
12 >
13 >> Frank,
14 >>    As best I can tell so far none of the Linux tools will tell you
15 >> that the sectors are 4K. I had to go to the WD web site and find the
16 >> actual drive specs to discover that was true.
17 >
18 > however if you use dmesg:
19 > $ dmesg | grep ata
20 > ata1: SATA max UDMA/133 irq_stat 0x00400040, connection status changed
21 > irq 17
22 > ata2: DUMMY
23 > ata3: SATA max UDMA/133 abar m2048@0xf6ffb800 port 0xf6ffba00 irq 17
24 > ioatdma: Intel(R) QuickData Technology Driver 4.00
25 > ata3: SATA link down (SStatus 0 SControl 300)
26 > ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
27 > ata1.00: ATA-7: ST9160823ASG, 3.ADD, max UDMA/133
28 > ata1.00: 312581808 sectors, multi 8: LBA48 NCQ (depth 31/32)
29 > ...
30 >
31 > you can look up your drive model number (in my case ST9160823ASG) and
32 > find out the details.  (That's a Seagate Momentus 160Gb with actual 512
33 > byte sectors).
34 >
35 > saves having to open up your laptop / pc if you didn't order the drive
36 > separately or you've forgotten.
37 > --
38 > Iain Buchanan <iaindb at netspace dot net dot au>
39 >
40 > polygon:
41 >        Dead parrot.
42 >
43 >
44 >
45
46 Consider as an alternative "hdparm dash capital eye". Note that is the
47 1TB drive and it still suggests 512B Logical/Physical sector size so
48 I'd still have to go find out for sure but there's lots of easily
49 readable info there to make it reasonably easy.
50
51 - Mark
52
53
54 gandalf ~ # hdparm -I /dev/sda
55
56 /dev/sda:
57
58 ATA device, with non-removable media
59 Model Number: WDC WD10EARS-00Y5B1
60 Serial Number: WD-WCAV55464493
61 Firmware Revision: 80.00A80
62 Transport: Serial, SATA 1.0a, SATA II Extensions, SATA Rev
63 2.5, SATA Rev 2.6
64 Standards:
65 Supported: 8 7 6 5
66 Likely used: 8
67 Configuration:
68 Logical max current
69 cylinders 16383 16383
70 heads 16 16
71 sectors/track 63 63
72 --
73 CHS current addressable sectors: 16514064
74 LBA user addressable sectors: 268435455
75 LBA48 user addressable sectors: 1953525168
76 Logical/Physical Sector size: 512 bytes
77 device size with M = 1024*1024: 953869 MBytes
78 device size with M = 1000*1000: 1000204 MBytes (1000 GB)
79 cache/buffer size = unknown
80 Capabilities:
81 LBA, IORDY(can be disabled)
82 Queue depth: 32
83 Standby timer values: spec'd by Standard, with device specific minimum
84 R/W multiple sector transfer: Max = 16 Current = 16
85 Recommended acoustic management value: 128, current value: 128
86 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
87 Cycle time: min=120ns recommended=120ns
88 PIO: pio0 pio1 pio2 pio3 pio4
89 Cycle time: no flow control=120ns IORDY flow control=120ns
90 Commands/features:
91 Enabled Supported:
92 * SMART feature set
93 Security Mode feature set
94 * Power Management feature set
95 * Write cache
96 * Look-ahead
97 * Host Protected Area feature set
98 * WRITE_BUFFER command
99 * READ_BUFFER command
100 * NOP cmd
101 * DOWNLOAD_MICROCODE
102 Power-Up In Standby feature set
103 * SET_FEATURES required to spinup after power up
104 SET_MAX security extension
105 * Automatic Acoustic Management feature set
106 * 48-bit Address feature set
107 * Device Configuration Overlay feature set
108 * Mandatory FLUSH_CACHE
109 * FLUSH_CACHE_EXT
110 * SMART error logging
111 * SMART self-test
112 * General Purpose Logging feature set
113 * 64-bit World wide name
114 * {READ,WRITE}_DMA_EXT_GPL commands
115 * Segmented DOWNLOAD_MICROCODE
116 * Gen1 signaling speed (1.5Gb/s)
117 * Gen2 signaling speed (3.0Gb/s)
118 * Native Command Queueing (NCQ)
119 * Host-initiated interface power management
120 * Phy event counters
121 * NCQ priority information
122 * DMA Setup Auto-Activate optimization
123 * Software settings preservation
124 * SMART Command Transport (SCT) feature set
125 * SCT Features Control (AC4)
126 * SCT Data Tables (AC5)
127 unknown 206[12] (vendor specific)
128 unknown 206[13] (vendor specific)
129 Security:
130 Master password revision code = 65534
131 supported
132 not enabled
133 not locked
134 frozen
135 not expired: security count
136 supported: enhanced erase
137 200min for SECURITY ERASE UNIT. 200min for ENHANCED SECURITY ERASE UNIT.
138 Logical Unit WWN Device Identifier: 50014ee2ae6b5ffe
139 NAA : 5
140 IEEE OUI : 0014ee
141 Unique ID : 2ae6b5ffe
142 Checksum: correct
143 gandalf ~ #

Replies

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