* LX164 IDE - fast - working!!!
@ 1998-08-08 19:13 Dave Gilbert
1998-08-08 20:32 ` Wes Bauske
1998-08-09 20:00 ` Adam C. Powell, IV
0 siblings, 2 replies; 12+ messages in thread
From: Dave Gilbert @ 1998-08-08 19:13 UTC (permalink / raw)
To: axp-list; +Cc: ecd, davem
Hi,
2.1.115 includes support for the CMD-646 chip used on both the
Alpha LX164 boards and on the new UltraSparc/PCI systems however
by default it can not be enabled.
Go in and edit:
drivers/block/Config.in and just under the line about NS87415 support
add:
bool ' CMD646 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_CMD646
reconfigure your kernel, compile, and sit back!
OK - I've only tried a simple 'dd' based timing test
but my IDE drive which used to do 1.9MB/s is now shifting in excess
of 7MB/s and at only 9% CPU.
Looking at the code it looks like if you have particular revisions
of the CMD646 chip, (rev 5 I think) it may do UDMA - unfortunatly
I only have rev 1.
As I say I've only tried a simple test, so be careful - but
at last it might mean that the LX is usable with IDE.
Please join me in awarding the golden-penguin award to Dave Miller
and Eddie Dost for this achievment.
Wow!
Dave
P.S. Thinking about buying a nice new 16GB IDE drive.
--------------------------------------------------------------------
/ Dr. David Alan Gilbert | Running Linux on Alpha & ARM \
\ gro.gilbert @ treblig.org | ------- Happy in hex ------- /
\____________________________|___ http://www.treblig.demon.co.uk __/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LX164 IDE - fast - working!!!
1998-08-08 19:13 LX164 IDE - fast - working!!! Dave Gilbert
@ 1998-08-08 20:32 ` Wes Bauske
1998-08-09 20:00 ` Adam C. Powell, IV
1 sibling, 0 replies; 12+ messages in thread
From: Wes Bauske @ 1998-08-08 20:32 UTC (permalink / raw)
To: axp-list
Dave Gilbert wrote:
>
> Hi,
> 2.1.115 includes support for the CMD-646 chip used on both the
> Alpha LX164 boards and on the new UltraSparc/PCI systems however
> by default it can not be enabled.
>
> Go in and edit:
>
> drivers/block/Config.in and just under the line about NS87415 support
> add:
>
> bool ' CMD646 chipset support (EXPERIMENTAL)' CONFIG_BLK_DEV_CMD646
>
> reconfigure your kernel, compile, and sit back!
>
> OK - I've only tried a simple 'dd' based timing test
> but my IDE drive which used to do 1.9MB/s is now shifting in excess
> of 7MB/s and at only 9% CPU.
>
> Looking at the code it looks like if you have particular revisions
> of the CMD646 chip, (rev 5 I think) it may do UDMA - unfortunatly
> I only have rev 1.
>
> As I say I've only tried a simple test, so be careful - but
> at last it might mean that the LX is usable with IDE.
>
> Please join me in awarding the golden-penguin award to Dave Miller
> and Eddie Dost for this achievment.
>
> Wow!
>
> Dave
>
> P.S. Thinking about buying a nice new 16GB IDE drive.
This is good news!!
FWIW, I have two IBM 16.8 GB UDMA drives in Intel boxes
with DMA enabled and get 9-11MB/sec with sequential
accesses (my favorite kind in my line of work).
Test file sizes were 200MB+.
They're fast...
Wes
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LX164 IDE - fast - working!!!
1998-08-08 19:13 LX164 IDE - fast - working!!! Dave Gilbert
1998-08-08 20:32 ` Wes Bauske
@ 1998-08-09 20:00 ` Adam C. Powell, IV
1998-08-09 21:05 ` Dave Gilbert
1 sibling, 1 reply; 12+ messages in thread
From: Adam C. Powell, IV @ 1998-08-09 20:00 UTC (permalink / raw)
To: axp-list
Dave Gilbert wrote:
> OK - I've only tried a simple 'dd' based timing test
> but my IDE drive which used to do 1.9MB/s is now shifting in excess
> of 7MB/s and at only 9% CPU.
Amazing, it really works! I got about a factor of 3 speedup between 2.1.111
and 2.1.115; ran the same dd again and it was 8 times faster than under
2.1.111! (Probably because of caching somewhere?)
However, on startup, I get a lot of troubling messages- "partition failed to
mount" and such. There were so many, I was almost expecting it to just
mount everything without DMA; but it did in fact work.
Should all of those warnings be a cause for concern? Or should I just leave
well enough alone and be happy? :-)
> Please join me in awarding the golden-penguin award to Dave Miller
> and Eddie Dost for this achievment.
>
> Wow!
Agreed!!
Zeen,
-Adam `Cold Fusion' Powell, IV _/\_ http://www.ctcms.nist.gov/~powell/
Call with Netscape Conference! \/ http://dls.netscape.com/ ____
USDoC, National Institute of Standards & Technology (NIST) |\ ||< |
Center for Theoretical and Computational Materials Science | \||_> |
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LX164 IDE - fast - working!!!
1998-08-09 20:00 ` Adam C. Powell, IV
@ 1998-08-09 21:05 ` Dave Gilbert
1998-08-10 16:41 ` Adam C. Powell, IV
0 siblings, 1 reply; 12+ messages in thread
From: Dave Gilbert @ 1998-08-09 21:05 UTC (permalink / raw)
To: axp-list
On Sun, 9 Aug 1998, Adam C. Powell, IV wrote:
> Amazing, it really works! I got about a factor of 3 speedup between 2.1.111
> and 2.1.115; ran the same dd again and it was 8 times faster than under
> 2.1.111! (Probably because of caching somewhere?)
>
> However, on startup, I get a lot of troubling messages- "partition failed to
> mount" and such. There were so many, I was almost expecting it to just
> mount everything without DMA; but it did in fact work.
Hmm - I don't think I got any messages like that - could you
please share the messages with the list ?
Dave
--------------------------------------------------------------------
/ Dr. David Alan Gilbert | Running Linux on Alpha & ARM \
\ gro.gilbert @ treblig.org | ------- Happy in hex ------- /
\____________________________|___ http://www.treblig.demon.co.uk __/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LX164 IDE - fast - working!!!
1998-08-09 21:05 ` Dave Gilbert
@ 1998-08-10 16:41 ` Adam C. Powell, IV
1998-08-10 16:45 ` Harvey J. Stein
1998-08-11 0:16 ` Jeff Auwaerter
0 siblings, 2 replies; 12+ messages in thread
From: Adam C. Powell, IV @ 1998-08-10 16:41 UTC (permalink / raw)
To: axp-list
Dave Gilbert wrote:
> Hmm - I don't think I got any messages like that - could you
> please share the messages with the list ?
Okay, I was wrong, I'm not getting the DMA performance enhancements. There must
be some kind of cache that persists through a reboot, because right after reboot
I had a 3x speedup; immediately after that an 8x speedup; but after doing a
couple of large builds and such and testing again, there was no speedup at all
vs. 2.1.111. :-(
Does Linux store the boot messages somewhere so I don't have to reboot and try to
remember everything I saw?
Thanks very much!
-Adam `Cold Fusion' Powell, IV _/\_ http://www.ctcms.nist.gov/~powell/
Call with Netscape Conference! \/ http://dls.netscape.com/ ____
USDoC, National Institute of Standards & Technology (NIST) |\ ||< |
Center for Theoretical and Computational Materials Science | \||_> |
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LX164 IDE - fast - working!!!
1998-08-10 16:41 ` Adam C. Powell, IV
@ 1998-08-10 16:45 ` Harvey J. Stein
1998-08-18 18:19 ` Adam C. Powell, IV
1998-08-11 0:16 ` Jeff Auwaerter
1 sibling, 1 reply; 12+ messages in thread
From: Harvey J. Stein @ 1998-08-10 16:45 UTC (permalink / raw)
To: axp-list; +Cc: hjstein
"Adam C. Powell, IV" <adam.powell@nist.gov> writes:
> Dave Gilbert wrote:
>
> > Hmm - I don't think I got any messages like that - could you
> > please share the messages with the list ?
>
> Okay, I was wrong, I'm not getting the DMA performance enhancements. There must
> be some kind of cache that persists through a reboot, because right after reboot
> I had a 3x speedup; immediately after that an 8x speedup; but after doing a
> couple of large builds and such and testing again, there was no speedup at all
> vs. 2.1.111. :-(
>
> Does Linux store the boot messages somewhere so I don't have to reboot and try to
> remember everything I saw?
1. There's no cache that persists through a reboot.
2. The above numbers could be explained by a cache getting built up
quickly but eventually getting flushed by the large builds.
3. You can get boot messages from dmesg. You should be able to get
them from /var/log. Messages printed by the startup scripts (stuff
in /etc/rc.d/...) are lost. You could try cut & paste...
--
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LX164 IDE - fast - working!!!
1998-08-10 16:41 ` Adam C. Powell, IV
1998-08-10 16:45 ` Harvey J. Stein
@ 1998-08-11 0:16 ` Jeff Auwaerter
1 sibling, 0 replies; 12+ messages in thread
From: Jeff Auwaerter @ 1998-08-11 0:16 UTC (permalink / raw)
To: axp-list
try "dmesg"
Adam C. Powell, IV wrote:
> Dave Gilbert wrote:
>
> > Hmm - I don't think I got any messages like that - could you
> > please share the messages with the list ?
>
> Okay, I was wrong, I'm not getting the DMA performance enhancements. There must
> be some kind of cache that persists through a reboot, because right after reboot
> I had a 3x speedup; immediately after that an 8x speedup; but after doing a
> couple of large builds and such and testing again, there was no speedup at all
> vs. 2.1.111. :-(
>
> Does Linux store the boot messages somewhere so I don't have to reboot and try to
> remember everything I saw?
>
> Thanks very much!
>
> -Adam `Cold Fusion' Powell, IV _/\_ http://www.ctcms.nist.gov/~powell/
> Call with Netscape Conference! \/ http://dls.netscape.com/ ____
> USDoC, National Institute of Standards & Technology (NIST) |\ ||< |
> Center for Theoretical and Computational Materials Science | \||_> |
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LX164 IDE - fast - working!!!
1998-08-10 16:45 ` Harvey J. Stein
@ 1998-08-18 18:19 ` Adam C. Powell, IV
1998-08-18 19:43 ` Adam C. Powell, IV
0 siblings, 1 reply; 12+ messages in thread
From: Adam C. Powell, IV @ 1998-08-18 18:19 UTC (permalink / raw)
To: axp-list
Okay, first of all, I feel really stupid because I didn't turn on IDE DMA in make
config until today! (Was adding sound card support and noticed IDEDMA was not set!)
But I rebooted, and got a bunch of error messages as I said last time.
Harvey J. Stein wrote:
> 3. You can get boot messages from dmesg. You should be able to get
> them from /var/log. Messages printed by the startup scripts (stuff
> in /etc/rc.d/...) are lost. You could try cut & paste...
Okay, I found /var/log/dmesg, which has the boot messages, of which the relevant lines
seem to be:
CMD646: IDE controller on PCI bus 00 dev 58
CMD646: not 100% native mode: will probe irqs later
device_interrupt: unexpected interrupt 3
device_interrupt: unexpected interrupt 4
device_interrupt: unexpected interrupt 14
hda: QUANTUM FIREBALL SE4.3A, ATA DISK drive
hdb: TOSHIBA CD-ROM XM-6102B, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: QUANTUM FIREBALL SE4.3A, 4110MB w/80kB Cache, CHS=14848/9/63, DMA
hdb: ATAPI 24X CDROM drive, 256kB Cache
Uniform CDROM driver Revision: 2.13
Floppy drive(s): fd0 is 2.88M
FDC 0 is a post-1991 82077
Seems okay; then we have SCSI and ethernet, and then...
Partition check:
hda:hda: dma_intr: bad DMA status
hda: dma_intr: status=0x50 { DriveReady SeekComplete }
hda: dma_intr: bad DMA status
hda: dma_intr: status=0x50 { DriveReady SeekComplete }
hda: dma_intr: bad DMA status
hda: dma_intr: status=0x50 { DriveReady SeekComplete }
hda: dma_intr: bad DMA status
hda: dma_intr: status=0x50 { DriveReady SeekComplete }
hda: DMA disabled
ide0: reset: success
hda1 hda2 hda3 hda4
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 88k freed
Adding Swap: 262224k swap-space (priority -1)
device_interrupt: unexpected interrupt 5
cdrom: open failed.
(I assume the last line is because there's no CD in the drive.)
Any ideas on why DMA isn't working?
Thanks, and sorry for the delay, and the stupidity. I'm so ashamed!
Zeen,
-Adam `Cold Fusion' Powell, IV _/\_ http://www.ctcms.nist.gov/~powell/
Call with Netscape Conference! \/ http://dls.netscape.com/ ____
USDoC, National Institute of Standards & Technology (NIST) |\ ||< |
Center for Theoretical and Computational Materials Science | \||_> |
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LX164 IDE - fast - working!!!
1998-08-18 18:19 ` Adam C. Powell, IV
@ 1998-08-18 19:43 ` Adam C. Powell, IV
1998-08-19 9:04 ` David Alan Gilbert
1998-08-20 9:09 ` Francois LAPERRUQUE
0 siblings, 2 replies; 12+ messages in thread
From: Adam C. Powell, IV @ 1998-08-18 19:43 UTC (permalink / raw)
To: axp-list
AHA! Finally went through drivers/block/Config.in and discovered that
for the CMD646 driver to be enabled, I needed to set
CONFIG_EXPERIMENTAL. So, here is Adam's big list of things to do to get
IDE DMA working on Linux-Alpha:
1. Check arch/alpha/config.in to make sure your architecture sets
CONFIG_PCI. (As far as I can tell, Jensen is the only one that
doesn't.)
2. (from Dave Gilbert) Go in and edit drivers/block/Config.in and just
under the line about NS87415 support add:
bool ' CMD646 chipset support (EXPERIMENTAL)'
CONFIG_BLK_DEV_CMD646
3. 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".
4. make dep; make clean; make boot; make modules; make modules_install
(though probably not all on one line)
5. Reboot, and "sit back" (Dave Gilbert again)!
On a dd time test, I get about 1/4 the clock time, and about 1/15 the
CPU time of my old non-DMA kernel. As they say in Jamaica, "Zeeen!"
Corrections? Comments? Flames? ("Adam, you should have known all that
from the beginning!")
Zeen,
-Adam `Cold Fusion' Powell, IV _/\_ http://www.ctcms.nist.gov/~powell/
Call with Netscape Conference! \/ http://dls.netscape.com/ ____
USDoC, National Institute of Standards & Technology (NIST) |\ ||< |
Center for Theoretical and Computational Materials Science | \||_> |
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LX164 IDE - fast - working!!!
1998-08-18 19:43 ` Adam C. Powell, IV
@ 1998-08-19 9:04 ` David Alan Gilbert
1998-08-20 7:22 ` Richard Henderson
1998-08-20 9:09 ` Francois LAPERRUQUE
1 sibling, 1 reply; 12+ messages in thread
From: David Alan Gilbert @ 1998-08-19 9:04 UTC (permalink / raw)
To: axp-list
Adam C. Powell, IV wrote:
<good explanation of the incantations needed>
> On a dd time test, I get about 1/4 the clock time, and about 1/15 the
> CPU time of my old non-DMA kernel. As they say in Jamaica, "Zeeen!"
>
> Corrections? Comments? Flames? ("Adam, you should have known all that
> from the beginning!")
Ah good; its repeatable :-)
Could the people with their hand on the kernel please sneak the
extra line into the config file for the next release!
Dave
--
----------------------------------------------------------------------
- Dr. David Alan Gilbert - WARNING! This is a beta release .signature-
- Work: dg @ cogency.co.uk - +44-(0)161-428-9444 -
- Home: gro.gilbert @ treblig.org - -
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LX164 IDE - fast - working!!!
1998-08-19 9:04 ` David Alan Gilbert
@ 1998-08-20 7:22 ` Richard Henderson
0 siblings, 0 replies; 12+ messages in thread
From: Richard Henderson @ 1998-08-20 7:22 UTC (permalink / raw)
To: axp-list
On Wed, Aug 19, 1998 at 10:04:59AM +0100, David Alan Gilbert wrote:
> Could the people with their hand on the kernel please sneak the
> extra line into the config file for the next release!
It's in my latest patch set.
r~
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: LX164 IDE - fast - working!!!
1998-08-18 19:43 ` Adam C. Powell, IV
1998-08-19 9:04 ` David Alan Gilbert
@ 1998-08-20 9:09 ` Francois LAPERRUQUE
1 sibling, 0 replies; 12+ messages in thread
From: Francois LAPERRUQUE @ 1998-08-20 9:09 UTC (permalink / raw)
To: axp-list
> doesn't.)
>
> 2. (from Dave Gilbert) Go in and edit drivers/block/Config.in and just
> under the line about NS87415 support add:
>
> bool ' CMD646 chipset support (EXPERIMENTAL)'
> CONFIG_BLK_DEV_CMD646
>
> On a dd time test, I get about 1/4 the clock time, and about 1/15 the
> CPU time of my old non-DMA kernel. As they say in Jamaica, "Zeeen!"
> Call with Netscape Conference! \/ http://dls.netscape.com/ ____
> USDoC, National Institute of Standards & Technology (NIST) |\ ||< |
> Center for Theoretical and Computational Materials Science | \||_> |
>
>
Does such a driver exists for 21164SX motherboards?
--
Francois
--
mailto:flap@germinal.toulouse.inra.fr
---------------------- [ LINUX : just boot it! ] -------------------------
Linux-CULTe http://savage.iut-blagnac.fr/
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~1998-08-20 9:10 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-08 19:13 LX164 IDE - fast - working!!! Dave Gilbert
1998-08-08 20:32 ` Wes Bauske
1998-08-09 20:00 ` Adam C. Powell, IV
1998-08-09 21:05 ` Dave Gilbert
1998-08-10 16:41 ` Adam C. Powell, IV
1998-08-10 16:45 ` Harvey J. Stein
1998-08-18 18:19 ` Adam C. Powell, IV
1998-08-18 19:43 ` Adam C. Powell, IV
1998-08-19 9:04 ` David Alan Gilbert
1998-08-20 7:22 ` Richard Henderson
1998-08-20 9:09 ` Francois LAPERRUQUE
1998-08-11 0:16 ` Jeff Auwaerter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox