Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* IDE Performance on API CS20
@ 2001-09-21 13:56 Keith McGerald
  2001-09-21 15:15 ` 'Bryce'
  2001-09-21 16:00 ` IDE Performance on API CS20 Craig Tierney
  0 siblings, 2 replies; 7+ messages in thread
From: Keith McGerald @ 2001-09-21 13:56 UTC (permalink / raw)
  To: axp-list

Previously we had experienced poor ide hard drive performance with the
UP2000+ due to the Cypress Southbridge.  Recently while testing the API
CS20 with Redhat 7.1 we discovered similarly poor hdparm performance.  I
later traced this problem to the configureation of the default kernel
shipped with RH 7.1 Alpha (2.4.3).  The kernel needs to be recompiled
with support for the ALi15x3 chipset so that DMA support can be
enabled.  Doing so broke the network drivers (eepro100).  To fix that I
needed to force the eepro100 driver to be compiled into the kernel
rather than loaded as a module.

Before the recompile:
hdparm -c3 -m16 -u1 /dev/hda only yielded 2.07 MB/s (with -t) because
-d1 couldn't be used.

After the compile I didn't even need to use hdparm to get 7.78 MB/s
(with -t).  This compile allows the use of -d1 on the drive.
Performance may still seem slow but that's due to the drive's
limitations (3600rpm IBM-DCAA-34330 theoretical peak of 16MB/s) not the
chipset's.

This works for both 2.4.3 supplied by RH and 2.4.9 (from kernel.org).
See axp-kernel-list for my post yesterday on problems with pc_keyb.c
being broken for alpha in 2.4.9 and the work around.

-Keith

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Keith McGerald
    KMcGerald@hpti.com
    703-682-5301 x265

High Performance Technologies, Inc.
  4121 Wilson Blvd., Suite 200
  Arlington, VA  22203-1839
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: IDE Performance on API CS20
@ 2001-09-21 20:05 Ritch, David
  0 siblings, 0 replies; 7+ messages in thread
From: Ritch, David @ 2001-09-21 20:05 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

[-- Attachment #1: Type: text/plain, Size: 2273 bytes --]

There were a lot of problems with the ALI IDE drivers in early versions of
the 2.4.x kernel.  One symptom was that under heavey use, they would simply
lock up.  As I recall, a patch was posted for one of the kernels - 2.4.1, I
think - that fixed this.  I thought that the problem was truly fixed, and
that the fix had made it into the mainstream kernel release.

Looking through the archives, I found the following:
---------------------------------------------------------------------------
Title: RE: 2.4.x/alpha/ALI chipset/IDE problems summary Re: 2.4.1 not fu lly
sane on Alpha - file systems
Hi, 

I found the cause of thoes problems. 
Please, use the below patch file to the kernel for it. 

Thank you. 

-------------------------------------------------------- 

diff -u --recursive --new-file linux-2.4.2/arch/alpha/kernel/pci_impl.h
linux-2.4.2.patch/arch/alpha/kernel/pci_impl.h 
--- linux-2.4.2/arch/alpha/kernel/pci_impl.h    Fri Mar 17 07:08:32 2000 
+++ linux-2.4.2.patch/arch/alpha/kernel/pci_impl.h      Wed Feb 28 15:53:45
2001 
@@ -68,6 +68,7 @@ 
 /* ??? Experimenting with no HAE for CIA.  */ 
 #define CIA_DEFAULT_MEM_BASE ((32+2)*1024*1024) 
  
+#define IRONGATE_DEFAULT_MEM_BASE ((256*8-16)*1024*1024) 
  
 /* 
  * A small note about bridges and interrupts.  The DECchip 21050 (and 
diff -u --recursive --new-file linux-2.4.2/arch/alpha/kernel/sys_nautilus.c
linux-2.4.2.patch/arch/alpha/kernel/sys_nautilus.c

--- linux-2.4.2/arch/alpha/kernel/sys_nautilus.c        Wed Jul 12 06:26:47
2000 
+++ linux-2.4.2.patch/arch/alpha/kernel/sys_nautilus.c  Wed Feb 28 09:57:26
2001 
@@ -518,7 +518,7 @@ 
        machine_check:          nautilus_machine_check, 
        max_dma_address:        ALPHA_NAUTILUS_MAX_DMA_ADDRESS, 
        min_io_address:         DEFAULT_IO_BASE, 
-       min_mem_address:        DEFAULT_MEM_BASE, 
+       min_mem_address:        IRONGATE_DEFAULT_MEM_BASE, 
  
        nr_irqs:                16, 
        device_interrupt:       isa_device_interrupt, 
-------------------------------------------------------- 

Here (http://www.redhat.com/mailing-lists/axp-list/msg03028.html) is another
description of the problem.

Is this the same problem cropping up again, or is this something new and
different?

Thanks,

David Ritch
HPTi

[-- Attachment #2: Type: text/html, Size: 4343 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-09-21 20:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-21 13:56 IDE Performance on API CS20 Keith McGerald
2001-09-21 15:15 ` 'Bryce'
2001-09-21 15:24   ` aboot woes tony.icuc
2001-09-21 15:39     ` 'Bryce'
2001-09-21 17:23     ` James Fowler
2001-09-21 16:00 ` IDE Performance on API CS20 Craig Tierney
  -- strict thread matches above, loose matches on Subject: below --
2001-09-21 20:05 Ritch, David

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox