| To: | Rusty Russell <rusty@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: Linux 2.4 networking/routing slowdown |
| From: | Robert Olsson <Robert.Olsson@xxxxxxxxxxx> |
| Date: | Tue, 7 Aug 2001 13:13:39 +0200 |
| Cc: | Robert Olsson <Robert.Olsson@xxxxxxxxxxx>, jamal <hadi@xxxxxxxxxx>, Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <E15TEGf-0008QW-00@localhost> |
| References: | <15211.65235.369977.774321@xxxxxxxxxxxx> <E15TEGf-0008QW-00@localhost> |
| Sender: | owner-netdev@xxxxxxxxxxx |
Rusty Russell writes:
>
> Ah... What are you using as a traffic generator?
>
> Creating a new connection is expensive (but could probably be
> optimized): given that usually < 1 in 10 packets is a new connection,
> this seemed a reasonable optimization strategy. If you are sending
> random packets, you are trying to create 1 million connections (well,
> some will timeout).
>
> You *can* help a bit by enlarging the hash tables: try:
> insmod ipchains hashsize=100000
>
> You could also try sending the *same* packet 1,000,000 times, and see
> if we do better there...
>
> Very interesting,
Hello!
Yes a packet generator is used and it is sending the "same" packet a
million times. So there shouldn't be too much connections unless
something weird is going on. If you got any idea it easy to test again.
Cheers.
--ro
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | A TCP monitoring /proc/net file, Federico David Sacerdoti |
|---|---|
| Next by Date: | C and/or ioctl question, Stephen Waters |
| Previous by Thread: | Re: Linux 2.4 networking/routing slowdown, Rusty Russell |
| Next by Thread: | [PATCH] global icmp rate limiting, clemens |
| Indexes: | [Date] [Thread] [Top] [All Lists] |