Re: bugme #1217: "Use PCI DMA by default when available" does not work

From: Bartlomiej Zolnierkiewicz
Date: Sat Nov 22 2003 - 17:23:56 EST



Chris, please post output of 'lspci -vvv -xxx' - it will be very useful.
We can see what registers are programmed differently when autodma is off.

--bart

On Saturday 22 of November 2003 21:48, Chris Cheney wrote:
> I sent the following followup report to the bug I filed at
> bugme.osdl.org several months ago about my hpt372 ide controller being
> slow.
>
> I have determined what causes the dramatic slowdown problem. It is not
> drive specific but it may be specific to the hpt controllers. The
> problem is due to using automatic dma. If I don't have the following
> two options set in my kernel then it runs at full speed when I turn on
> dma with hdparm. Otherwise using automatic dma I get somewhere between
> a 50% - 700% slowdown on writes, reads seem to not be as badly affected.
> This is reproducible on both 2.4.23-rc1-xfs and 2.6.0-test9-bk24 (the
> two I tested on).
>
> CONFIG_IDEDMA_PCI_AUTO=3Dy=20
> CONFIG_IDEDMA_AUTO=3Dy=20

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