From: "Adam C. Powell, IV" <adam.powell@nist.gov>
To: axp-list@redhat.com
Subject: Re: LX164 Eide motherboard DMA?
Date: Thu, 12 Nov 1998 11:22:03 -0500 [thread overview]
Message-ID: <364B0B2B.D003F3A9@nist.gov> (raw)
In-Reply-To: 199811110243.VAA06772@bethe.clarku.edu
Greg Johnson wrote:
>
> >
> > I did hdparm on my Alpha 164LX EIDE hrad drives and was getting about
> > 1.5M/sec.
> > I did on a ASUS K6 EIDE and was getting about 5.5 and using a 2940UW SCSI
> > I was getting 5.5 and 9.1 depending on the the drive. I wuols like to
> > increase the Alpha 164LX EIDE speed, which kernel optimization/switches
> > should I compile with to get better hard disk speed(DMA on,...)? I am
> > using kernel 2.1.127 ( I had to comment out SMP=1 in the make file)
My directions from August 18 on how to configure a CMD646-capable
kernel:
1. (from Dave Gilbert) Go in and edit drivers/block/Config.in and just
under the line about NS87415 support add (one line, unnecessary for
2.1.126 and above):
bool ' CMD646 chipset support (EXPERIMENTAL)'
CONFIG_BLK_DEV_CMD646
2. Re-configure the kernel, making sure to:
- Answer 'y' to "Prompt for development and/or incomplete
code/drivers", which should be the first question.
- Answer 'y' to "Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support".
- Answer 'y' to "Generic PCI IDE chipset support", "Generic PCI
bus-master DMA support", and "Use DMA by default when available".
- Finally, answer 'y' to "CMD646 chipset support".
> I have seen this as well. It WAS working around 2.1.120 or so. There was a
> patch to a Config.in file to enable the DMA option for the CMD646. I got more
> than 9MB/sec. with kernel 2.1.120. Unfortunately, DMA is now broken. Without
> the config option for CMD646 I get 1.5MB/s. Even with the CMD646 option on I
> only get about 5.5MB/sec AND I get a fair amount of messages like:
>
> hda: dma_intr: bad DMA status
> hda: dma_intr: status=0x50 { DriveReady SeekComplete }
>
> You are the first other person I've seen report this, and I haven't had time to
> look into it further. I hope it gets fixed. If anyone has any suggestions,
> please let me know.
I reported this on August 18 (an hour before posting the above
solution). The problem: I wasn't setting _all_ of the proper
configuration flags as above.
So you were getting faster transfers under 2.1.120 than .127? I have
noticed no performance differences from .115 (when CMD646 first
appeared) to .125 (.126 and .127 didn't boot; haven't applied
yesterday's .127 patch by Nikita Schmidt). I don't know how hdparm
works, but my little dd tests only work once per reboot because of
Linux's extensive caching. I never got more than 3-4x speedup (but with
1/4 the CPU load), so I'm amazed by your 9 MB/s number for .120.
Please elaborate...
-Adam `Cold Fusion' Powell, IV http://www.ctcms.nist.gov/~powell/ ____
USDoC, National Institute of Standards & Technology (NIST) |\ ||< |
Center for Theoretical and Computational Materials Science | \||_> |
next prev parent reply other threads:[~1998-11-12 16:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-07 7:25 Kernel .126 compile problem - acct.c y0000218
1998-11-07 19:54 ` Michal Jaegermann
1998-11-11 0:50 ` LX164 Eide motherboard DMA? savages
1998-11-11 2:43 ` Greg Johnson
1998-11-12 16:22 ` Adam C. Powell, IV [this message]
1998-11-11 2:47 ` Wes Bauske
1998-11-09 8:52 ` Kernel .126 compile problem - acct.c Francois LAPERRUQUE
1998-11-09 9:33 ` dmcgown
1998-11-09 10:38 ` Matthew Geier
1998-11-10 7:42 ` Peter Rye
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox