linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Hartmann <andihartmann@01019freenet.de>
To: Gabor Juhos <juhosg@openwrt.org>
Cc: John Linville <linville@tuxdriver.com>,
	linux-wireless@vger.kernel.org, users@rt2x00.serialmonkey.com
Subject: Re: [PATCH 00/19] rt2x00: add experimental support for RT3593
Date: Mon, 01 Jul 2013 17:20:48 +0200	[thread overview]
Message-ID: <51D19E50.6010007@01019freenet.de> (raw)
In-Reply-To: <51D173EA.9030803@openwrt.org>

Hello Gabor,

Gabor Juhos wrote:
> Hi Andreas,
> 
>> bad guy is back again :-)
> 
> :)
> 
>>
>> Gabor Juhos wrote:
>>> This patch-set implements experiemental support for the
>>> RT3593 chipset. The patches are tested on the Linksys
>>> AE3000 USB device only, however other USB devices which
>>> are using the RT3573 chips might work as well.
>>
>> I did another test with raspberry pi. Same network parameters (2.4 GHz,
>> 40MHz, eap-tls, ccmp/ccmp) but this time w/o any other load on the
>> wlan. But there is a reinforced-concrete floor between AP and STA.
>>
>> netperf with rt2800usb / backports-20130617 / kernel 3.6.11 gives:
>>
>> MIGRATED TCP STREAM TEST from 0.0.0.0 () port 0 AF_INET to server port 0 AF_INET
>> Recv   Send    Send                          
>> Socket Socket  Message  Elapsed              
>> Size   Size    Size     Time     Throughput  
>> bytes  bytes   bytes    secs.    10^6bits/sec  
>>
>>  87380  16384  16384    10.39      28.16   
>> MIGRATED TCP MAERTS TEST from 0.0.0.0 () port 0 AF_INET from server port 0 AF_INET
>> Recv   Send    Send                          
>> Socket Socket  Message  Elapsed              
>> Size   Size    Size     Time     Throughput  
>> bytes  bytes   bytes    secs.    10^6bits/sec  
>>
>>  87380  16384  16384    10.00      30.23   
>> TCP SENDFILE TEST from 0.0.0.0 () port 0 AF_INET to server port 0 AF_INET
>> Recv   Send    Send                          
>> Socket Socket  Message  Elapsed              
>> Size   Size    Size     Time     Throughput  
>> bytes  bytes   bytes    secs.    10^6bits/sec  
>>
>>  87380  16384  16384    10.35      27.69
>>
>>
>> Same with DPO_RT5572_LinuxSTA_2.6.1.3_20121022
>>
>> MIGRATED TCP STREAM TEST from 0.0.0.0 () port 0 AF_INET to server port 0 AF_INET
>> Recv   Send    Send                          
>> Socket Socket  Message  Elapsed              
>> Size   Size    Size     Time     Throughput  
>> bytes  bytes   bytes    secs.    10^6bits/sec  
>>
>>  87380  16384  16384    10.01      97.95   
>> MIGRATED TCP MAERTS TEST from 0.0.0.0 () port 0 AF_INET from server port 0 AF_INET
>> Recv   Send    Send                          
>> Socket Socket  Message  Elapsed              
>> Size   Size    Size     Time     Throughput  
>> bytes  bytes   bytes    secs.    10^6bits/sec  
>>
>>  87380  16384  16384    10.01     121.69   
>> TCP SENDFILE TEST from 0.0.0.0 () port 0 AF_INET to server port 0 AF_INET
>> Recv   Send    Send                          
>> Socket Socket  Message  Elapsed              
>> Size   Size    Size     Time     Throughput  
>> bytes  bytes   bytes    secs.    10^6bits/sec  
>>
>>  87380  16384  16384    10.01      82.75
>>
>> If you compare the result w/ rt2800usb/AE3000 with rt2800usb/rt3572[1]
>> you can see: no difference :-(.
> 
> These results with the rt2800usb driver are quite bad. I don't yet have an idea
> what causes the huge performance loss on that platform.

One reason, from my point of view the main reason:
The rt2800usb driver causes to much interrupts (bad USB-handling). The
vendor driver uses a few interrupts with big data portions, rt2800usb
does it vice versa: small packets, but a lot more (1500 (14 Mbit/s) :
24.000 (9Mbit/s)).

See: http://article.gmane.org/gmane.linux.drivers.rt2x00.user/615

On systems with enough cpu resources, this problem doesn't hit that much
(but even there). But on all other systems, you're getting more or less
problems: all the more problems as worse the CPU resources get.

That's why rt5572sta performs mostly fine even with raspberry pi from my
point of view (besides the optimized rate control of the vendor driver).



Regards,
Andreas

      reply	other threads:[~2013-07-01 15:24 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-28 19:12 [PATCH 00/19] rt2x00: add experimental support for RT3593 Gabor Juhos
2013-06-28 19:12 ` [PATCH 01/19] rt2x00: rt2800lib: add BBP register initialization " Gabor Juhos
2013-06-29  5:25   ` [rt2x00-users] " Andreas Hartmann
2013-06-29 11:18     ` Gabor Juhos
2013-06-28 19:12 ` [PATCH 02/19] rt2x00: rt2800lib: add RFCSR " Gabor Juhos
2013-06-28 19:12 ` [PATCH 03/19] rt2x00: rt2800lib: add BBP post " Gabor Juhos
2013-06-28 19:12 ` [PATCH 04/19] rt2x00: rt2800lib: add TX power configuration " Gabor Juhos
2013-06-28 19:12 ` [PATCH 05/19] rt2x00: rt2800lib: fix BBP1_TX_ANTENNA field configuration for 3T devices Gabor Juhos
2013-06-28 19:12 ` [PATCH 06/19] rt2x00: rt2800lib: fix antenna configuration for RT3593 Gabor Juhos
2013-06-28 19:12 ` [PATCH 07/19] rt2x00: rt2800lib: add rt2800_txpower_to_dev helper Gabor Juhos
2013-06-28 19:12 ` [PATCH 08/19] rt2x00: rt2800lib: fix default TX power values for RT3593 Gabor Juhos
2013-06-28 19:12 ` [PATCH 09/19] rt2x00: rt2800lib: introduce rt2800_get_txmixer_gain_{24,5}g helpers Gabor Juhos
2013-06-28 19:12 ` [PATCH 10/19] rt2x00: rt2800lib: hardcode TX mixer gain values for RT3593 Gabor Juhos
2013-06-28 19:12 ` [PATCH 11/19] rt2x00: rt2x00lib: fix LNA_A[12] " Gabor Juhos
2013-06-28 19:12 ` [PATCH 12/19] rt2x00: rt2800lib: add default_power3 field for three-chain devices Gabor Juhos
2013-06-28 19:12 ` [PATCH 13/19] rt2x00: rt2800lib: add rf_vals for RF3053 Gabor Juhos
2013-06-28 19:12 ` [PATCH 14/19] rt2x00: rt2800lib: add channel configuration " Gabor Juhos
2013-06-28 19:12 ` [PATCH 15/19] rt2x00: rt2800lib: enable VCO recalibration " Gabor Juhos
2013-06-28 19:12 ` [PATCH 16/19] rt2x00: rt2800lib: enable RF3053 support Gabor Juhos
2013-06-28 19:12 ` [PATCH 17/19] rt2x00: rt2800lib: enable RT3593 support Gabor Juhos
2013-06-28 19:12 ` [PATCH 18/19] rt2x00: rt2800usb: use correct [RT]XWI size for RT3593 Gabor Juhos
2013-06-28 19:12 ` [PATCH 19/19] rt2x00: rt2800usb: add USB device ID for Linksys AE3000 Gabor Juhos
2013-06-29 15:04 ` [rt2x00-users] [PATCH 00/19] rt2x00: add experimental support for RT3593 Andreas Hartmann
2013-07-01  7:43   ` Gabor Juhos
2013-06-30  8:59 ` Andreas Hartmann
2013-07-01 12:19   ` Gabor Juhos
2013-07-01 15:20     ` Andreas Hartmann [this message]

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=51D19E50.6010007@01019freenet.de \
    --to=andihartmann@01019freenet.de \
    --cc=juhosg@openwrt.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=users@rt2x00.serialmonkey.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).