| To: | jamal <hadi@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] Improve behaviour of Netlink Sockets |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Thu, 23 Sep 2004 22:05:20 +1000 |
| Cc: | Pablo Neira <pablo@xxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <1095852956.1048.47.camel@xxxxxxxxxxxxxxxx> |
| References: | <20040919231734.GA10124@xxxxxxxxxxxxxxxxxxx> <1095647944.1046.206.camel@xxxxxxxxxxxxxxxx> <20040920025802.GA11567@xxxxxxxxxxxxxxxxxxx> <1095683660.1047.254.camel@xxxxxxxxxxxxxxxx> <414F1E12.6010808@xxxxxxxxxxx> <20040922000503.GA13218@xxxxxxxxxxxxxxxxxxx> <4150E7E5.2000001@xxxxxxxxxxx> <1095821624.1045.6.camel@xxxxxxxxxxxxxxxx> <20040922034634.GA14928@xxxxxxxxxxxxxxxxxxx> <1095852956.1048.47.camel@xxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040722i |
On Wed, Sep 22, 2004 at 07:35:57AM -0400, jamal wrote: > On Tue, 2004-09-21 at 23:46, Herbert Xu wrote: > > > > Well I haven't seen any with IPsec. Can you please provide a strace > > of a failed tc dump so that I know what I'm looking for? > > Try explicitly reducing the socket buffer size and see what happens What's wrong with the default sizes? If you decrease it far enough of course it's going to overflow. > set i to 10000 or a little more You might want to optimise your add path. It was painful with 20000 :) > to dump: tc actions ls action drop That was much faster, no overflows at all: angband:~# time tc action ls action gact > out real 0m0.943s user 0m0.075s sys 0m0.867s angband:~# wc -l out 80000 out angband:~# Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt |
| Previous by Date: | Re: 2.6.9-rc2-mm2 fn_hash_insert oops, Herbert Xu |
|---|---|
| Next by Date: | Re: [PATCH] Improve behaviour of Netlink Sockets, Herbert Xu |
| Previous by Thread: | Re: [PATCH] Improve behaviour of Netlink Sockets, jamal |
| Next by Thread: | Re: [PATCH] Improve behaviour of Netlink Sockets, jamal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |