Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* bad routing performance in AS200
       [not found] <000b01c0889c$124bb100$0200a8c0@halfcomp>
@ 2001-01-31 10:50 ` Ingo T. Storm
  0 siblings, 0 replies; 7+ messages in thread
From: Ingo T. Storm @ 2001-01-31 10:50 UTC (permalink / raw)
  To: axp-list

Hi,

(please be kind: I am NO hacker by any means, just an admin with little AXP
experience wondering if his AS200s are really slow)

I am (still;-) trying to set up a netfilter/iptables firewall on an AS200
(233MHz, 128 MB) or (if it the AS200 doesn't cut it) a Ruffian (533 MHz,
256MB). We have a 100MBit/s connection (honestly) to our ISP for internet
traffic and web site production, so I'd rather have a firewall that is
capable of routing at least 10 MBytes/sec with some headroom for filtering.
The NICs I tested are

- Intel dual eepro100 (Dell OEM, pretty new)
- Adaptec quad starfire (not so new)

Unfortunately I cannot get either of them running stable with a 2.4.0 kernel
on Alpha, so I went back to 2.2.18 plus the latest netdrivers from
www.scyld.com (Donald Becker). To measure the performance I have set up a
server (Dual 1GHz-PIII, rh6.2 + kernel 2.2.18), dual eepro100 and 4 clients
(Celeron 600, plain rh6.2).

I then measured the maximum the server and the clients can do with "tbench
4":

- server over lo: 40 MBytes/s
- client over lo: 6 MBytes/s
- 2 clients directly connected to a dedicated nic on the server: 10 MBytes/s
each
- 3 clients directly connected to server: >8 MBytes/s each
- 4 clients directly connected to server: ~7 MBytes/s each
- i.e. the clients can saturate a 100MBit/s NIC and the server can saturate
2 100 MBits/s NICs with hardly any trouble.
- FWIW: all connections are switched over 3Com switches

Next I put an Alpha in the middle, connected two clients each to two ports
and two server ports to the remaining two ports and set up routing
accordingly. (I have an ISA VGA card in the AS200 to be able to use both PCI
slots).

- 4 clients get ~5 MBytes/s each through the Ruffian. Excellent.
- 4 clients get 0,8 MBytes/s each through the AS200. Not so good. (The
switches do show that autonegotiation resulted in 100MBit/FD!)

vmstat on the Alpha shows ~25% sys load on the Ruffian and close to 100% sys
load on the AS200 at ~6000 interrupts per second.

To me this means that the AS200 does max out here, most probably due to the
high interrupt load.

My questions now:

- If I am totally wrong here: Which mailing list should I have posted this
kind of question to? linux-alpha@vger? linux-kernel? Anywhere else I haven't
come across yet?
- Can anybody quote similar or better figures for the AS200? Or should I
just ditch the 5 AS200s I have and use the Ruffians right away?
- Would interrupt mitigation be able to help? I'd be willing to trade
latency for throughput.
- If so, how can I activate it in the drivers? I see a line "static int
interrupt_mitigation = 0x0;" in starfire.c, but I cannot see that this
variable is being used at all nor do I have any idea what to set it to and
if this will work at all. I cannot find anything similar in eepro100.c.
- Or should I rather play with "max_interrupt_work = 20" which both drivers
offer as a module option?
- Are there any kernel parameters I can play with?
- Who and where should I report the trouble I am having with the quoted NICs
and 2.4.0?

Thanks a lot for reading this much!

Cheers,
Ingo

P.S. And thanks a LOT to Rich and Michal who got me running with my Alphas
in the beginning!





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

* RE: bad routing performance in AS200
@ 2001-01-31 21:57 Hoover, Tony
  2001-01-31 23:25 ` Ingo T. Storm
  0 siblings, 1 reply; 7+ messages in thread
From: Hoover, Tony @ 2001-01-31 21:57 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

I don't know if it will help, ( but it certainly won't hurt ).  
Make sure that you set your switch and network cards to 100Mb/FD.  Never
trust "Autonegotiate".
---------------------------------------------------------------------------
Tony Hoover, Network Administrator 
KSU - Salina, College of Technology
mailto:hoover@sal.ksu.edu

"Don't Blend in..."
----------------------------------------------------------------------------


