harddisk read speed is too slow
My box is Debian sid
kernel 2.6.7
I compiled the kernel 2.6.7 and i work well, but today i boot my computer, it took a long time to boot up.
Here is the test results of the harddisk.
#hdparm -v /dev/hda
/dev/hda:
multcount = 0 (off)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 40020664320, start = 0
#hdparm -tT /dev/hda
/dev/hda:
Timing cached reads: 408 MB in 2.02 seconds = 202.41 MB/sec
Timing buffered disk reads: 4 MB in 4.87 seconds = 841.89 kB/sec
#hdparm -i /dev/hda
/dev/hda:
Model=ST340810A, FwRev=3.39, SerialNo=3FB25C2X
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=off
CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=78165360
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=yes: unknown setting WriteCache=enabled
Drive conforms to: device does not report version:
* signifies the current active mode
So i come back to the old kernel 2.4.18
here is the results under kernel2.4.18
#hdparm -v /dev/hda
/dev/hda:
multcount = 0 (off)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 4865/255/63, sectors = 40020664320, start = 0
#hdparm -tT /dev/hda
/dev/hda:
Timing cached reads: 1008 MB in 2.00 seconds = 504.00 MB/sec
Timing buffered disk reads: 82 MB in 3.00 seconds = 27.33 MB/sec
The kernel 2.6.7 is compiled by myself and work fine for a long time.
How can I solve the problem?
Help!
Last edited by halcyon; 10-02-2004 at 02:31 AM.
|