[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Incredibly slow to boot - any ideas?



N.Pauli wrote:
On Fri, 31 Mar, Brian Schrock wrote:

debianoak:/home/nbp# hdparm -tT /dev/hda

/dev/hda:
Timing cached reads:   1192 MB in  2.00 seconds = 595.20 MB/sec
Timing buffered disk reads:    6 MB in  3.24 seconds =   1.85 MB/sec

[...]

That is not even close to reasonable. I have never seen buffered reads THAT bad.

[...]

Do this too if you want some more information on your drives.

hdparm -I /dev/hda



Thanks, Brian for the reality check! I did what you suggested and the info below returned instantly.
*******
debianoak:/home/nbp# hdparm -I /dev/hda

/dev/hda:

ATA device, with non-removable media
        Model Number:       Maxtor 2F040L0
        Serial Number:      F1AS6MYE
        Firmware Revision:  VAM51JJ0

[...]

        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
             Cycle time: min=120ns recommended=120ns

Maybe DMA is not turned on for your harddisk. (I am not sure if the
"*udma6" is conclusive.) Check the output of "hdparm /dev/hda". It might
be that your initrd was rebuilt during an upgrade and now the necessary
modules do not load at the right time anymore. (That seems to be a
relatively common cause of problems lately.) If DMA is indeed disabled
then you have to fix this first.

You could also run the "hdparm -tT /dev/hda" test after you switch to
single user mode, then you know immediately if gconfd (or another
process) causes the slowness or if it is due to the harddisk drivers.

Regards,
           Florian



Reply to: