| To: | hadi@xxxxxxxxxx |
|---|---|
| Subject: | Re: [PATCH] Improve behaviour of Netlink Sockets |
| From: | Pablo Neira <pablo@xxxxxxxxxxx> |
| Date: | Mon, 20 Sep 2004 20:14:42 +0200 |
| Cc: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <1095683660.1047.254.camel@xxxxxxxxxxxxxxxx> |
| References: | <414D0CCD.90209@xxxxxxxxxxx> <E1C8way-0000aH-00@xxxxxxxxxxxxxxxxxxxxxxxx> <20040919120249.GA5963@xxxxxxxxxxxxxxxxxxx> <414DF11C.1080505@xxxxxxxxxxx> <20040919215915.GB9573@xxxxxxxxxxxxxxxxxxx> <1095633569.1047.107.camel@xxxxxxxxxxxxxxxx> <20040919231734.GA10124@xxxxxxxxxxxxxxxxxxx> <1095647944.1046.206.camel@xxxxxxxxxxxxxxxx> <20040920025802.GA11567@xxxxxxxxxxxxxxxxxxx> <1095683660.1047.254.camel@xxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; rv:1.6) Gecko/20040528 Debian/1.6-7 |
Hi, jamal wrote: On Sun, 2004-09-19 at 22:58, Herbert Xu wrote:AFAICT the problem Pablo is trying to solve is packet loss due to netlink congestion. There might actually be a problem with the kernel not waking up the the user process when we tell it to. It might even be a scheduling problem. But we'll need a test-case to assess that.Agreed. For a test i typically have something adding say 10K items (actions in my case, but could be ipsec policies) and then try to dump them. On my xeon i get an overrun after about 6K items are dumped. yes, this is exactly what I've observed. Here a link to the tool that I use to stress netlink sockets. http://eurodev.net/~pablo/netlinkbench-unicast-1.0.tar.gzWe've set a webpage at the university: http://perso.ens-lyon.fr/laurent.lefevre/software/netlinkbench/ but the link to download the tool is broken, it will be up soon. I've make also a version for broadcast sockets but it's basically a copy and paste of the unicast tool, I can also send you another link with it. In nlbench-unicast.c there's a macro to set/unset MSG_DONTWAIT flag to make it hit my code or not. regards, Pablo |
| Previous by Date: | Re: [PATCH] (1/4) acenic - use netdev_priv, Jeff Garzik |
|---|---|
| Next by Date: | Re: [PATCH 2.6.9-rc2 1/1] r8169: default on disabling PCIDAC, Jeff Garzik |
| Previous by Thread: | Re: [PATCH] Improve behaviour of Netlink Sockets, jamal |
| Next by Thread: | Re: [PATCH] Improve behaviour of Netlink Sockets, Herbert Xu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |