Comment 42 for bug 96693

Revision history for this message
Shirish Agarwal (shirishag75) wrote :

Hi all,
  I just did a clean install just couple of days ago. Now on Intrepid but the issue persists, infacts this has become insane.

Default timings

 sudo hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads: 426 MB in 2.00 seconds = 212.75 MB/sec
 Timing buffered disk reads: 86 MB in 3.04 seconds = 28.26 MB/sec

Setting the hdd's for best performance

sudo hdparm -a1 -A1 -d1 /dev/sda

/dev/sda:
 setting fs readahead to 1
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Inappropriate ioctl for device
 setting drive read-lookahead to 1 (on)
 HDIO_GET_DMA failed: Inappropriate ioctl for device
 readahead = 0 (off)
 look-ahead = 1 (on)

Again doing the test

sudo hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads: 398 MB in 2.00 seconds = 198.59 MB/sec
 Timing buffered disk reads: 30 MB in 3.13 seconds = 9.58 MB/sec

It has actually has come down :(

This is on kernel 2.6.27-7-generic

Just for info. here are the hard disk details again :-

sudo hdparm -i /dev/sda

/dev/sda:

 Model=SAMSUNG SP0802N , FwRev=TK100-24, SerialNo=S00JJ10X390473
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4
 BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=?16?
 CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=156368016
 IORDY=on/off, tPIO={min:240,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
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: ATA/ATAPI-7 T13 1532D revision 0: ATA/ATAPI-1,2,3,4,5,6,7

 * signifies the current active mode