> ----------
> From: 	Ingo T. Storm[SMTP:tux-axp@computerbild.de]
> Reply To: 	axp-list@redhat.com
> Sent: 	Wednesday, January 31, 2001 4:50 AM
> To: 	axp-list@redhat.com
> Subject: 	bad routing performance in AS200
> 
> Hi,
> 
> (please be kind: I am NO hacker by any means, just an admin with little
> AXP
> experience wondering if his AS200s are really slow)
> 
> I am (still;-) trying to set up a netfilter/iptables firewall on an AS200
> (233MHz, 128 MB) or (if it the AS200 doesn't cut it) a Ruffian (533 MHz,
> 256MB). We have a 100MBit/s connection (honestly) to our ISP for internet
> traffic and web site production, so I'd rather have a firewall that is
> capable of routing at least 10 MBytes/sec with some headroom for
> filtering.
> The NICs I tested are
> 
> - Intel dual eepro100 (Dell OEM, pretty new)
> - Adaptec quad starfire (not so new)
> 
> Unfortunately I cannot get either of them running stable with a 2.4.0
> kernel
> on Alpha, so I went back to 2.2.18 plus the latest netdrivers from
> www.scyld.com (Donald Becker). To measure the performance I have set up a
> server (Dual 1GHz-PIII, rh6.2 + kernel 2.2.18), dual eepro100 and 4
> clients
> (Celeron 600, plain rh6.2).
> 
> I then measured the maximum the server and the clients can do with "tbench
> 4":
> 
> - server over lo: 40 MBytes/s
> - client over lo: 6 MBytes/s
> - 2 clients directly connected to a dedicated nic on the server: 10
> MBytes/s
> each
> - 3 clients directly connected to server: >8 MBytes/s each
> - 4 clients directly connected to server: ~7 MBytes/s each
> - i.e. the clients can saturate a 100MBit/s NIC and the server can
> saturate
> 2 100 MBits/s NICs with hardly any trouble.
> - FWIW: all connections are switched over 3Com switches
> 
> Next I put an Alpha in the middle, connected two clients each to two ports
> and two server ports to the remaining two ports and set up routing
> accordingly. (I have an ISA VGA card in the AS200 to be able to use both
> PCI
> slots).
> 
> - 4 clients get ~5 MBytes/s each through the Ruffian. Excellent.
> - 4 clients get 0,8 MBytes/s each through the AS200. Not so good. (The
> switches do show that autonegotiation resulted in 100MBit/FD!)
> 
> vmstat on the Alpha shows ~25% sys load on the Ruffian and close to 100%
> sys
> load on the AS200 at ~6000 interrupts per second.
> 
> To me this means that the AS200 does max out here, most probably due to
> the
> high interrupt load.
> 
> My questions now:
> 
> - If I am totally wrong here: Which mailing list should I have posted this
> kind of question to? linux-alpha@vger? linux-kernel? Anywhere else I
> haven't
> come across yet?
> - Can anybody quote similar or better figures for the AS200? Or should I
> just ditch the 5 AS200s I have and use the Ruffians right away?
> - Would interrupt mitigation be able to help? I'd be willing to trade
> latency for throughput.
> - If so, how can I activate it in the drivers? I see a line "static int
> interrupt_mitigation = 0x0;" in starfire.c, but I cannot see that this
> variable is being used at all nor do I have any idea what to set it to and
> if this will work at all. I cannot find anything similar in eepro100.c.
> - Or should I rather play with "max_interrupt_work = 20" which both
> drivers
> offer as a module option?
> - Are there any kernel parameters I can play with?
> - Who and where should I report the trouble I am having with the quoted
> NICs
> and 2.4.0?
> 
> Thanks a lot for reading this much!
> 
> Cheers,
> Ingo
> 
> P.S. And thanks a LOT to Rich and Michal who got me running with my Alphas
> in the beginning!
> 
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
> 




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

* Re: bad routing performance in AS200
  2001-01-31 21:57 Hoover, Tony
@ 2001-01-31 23:25 ` Ingo T. Storm
  0 siblings, 0 replies; 7+ messages in thread
From: Ingo T. Storm @ 2001-01-31 23:25 UTC (permalink / raw)
  To: axp-list

> I don't know if it will help, ( but it certainly won't hurt ).
> Make sure that you set your switch and network cards to 100Mb/FD.  Never
> trust "Autonegotiate".

Thanks, I'll try. But why would the exact same NIC (not only same model)
autonegotiate differently with same kernels and drivers, just different
processors?

Cheers,
Ingo





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

* RE: bad routing performance in AS200
@ 2001-02-01 13:13 Jemiolo, John
  2001-02-01 13:19 ` Ingo T. Storm
  0 siblings, 1 reply; 7+ messages in thread
