Re: [PATCH v7 3/3] nl80211/mac80211: Report signal average

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bruno Randolf
Date: Friday, November 19, 2010 - 1:49 am

On Thu November 18 2010 08:11:18 Bob Copeland wrote:

OK, I have done tests with a 266MHz x86 board, pushing 30Mbps UDP thru it. It 
can handle maximum around 18Mbps thuput in both cases, with and without the 
average. And that is using the ewma function two times (ath5k beacons and 
signal average). Here are the results of iperf -u -c IP -b 30M -t 120 (2min of 
30Mbps UDP):

With average:

0.0-120.4 sec    269 MBytes  18.7 Mbits/sec  0.370 ms 114323/306094 (37%)
0.0-120.4 sec    263 MBytes  18.3 Mbits/sec  0.336 ms 118668/306110 (39%)
0.0-120.4 sec    265 MBytes  18.5 Mbits/sec  0.229 ms 117036/306120 (38%)

Without:

0.0-120.4 sec    267 MBytes  18.6 Mbits/sec  0.385 ms 115457/306123 (38%)
0.0-120.4 sec    267 MBytes  18.6 Mbits/sec  0.374 ms 115868/306063 (38%)
0.0-120.4 sec    261 MBytes  18.2 Mbits/sec  0.566 ms 119603/306112 (39%)

So I conclude that compared to all the other things we do when we receive a 
packet having one division more or less does not have a huge performance 
impact.


That's a good idea! I will try to improve the code.

bruno
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v7 2/3] ath5k: Use generic EWMA library, Bruno Randolf, (Thu Nov 11, 8:00 pm)
[PATCH v7 3/3] nl80211/mac80211: Report signal average, Bruno Randolf, (Thu Nov 11, 8:00 pm)
Re: [PATCH v7 3/3] nl80211/mac80211: Report signal average, Bruno Randolf, (Fri Nov 19, 1:49 am)
Re: [PATCH v7 3/3] nl80211/mac80211: Report signal average, Peter Zijlstra, (Fri Nov 19, 5:16 am)
Re: [PATCH v7 3/3] nl80211/mac80211: Report signal average, Stefan Richter, (Fri Nov 19, 7:04 am)
Re: [PATCH v7 3/3] nl80211/mac80211: Report signal average, Johannes Berg, (Fri Nov 19, 10:52 am)
Re: [PATCH v7 3/3] nl80211/mac80211: Report signal average, Johannes Berg, (Fri Nov 19, 11:58 am)
Re: [PATCH v7 3/3] nl80211/mac80211: Report signal average, Peter Zijlstra, (Fri Nov 19, 4:01 pm)
Re: [PATCH v7 3/3] nl80211/mac80211: Report signal average, Stefan Richter, (Mon Nov 22, 12:26 am)
Re: [PATCH v7 3/3] nl80211/mac80211: Report signal average, John W. Linville, (Mon Nov 22, 11:46 am)