* Re: Starfire kern_err on Avanti with 2.4test12pre7
@ 2000-12-07 17:43 Ingo T. Storm
2000-12-14 11:24 ` Avanti maxes out Ingo T. Storm
0 siblings, 1 reply; 10+ messages in thread
From: Ingo T. Storm @ 2000-12-07 17:43 UTC (permalink / raw)
To: axp-list
>Yes, this code will _always_ fail on alpha, so yet another
>#ifndef __alpha__ is needed.
Thanks Ivan!
So I can just ifndef it and sleep tight forever after?
Cheers,
Ingo
^ permalink raw reply [flat|nested] 10+ messages in thread
* Avanti maxes out...
2000-12-07 17:43 Starfire kern_err on Avanti with 2.4test12pre7 Ingo T. Storm
@ 2000-12-14 11:24 ` Ingo T. Storm
2000-12-14 11:37 ` Richard June
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Ingo T. Storm @ 2000-12-14 11:24 UTC (permalink / raw)
To: axp-list
Hi,
as some of you might recall I tried to set up an Avanti (4/233) as a
netfilter/iptables firewall. It's up and running with 2.4test12 now.
Alas I realized yesterday that it will not be able to handle our bandwith.
Even without any iptables rules and 3 active interfaces it maxes out at 3,6
MBytes/s and 99% kernel load. We "unfortunately" have a 100MBit/s line to
our ISP;-) And the traffic between our staging and our production web/db
servers goes through this box, so I do expect the bandwidth to be really
used...
Does anybody know if a Ruffian (533 MHz) with the same quad Starfire NIC
might be fit for this task or if I need a bigger iron? I plan to use 4
interfaces (eth0: Internet, eth1: dmz with mail/proxies, eth2: lab network,
eth3: link to interior router/fw. The filtering rules will not be too
complex.
Thanks,
Ingo
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Avanti maxes out...
2000-12-14 11:24 ` Avanti maxes out Ingo T. Storm
@ 2000-12-14 11:37 ` Richard June
2000-12-14 12:23 ` Ingo T. Storm
2000-12-14 17:14 ` Michal Jaegermann
2000-12-14 20:14 ` Nikita Schmidt
2 siblings, 1 reply; 10+ messages in thread
From: Richard June @ 2000-12-14 11:37 UTC (permalink / raw)
To: axp-list
<shameless plug>
if you have trouble getting something to do what you need, I can probably
hook you up(although it won't be cheap) I build routers, and I know our
stuff can handle that. http://www.imagestream-is.com
</shameless plug>
On Thu, 14 Dec 2000, Ingo T. Storm wrote:
> Hi,
>
> as some of you might recall I tried to set up an Avanti (4/233) as a
> netfilter/iptables firewall. It's up and running with 2.4test12 now.
>
> Alas I realized yesterday that it will not be able to handle our bandwith.
> Even without any iptables rules and 3 active interfaces it maxes out at 3,6
> MBytes/s and 99% kernel load. We "unfortunately" have a 100MBit/s line to
> our ISP;-) And the traffic between our staging and our production web/db
> servers goes through this box, so I do expect the bandwidth to be really
> used...
>
> Does anybody know if a Ruffian (533 MHz) with the same quad Starfire NIC
> might be fit for this task or if I need a bigger iron? I plan to use 4
> interfaces (eth0: Internet, eth1: dmz with mail/proxies, eth2: lab network,
> eth3: link to interior router/fw. The filtering rules will not be too
> complex.
>
> Thanks,
> Ingo
>
>
>
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Avanti maxes out...
2000-12-14 11:37 ` Richard June
@ 2000-12-14 12:23 ` Ingo T. Storm
0 siblings, 0 replies; 10+ messages in thread
From: Ingo T. Storm @ 2000-12-14 12:23 UTC (permalink / raw)
To: axp-list
Hi,
> if you have trouble getting something to do what you need,
Thanks a lot, but I don't think so. I only feel better if I can prove that I
need big bucks before I ask for them;-)
Ingo
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Avanti maxes out...
2000-12-14 11:24 ` Avanti maxes out Ingo T. Storm
2000-12-14 11:37 ` Richard June
@ 2000-12-14 17:14 ` Michal Jaegermann
2000-12-14 20:14 ` Nikita Schmidt
2 siblings, 0 replies; 10+ messages in thread
From: Michal Jaegermann @ 2000-12-14 17:14 UTC (permalink / raw)
To: axp-list
On Thu, Dec 14, 2000 at 12:24:48PM +0100, Ingo T. Storm wrote:
>
> as some of you might recall I tried to set up an Avanti (4/233) as a
> netfilter/iptables firewall. It's up and running with 2.4test12 now.
Is any specific reason why are you using here a development kernel, with
all possible troubles which may come with that, for something which
sounds like a pretty standard "production" use?
> Alas I realized yesterday that it will not be able to handle our bandwith.
> Even without any iptables rules and 3 active interfaces it maxes out at 3,6
> MBytes/s and 99% kernel load. We "unfortunately" have a 100MBit/s line to
> our ISP;-)
There is something wrong with this picture. Do a bit of a back-envelope
arithmetic. Tasks which you are talking about should barely register,
if at all, on your machine loads. Does writing to a disk sends loads on
your machine through a roof?
> And the traffic between our staging and our production web/db
> servers goes through this box, so I do expect the bandwidth to be really
> used...
You have only 100MBit/sec so it will not take long to use it all. We
are not talking here about an Internet backbone. This is only a speed
of a faster standard ethernet connection. Do you really think that most
machines around is either only pushing packets, without doing any useful
work, or it has vast resources to spare?
Michal
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Avanti maxes out...
@ 2000-12-14 17:57 Ingo T. Storm
2000-12-14 20:04 ` Michal Jaegermann
0 siblings, 1 reply; 10+ messages in thread
From: Ingo T. Storm @ 2000-12-14 17:57 UTC (permalink / raw)
To: axp-list
Hi Michal,
>Is any specific reason why are you using here a development kernel,
with
>all possible troubles which may come with that, for something which
>sounds like a pretty standard "production" use?
Oops, no! The system in production is an x86/2.2.17 with ipchains.
It's just that I will get a new department hooked up to this network
which needs a more flexible fw with more connection tracking and the
like. Netfilter/iptables from 2.4 would do most of what I need out of
the box which I cannot easily provide with ipchains. To see if this is
a viable path I am now in the process of setting up a testbed with an
alpha to replace the x86 and 2.4 to replace 2.2.17.
>There is something wrong with this picture. Do a bit of a
back-envelope
>arithmetic. Tasks which you are talking about should barely
register,
Top shows itself as the only non-idle task, while "system time" is at
99%. 100 MBit/s in my arithmetic is roughly 10 MByte/s, I only get an
accumalated 3,6 MByte/s when http'ing _through_ that box in both ways
from multiple clients to multiple servers. Am I totally off with some
figures or concept here?
>You have only 100MBit/sec so it will not take long to use it all. We
>are not talking here about an Internet backbone. This is only a
speed
>of a faster standard ethernet connection. Do you really think that
most
>machines around is either only pushing packets, without doing any
useful
>work, or it has vast resources to spare?
I am afraid I can't follow you here (please be kind, it might be a
problem with my English).
To make my picture a little clearer: The machine has no other task
that pushing or filtering packets. On both sides there are Suns
(Netras + a E450 in production, Ultra5s and an Ultra10 in staging). We
produce news content in the order of a few GB of which a small part
changes every couple of minutes. Plus we now have a few hundred, but
soon >1000 VERY active internet users (newspaper/trade mag/online
production).
BTW: This IS a fast Ethernet connection to a city-wide
ring (fiber optic I think) (in Hamburg) that connects us to our
providers' backbone (>=155MBit/s) and thus to our production cluster
at the ISPs headquarter in Frankuft. We do have >=100 MBit/s all the
way there. So I guess this is what you'd call an "internet backbone".
Ingo
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Avanti maxes out...
2000-12-14 17:57 Ingo T. Storm
@ 2000-12-14 20:04 ` Michal Jaegermann
2000-12-16 11:46 ` Ingo T. Storm
0 siblings, 1 reply; 10+ messages in thread
From: Michal Jaegermann @ 2000-12-14 20:04 UTC (permalink / raw)
To: axp-list
On Thu, Dec 14, 2000 at 06:57:52PM +0100, Ingo T. Storm wrote:
> Tasks which you are talking about should barely
> register,
>
> Top shows itself as the only non-idle task, while "system time" is at
> 99%.
Process accounting in 2.4 kernels has some changes and weirdness in
it. I did not look very close yet but I think that you have to update
your tools to get a better picture or some numbers will be quite
misleading.
> 100 MBit/s in my arithmetic is roughly 10 MByte/s,
That's correct. There is some protocol overhead in this, of course.
> I only get an
> accumalated 3,6 MByte/s when http'ing _through_ that box in both ways
> from multiple clients to multiple servers.
I would start checking on linux-net mailing list but, IIRC, there are
could be NIC hardware limitations here. 100 MBit/s means that the card
will accept that network beat but not necessarily much more. Did you
try to send something through this box with a more frugal protocol than
HTTP and measure results? 'netcat' or maybe piping bigger files through
rsh?
>
> >You have only 100MBit/sec so it will not take long to use it all. We
> >are not talking here about an Internet backbone. This is only a
> >speed of a faster standard ethernet connection. Do you really think
> >that most machines around is either only pushing packets, without
> >doing any useful work, or it has vast resources to spare?
>
> I am afraid I can't follow you here (please be kind, it might be a
> problem with my English).
I mean that a 10 MBytes/sec transfer rate on a bus is not that much.
Disks are doing that, and more, all the time. You do not suggest that
your machine comes to a grinding halt every time when you are sending
something to, or a fetching from, a disk? True, your filters look at
every packet but these packets are not that small on an average and it
is hard to believe that your Avanti is underpowered for the task. If
you try transfers through that machine _without_ any filtering does this
change numbers in any substantial way?
Michal
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Avanti maxes out...
2000-12-14 11:24 ` Avanti maxes out Ingo T. Storm
2000-12-14 11:37 ` Richard June
2000-12-14 17:14 ` Michal Jaegermann
@ 2000-12-14 20:14 ` Nikita Schmidt
2000-12-16 11:52 ` Ingo T. Storm
2 siblings, 1 reply; 10+ messages in thread
From: Nikita Schmidt @ 2000-12-14 20:14 UTC (permalink / raw)
To: axp-list
On Thursday, 14 Dec, Ingo T. Storm wrote:
> Hi,
>
> as some of you might recall I tried to set up an Avanti (4/233) as a
> netfilter/iptables firewall. It's up and running with 2.4test12 now.
>
> Alas I realized yesterday that it will not be able to handle our bandwith.
> Even without any iptables rules and 3 active interfaces it maxes out at 3,6
> MBytes/s and 99% kernel load.
I've seen kernel unaligned accesses produced by the network code in
2.4.test11. I don't know if they've been fixed in test12; check your
/proc/cpuinfo...
Nikita
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Avanti maxes out...
2000-12-14 20:04 ` Michal Jaegermann
@ 2000-12-16 11:46 ` Ingo T. Storm
0 siblings, 0 replies; 10+ messages in thread
From: Ingo T. Storm @ 2000-12-16 11:46 UTC (permalink / raw)
To: axp-list
Hi,
> Process accounting in 2.4 kernels has some changes and weirdness in
> it. I did not look very close yet but I think that you have to update
> your tools to get a better picture or some numbers will be quite
> misleading.
Thanks for the hint. But I am actually not too concerned about the accuracy
of process accounting at this point. I certainly do see that the router
maxes out sooner than tolerable (for me) and the amount of time spent in the
kernel indicates a problem with either the available cpu speed (which I
doubt, too) or the routing code (which I doubt, too) or the starfire
hardware or driver code. These same starfire NICs have had a sustained
throughput of >30 MByte/s in a Ruffian with NT which leads me to believe
that the trouble might be the debugging code still in starfire.c.
> I would start checking on linux-net mailing list but,
Thanks, I will do that.
> Did you
> try to send something through this box with a more frugal protocol than
> HTTP and measure results?
Not yet. But I do test with files >= 10 MBytes.
> > I am afraid I can't follow you here (please be kind, it might be a
> > problem with my English).
>
> I mean that a 10 MBytes/sec transfer rate on a bus is not that much.
> Disks are doing that, and more, all the time. You do not suggest that
> your machine comes to a grinding halt every time when you are sending
> something to, or a fetching from, a disk?
No, the router is not the http server, so it has close to no disk activity
(it doesn't even log anything yet). The http serves have ample memory and I
always request the same 12 or 21 MByte file so that it will only be read
from the disk upon the first request. I see very little disk activity here,
too. At least on of the http servers (KIII-450, NT4SP6) delivers combined 8
MByte/s to two linux clients (2.2.x).
> True, your filters look at
> every packet but these packets are not that small on an average and it
> is hard to believe that your Avanti is underpowered for the task. If
> you try transfers through that machine _without_ any filtering does this
> change numbers in any substantial way?
I do not do any filtering at this point. I will now try and rearrange my
testbed to get more hints on where the bottleneck actually is, e.g. by
replacing the Avanti with a Ruffian or a 3Com Layer3 switch. The latter DOES
more than 3,6 MByte/s...
Story continues in other posts...
Thanks everyone!
Ingo
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Avanti maxes out...
2000-12-14 20:14 ` Nikita Schmidt
@ 2000-12-16 11:52 ` Ingo T. Storm
0 siblings, 0 replies; 10+ messages in thread
From: Ingo T. Storm @ 2000-12-16 11:52 UTC (permalink / raw)
To: axp-list
> I've seen kernel unaligned accesses produced by the network code in
> 2.4.test11. I don't know if they've been fixed in test12; check your
> /proc/cpuinfo...
Thanks!
Ingo
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2000-12-16 11:55 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-07 17:43 Starfire kern_err on Avanti with 2.4test12pre7 Ingo T. Storm
2000-12-14 11:24 ` Avanti maxes out Ingo T. Storm
2000-12-14 11:37 ` Richard June
2000-12-14 12:23 ` Ingo T. Storm
2000-12-14 17:14 ` Michal Jaegermann
2000-12-14 20:14 ` Nikita Schmidt
2000-12-16 11:52 ` Ingo T. Storm
-- strict thread matches above, loose matches on Subject: below --
2000-12-14 17:57 Ingo T. Storm
2000-12-14 20:04 ` Michal Jaegermann
2000-12-16 11:46 ` 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