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

Re: HELP: UDMA/100 woes and trouble.



On Thursday 27 September 2001 05:53 pm, you wrote:
> > Yeah, it is a slow old K6 III 400 with some (320MB) PC100 in CAS3 (CAS2
> > was giving me trouble).  It's an old board, too.  I don't have anything
> > that'll let me do ATA66, I think I'd need a new motherboard or to buy an
> > IDE controller.
>
> What chipset does this thing use?  Is your kernel compiled to support it?

block: 128 slots per queue, batch=16
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xe400-0xe407, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xe408-0xe40f, BIOS settings: hdc:DMA, hdd:DMA
...
hda: QUANTUM BIGFOOT_CY6480A, ATA DISK drive
hdb: QUANTUM FIREBALLP LM30, ATA DISK drive
hdc: NEC CD-ROM DRIVE:282, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 12706470 sectors (6506 MB) w/67KiB Cache, CHS=790/255/63
hdb: 58633344 sectors (30020 MB) w/1900KiB Cache, CHS=3649/255/63
hdc: ATAPI 8X CD-ROM drive, 128kB Cache

It's an old VIA MVP3 chipset on a FIC 503+ board.

I think I compiled in support for it into my 2.4.9 kernel.

CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_BLK_DEV_IDEDISK_VENDOR is not set
# CONFIG_BLK_DEV_IDEDISK_FUJITSU is not set
# CONFIG_BLK_DEV_IDEDISK_IBM is not set
# CONFIG_BLK_DEV_IDEDISK_MAXTOR is not set
# CONFIG_BLK_DEV_IDEDISK_QUANTUM is not set
# CONFIG_BLK_DEV_IDEDISK_SEAGATE is not set
# CONFIG_BLK_DEV_IDEDISK_WD is not set
# CONFIG_BLK_DEV_COMMERIAL is not set
# CONFIG_BLK_DEV_TIVO is not set
# CONFIG_BLK_DEV_IDECS is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
CONFIG_BLK_DEV_IDESCSI=m

# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
# CONFIG_BLK_DEV_ISAPNP is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
....
CONFIG_IDEDMA_AUTO=y

> > I'll have to give that a shot... I guess I'll just have it do that on
> > startup if it works?
>
> hdparm -d1 /dev/hda, and then go -Tt it again.  Should show a difference,
> if the -d1 is allowed

nebula:/home/jasonb# hdparm -d1 /dev/hdb

/dev/hdb:
 setting using_dma to 1 (on)
 using_dma    =  1 (on)
nebula:/home/jasonb# hdparm -t -T /dev/hdb

/dev/hdb:
 Timing buffer-cache reads:   128 MB in  2.03 seconds = 63.05 MB/sec
 Timing buffered disk reads:  64 MB in  4.54 seconds = 14.10 MB/sec

Yeah, that about doubled performance.

I guess last time I played with too many settings.  I started to change stuff 
like the multcount and the IO support and the unmaskirq and I ended up 
slowing it down a lot...

Thanks. :)

> Mike



Reply to: