danjde
12th January 2012, 07:57 AM
Hi friends,
i would know if exist o,ne method for analyze or debug the hd speed (in my case sata) and discover the causes of a slow disk;
I launched hdparm (hdparm -iI) and all seem ok, but the harddisk seem to me very slow (perhaps the controller?).
this is the result o hdparm:
hdparm -iI /dev/sda
/dev/sda:
Model=ST3250310AS, FwRev=3.AAF, SerialNo=6RYE2JVF
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=488397168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 udma6
AdvancedPM=no WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5,6,7
* signifies the current active mode
ATA device, with non-removable media
Model Number: ST3250310AS
Serial Number: 6RYE2JVF
Firmware Revision: 3.AAF
Standards:
Supported: 7 6 5 4
Likely used: 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 488397168
Logical Sector size: 512 bytes
Physical Sector size: 512 bytes
device size with M = 1024*1024: 238475 MBytes
device size with M = 1000*1000: 250059 MBytes (250 GB)
cache/buffer size = 8192 KBytes
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 208, current value: 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* DOWNLOAD_MICROCODE
SET_MAX security extension
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
Write-Read-Verify feature set
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Native Command Queueing (NCQ)
* Phy event counters
Device-initiated interface power management
* Software settings preservation
* SMART Command Transport (SCT) feature set
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
Checksum: correct
i've also test the disk speed, but i don't know if the range speed is normal:
[hdparm -I /dev/sda | grep -i speed
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1584 MB in 2.00 seconds = 792.10 MB/sec
Timing buffered disk reads: 130 MB in 3.04 seconds = 42.75 MB/sec
[root@cosmogonia vage]# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1620 MB in 2.00 seconds = 810.57 MB/sec
Timing buffered disk reads: 180 MB in 3.05 seconds = 59.03 MB/sec
[root@cosmogonia vage]# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1662 MB in 2.00 seconds = 830.36 MB/sec
Timing buffered disk reads: 180 MB in 3.03 seconds = 59.39 MB/sec
[root@cosmogonia vage]# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1578 MB in 2.00 seconds = 789.08 MB/sec
Timing buffered disk reads: 172 MB in 3.03 seconds = 56.73 MB/sec
[root@cosmogonia vage]# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1604 MB in 2.00 seconds = 802.70 MB/sec
Timing buffered disk reads: 170 MB in 3.02 seconds = 56.34 MB/sec
any suggestion?
many many thanks!!
davide
i would know if exist o,ne method for analyze or debug the hd speed (in my case sata) and discover the causes of a slow disk;
I launched hdparm (hdparm -iI) and all seem ok, but the harddisk seem to me very slow (perhaps the controller?).
this is the result o hdparm:
hdparm -iI /dev/sda
/dev/sda:
Model=ST3250310AS, FwRev=3.AAF, SerialNo=6RYE2JVF
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=488397168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 udma6
AdvancedPM=no WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5,6,7
* signifies the current active mode
ATA device, with non-removable media
Model Number: ST3250310AS
Serial Number: 6RYE2JVF
Firmware Revision: 3.AAF
Standards:
Supported: 7 6 5 4
Likely used: 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 488397168
Logical Sector size: 512 bytes
Physical Sector size: 512 bytes
device size with M = 1024*1024: 238475 MBytes
device size with M = 1000*1000: 250059 MBytes (250 GB)
cache/buffer size = 8192 KBytes
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 208, current value: 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* DOWNLOAD_MICROCODE
SET_MAX security extension
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
Write-Read-Verify feature set
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Native Command Queueing (NCQ)
* Phy event counters
Device-initiated interface power management
* Software settings preservation
* SMART Command Transport (SCT) feature set
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
Checksum: correct
i've also test the disk speed, but i don't know if the range speed is normal:
[hdparm -I /dev/sda | grep -i speed
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1584 MB in 2.00 seconds = 792.10 MB/sec
Timing buffered disk reads: 130 MB in 3.04 seconds = 42.75 MB/sec
[root@cosmogonia vage]# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1620 MB in 2.00 seconds = 810.57 MB/sec
Timing buffered disk reads: 180 MB in 3.05 seconds = 59.03 MB/sec
[root@cosmogonia vage]# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1662 MB in 2.00 seconds = 830.36 MB/sec
Timing buffered disk reads: 180 MB in 3.03 seconds = 59.39 MB/sec
[root@cosmogonia vage]# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1578 MB in 2.00 seconds = 789.08 MB/sec
Timing buffered disk reads: 172 MB in 3.03 seconds = 56.73 MB/sec
[root@cosmogonia vage]# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1604 MB in 2.00 seconds = 802.70 MB/sec
Timing buffered disk reads: 170 MB in 3.02 seconds = 56.34 MB/sec
any suggestion?
many many thanks!!
davide