From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felix Fietkau Date: Tue, 05 Apr 2011 18:54:36 +0200 Subject: [ath9k-devel] ath9k performance issues In-Reply-To: <20110405161925.GA25486@regiomontanus> References: <20110405154421.GA11830@regiomontanus> <4D9B3C51.8080209@openwrt.org> <20110405161925.GA25486@regiomontanus> Message-ID: <4D9B494C.7020801@openwrt.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On 2011-04-05 6:19 PM, Bernhard Walle wrote: > Hello Felix, > > * Felix Fietkau [2011-04-05 17:59]: >> On 2011-04-05 5:44 PM, Bernhard Walle wrote: >> > >> >we're using a PCIe AR9280 card on a Octeon MIPS CPU. The system >> >that does the transmission has a high CPU utilization: >> > >> >iperf in UDP mode with 50M bandwith has ~90 % CPU utilization with a >> >high softirq proportion. >> > >> >Using an Intel card (5300) has a lower CPU utilization (~60 %), but it's >> >no option to use it because the Linux driver has no access point mode. >> > >> >Are there any tweaks to decrease the CPU utilization with the ath9k >> >driver? Any recommendations for the application to send the network >> >packets more efficient? >> What kernel version are you using? Are you using the in-kernel ath9k >> or are you using compat-wireless? I have added quite a few > > I'm using 2.6.38.1 ath9k which is at ~80 % CPU, starting from 2.6.37.1 > with ~90 % CPU which was still an improvement. Do you think that > compat-wireless gives still a performance boost? Not sure. These numbers sound awfully high to me. Maybe you should do some profiling to figure out what's using all this CPU time. >> Which >> performance optimizations over time, as I'm working with much slower >> MIPS CPUs than the octeon. >> In my tests, a 300 MHz MIPS 24K CPU is good enough for handling >> around 90 mbit/s of traffic with only around 70% CPU utilization. > > That sounds interesting. Any other optimisations other than using > compat-wireless? No. I've pushed all of my enhancements upstream. - Felix