From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32573 invoked from network); 12 Nov 1998 16:22:09 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 12 Nov 1998 16:22:09 -0000 Received: from email.nist.gov (email.nist.gov [129.6.2.7]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA18310 for ; Thu, 12 Nov 1998 11:22:08 -0500 Received: from nist.gov (lurch.nist.gov [129.6.153.40]) by email.nist.gov (8.9.1/8.9.1) with ESMTP id LAA12379 for ; Thu, 12 Nov 1998 11:20:49 -0500 (EST) Sender: powell@email.nist.gov Message-ID: <364B0B2B.D003F3A9@nist.gov> Date: Thu, 12 Nov 1998 11:22:03 -0500 From: "Adam C. Powell, IV" Organization: National Institute of Standards and Technology X-Mailer: Mozilla 4.5C-SGI [en] (X11; U; IRIX64 6.5 IP27) X-Accept-Language: en-US,en-GB MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: LX164 Eide motherboard DMA? References: <199811110243.VAA06772@bethe.clarku.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 | \||_> |