lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 4 Sep 2007 10:24:17 -0700 From: "Mandeep Baines" <mandeep.baines@...il.com> To: "Daniele Venzano" <venza@...wnhat.org> Cc: hadi@...erus.ca, davem@...emloft.net, rick.jones2@...com, msb@...gle.com, netdev@...r.kernel.org, grundler@...gle.com, robert.olsson@....uu.se, jeff@...zik.org, nhorman@...driver.com Subject: Re: [PATCH] [sis900] convert to NAPI, WAS Re: pktgen terminating condition Cool. I'll try to see if I can clock my pc lower and run the experiments again. I'll measure cpu utilization also this time around. That should be useful for extrapolating. Regards, Mandeep On 9/4/07, Daniele Venzano <venza@...wnhat.org> wrote: > ----- Message d'origine ----- > De: Mandeep Singh Baines <mandeep.baines@...il.com> > Date: Mon, 3 Sep 2007 20:20:36 -0700 > Sujet: [PATCH] [sis900] convert to NAPI, WAS Re: pktgen terminating condition > > >Hi Daniele, > > > >Attached is a patch for converting the sis900 driver to NAPI. Please take a > >look at let me know what you think. I'm not 100% sure if I'm handling the > >rotting packet issue correctly or that I have the locking right in tx_timeout. > >These might be areas to look at closely. > > > >I didn't see much saving in interrupts on my machine (too fast, I guess). But > >I still think its beneficial: pushing work out of the interrupt handler into > >a bottom half is a good thing and we no longer need to disable interrupts > >in start_xmit. > > > >I did see a significant boost to tx performance by optimizing start_xmit: more > >than double pps in pktgen. > > > >I'm also attaching some test results for various iterations of development. > > The patch looks good and I think it can be pushed higher (-mm ?) for some wider > testing. I don't have the hardware available to do some tests myself, > unfortunately, but it would be similar to yours anyway. > > I'd like to know how this works for people with less memory and slower CPU, but any > kind of test run will be appreciated. > > Thanks, bye. > > > -- > Daniele Venzano > venza@...wnhat.org > - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists