All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felix Fietkau <nbd@openwrt.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k performance issues
Date: Tue, 05 Apr 2011 18:54:36 +0200	[thread overview]
Message-ID: <4D9B494C.7020801@openwrt.org> (raw)
In-Reply-To: <20110405161925.GA25486@regiomontanus>

On 2011-04-05 6:19 PM, Bernhard Walle wrote:
> Hello Felix,
>
> * Felix Fietkau<nbd@openwrt.org>  [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

  reply	other threads:[~2011-04-05 16:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-05 15:44 [ath9k-devel] ath9k performance issues Bernhard Walle
2011-04-05 15:59 ` Felix Fietkau
2011-04-05 16:03   ` Serene Gud
2011-04-05 16:32     ` Felix Fietkau
2011-04-05 16:54       ` Serene Gud
2011-04-05 17:02         ` Felix Fietkau
2011-04-05 17:17           ` Serene Gud
2011-04-05 17:52           ` Kucherenko Valeriy
2011-04-05 18:29             ` Felix Fietkau
2011-04-05 18:49               ` Larry Vaden
2011-04-05 18:57                 ` Larry Vaden
2011-04-05 16:19   ` Bernhard Walle
2011-04-05 16:54     ` Felix Fietkau [this message]
2011-04-05 19:57       ` Bernhard Walle
2011-04-05 20:09         ` Felix Fietkau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D9B494C.7020801@openwrt.org \
    --to=nbd@openwrt.org \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.