On 03/15/2013 10:14 AM, Ben Greear wrote:
I probably should have done this first of course..but here is a 'perf top' on the station machine (50 TCP streams transmitting on each of 50 stations, and 78 associated-but-mostly-idle stations: Looks like sta_info_get would be a good place to start :) --------------------------------------------------------------------------------------------------------------------------- PerfTop: 1890 irqs/sec kernel:87.9% exact: 0.0% [1000Hz cycles], (all, 2 CPUs) --------------------------------------------------------------------------------------------------------------------------- samples pcnt function DSO _______ _____ _______________________________ ______________ 2261.00 20.8% sta_info_get [mac80211]
Ahh, crap...I see the problem. The 'sta->addr' is the MAC of the VAP, so if I have 100 stations all connected to the same AP, then the hashing is worthless and just ends up being a linear search. Probably not going to be fun to fix that! Ben -- Ben Greear <greearb@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html