[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1188925008-ced672f60b90353067426d0b9f74506a@brownhat.org>
Date: Tue, 04 Sep 2007 18:56:48 +0200
From: Daniele Venzano <venza@...wnhat.org>
To: Mandeep Singh Baines <mandeep.baines@...il.com>
Cc: hadi@...erus.ca, Mandeep Baines <mandeep.baines@...il.com>,
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
----- 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