From: Jemiolo, John @ 2001-02-01 13:13 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

Different drivers...

JJ

-----Original Message-----
From: Ingo T. Storm [mailto:tux-axp@computerbild.de]
Sent: Wednesday, January 31, 2001 6:26 PM
To: axp-list@redhat.com
Subject: Re: bad routing performance in AS200


> I don't know if it will help, ( but it certainly won't hurt ).
> Make sure that you set your switch and network cards to 100Mb/FD.  Never
> trust "Autonegotiate".

Thanks, I'll try. But why would the exact same NIC (not only same model)
autonegotiate differently with same kernels and drivers, just different
processors?

Cheers,
Ingo




_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: bad routing performance in AS200
  2001-02-01 13:13 Jemiolo, John
@ 2001-02-01 13:19 ` Ingo T. Storm
  2001-02-01 16:08   ` Michal Jaegermann
  0 siblings, 1 reply; 7+ messages in thread
From: Ingo T. Storm @ 2001-02-01 13:19 UTC (permalink / raw)
  To: axp-list

> Different drivers...

Thanks for the pointer, but both run the same 2.2.18 + netdrivers from
www.scyld.com.

Ingo

> > I don't know if it will help, ( but it certainly won't hurt ).
> > Make sure that you set your switch and network cards to 100Mb/FD.  Never
> > trust "Autonegotiate".
>
> Thanks, I'll try. But why would the exact same NIC (not only same model)
> autonegotiate differently with same kernels and drivers, just different
> processors?
>





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

* Re: bad routing performance in AS200
  2001-02-01 13:19 ` Ingo T. Storm
@ 2001-02-01 16:08   ` Michal Jaegermann
  0 siblings, 0 replies; 7+ messages in thread
From: Michal Jaegermann @ 2001-02-01 16:08 UTC (permalink / raw)
  To: axp-list

On Thu, Feb 01, 2001 at 02:19:54PM +0100, Ingo T. Storm wrote:
> > Different drivers...
> 
> Thanks for the pointer, but both run the same 2.2.18 + netdrivers from
> www.scyld.com.

Do these cards talk to the same network cards/switches/whatever on
the "other end"?  This seems to important for attempts of an
autonegotiation as there is two to tango.

Also keep in mind that there is, AFAIK, seven quite different chipsets,
with different bugs in hardware/firmware in what is known as eepro100,
for example.  I would not even try to count different variations of
"tulip".  So your NICs may be not the same even if outwardly they
appear to be.

  Michal




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

* Re: bad routing performance in AS200
@ 2001-02-01 19:51 Ingo T. Storm
  0 siblings, 0 replies; 7+ messages in thread
From: Ingo T. Storm @ 2001-02-01 19:51 UTC (permalink / raw)
  To: axp-list

Hi Michal,

>Do these cards talk to the same network cards/switches/whatever on
>the "other end"?  This seems to important for attempts of an
>autonegotiation as there is two to tango.

When comparing the performance of the ruffian and the AS200, I only
swap the box in the middle, not the cables nor the switches nor the
clients.

>Also keep in mind that there is, AFAIK, seven quite different
chipsets,
>with different bugs in hardware/firmware in what is known as
eepro100,
>for example.

Thanks. All 5 dual eepro100s I have come out of the same shipment, but
I'll check again. Fastest was the starfire anyway, and I tried the
exact same card in the AS200 and ruffian here - not only the same
model.

The two main questions remain the same:

1. Are there any figures on how many interrupts/sec the AS200 might be
able to handle gracefully?

2. How do I get interrupt mitigation from either a starfire or
eepro100 nic and might it help?

Thanks,
Ingo





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

end of thread, other threads:[~2001-02-01 19:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <000b01c0889c$124bb100$0200a8c0@halfcomp>
2001-01-31 10:50 ` bad routing performance in AS200 Ingo T. Storm
2001-01-31 21:57 Hoover, Tony
2001-01-31 23:25 ` Ingo T. Storm
  -- strict thread matches above, loose matches on Subject: below --
2001-02-01 13:13 Jemiolo, John
2001-02-01 13:19 ` Ingo T. Storm
2001-02-01 16:08   ` Michal Jaegermann
2001-02-01 19:51 Ingo T. Storm

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