Re: SLOW fscks in 2.3.99-pre6

From: Pasi Kärkkäinen (pk@edu.joroinen.fi)
Date: Tue May 16 2000 - 12:02:18 EST


On Sun, 14 May 2000, James Sutherland wrote:
> On Sun, 14 May 2000, Pasi Kärkkäinen wrote:
> >
> > fscks seem to take ages on 2.3.99-pre6. Harddisks activity-led blinks only
> > now and then.. Under 2.2.15pre17 fscks run at the "normal" speed
> > (ie. couple of minutes max, under 2.3.99-pre6 it takes hours to
> > complete..)
> >
> > This happens at the boot-time.
> >
> > I tried 'hdparm -tT /dev/hda' also under both of these kernels:
> >
> > 2.2.15pre17:
> > /dev/hda:
> > Timing buffer-cache reads: 128 MB in 1.25 seconds =102.40 MB/sec
> > Timing buffered disk reads: 64 MB in 2.88 seconds = 22.22 MB/sec
> >
> > 2.3.99-pre6:
> > /dev/hda:
> > Timing buffer-cache reads: 128 MB in 1.27 seconds =100.79 MB/sec
> > Timing buffered disk reads: 64 MB in 15.76 seconds = 4.06 MB/sec
> >
> > Any ideas?
> >
> > I have PIII 450Mhz on Abit BF6 (BX-chipset).
> > the harddisk is: hda: IBM-DPTA-372730, ATA DISK drive
> >
> > Kernels are compiled with gcc 2.7.2.3.
> >
> > If you need any additional information, I can provide it.
>
> Hrm. Something's VERY wrong there... We've reached 2.2.15 and 2.3.99-pre9
> now; you might want to try them and see if there's any difference.
>
> Also, the output of "/sbin/hdparm /dev/hda" under both would help - see if
> a default setting has changed somewhere?
>
Sorry, this was my mistake. I had forgotten to enable automatic DMA turn
on on 2.3.99-pre6.

Now when the dma is automatically turn on, the fscks are fast again. I
still wonder, why is fsck so *slow* when the dma is not turned on?

When the dma is not on, fsck reads from the disk, "waits" ~5 seconds,
then again reads, waits ~5 seconds and so on..

- Pasi Kärkkäinen
       
                                   ^
                                . .
                                 Linux
                              / - \
                             Choice.of.the
                           .Next.Generation.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:11 EST