From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id C8A7A2F384 for ; Wed, 31 Jan 2001 05:51:26 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f0VApOn24345 for axp-list@listman.redhat.com; Wed, 31 Jan 2001 05:51:24 -0500 Received: from mail.computerbild.de (springer252.asv.de [194.64.254.252]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f0VApOd24341 for ; Wed, 31 Jan 2001 05:51:24 -0500 Received: from cbntwg2.combi.de (cbntwg2.combi.de [192.168.0.36]) by mail.computerbild.de (Rockliffe SMTPRA 3.4.7) with SMTP id for ; Wed, 31 Jan 2001 11:51:22 +0100 Received: FROM odo.redaktion.computerbild.de BY cbntwg2.combi.de ; Wed Jan 31 11:39:17 2001 +0100 Received: from q ([192.168.0.65]) by odo.redaktion.computerbild.de (8.10.0/8.8.7) with SMTP id f0VAxsK02977 for ; Wed, 31 Jan 2001 11:59:54 +0100 Message-ID: <007a01c08b73$c0242cb0$2e2ca8c0@buxtown.de> From: "Ingo T. Storm" To: References: <000b01c0889c$124bb100$0200a8c0@halfcomp> Subject: bad routing performance in AS200 Date: Wed, 31 Jan 2001 11:50:34 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors 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!