All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luis R. Rodriguez <lrodriguez@atheros.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] 2.6.28-rc7-wl
Date: Fri, 5 Dec 2008 17:16:48 -0800	[thread overview]
Message-ID: <20081206011648.GF5926@tesla> (raw)
In-Reply-To: <4939CF01.9070103@astronomicalresearchaustralia.org>

On Fri, Dec 05, 2008 at 05:01:53PM -0800, Brian wrote:
> 
> 
> Luis,
> > So do some other test -- run bitorrent, or iperf. That should rule out
> > ath9k.
> >
> Yes I was trying that, in the process of setting up ftp.
> 
> > To test if its NX try testing it over a wired ethernet connection.
> >
> Yes, I should have thought of that, however I have problems with my eth0
> port.
> 
> Anyway while looking around the nomachine site I found that my version
> of NX was pretty old. So I downloaded the latest.
> 
> Some observations
> 
> 1) I have been up for over an hour on NX

Lets stop talking about NX.

> 2) The number of errors being generated  are a LOT less, I am collecting
> stats.
> 3) I have changed the bandwidth back to 20mhz so I am only getting 54Mbs
> at the moment.

You should be able to get more than 54Mbps on HT20 (802.11n HT20),
the theoretical max for HT20 with short guard interval is 144 Mbit/s,
the theoretical max for HT20 with long guard interval is 130 Mbps/s --
using only 2 stream. Your card should be 2-stream. For details of
how to get this information please see:

http://wireless.kernel.org/en/developers/Documentation/ieee80211/802.11n#MCSRates

This doesn't mean you should get these, but it means the card can use
these target rates for TX / RX, the actual throughput values seen will
be different but can be higher than 54Mbps. Just to give you an idea
with 802.11g I usually get highest about 24Mbps in practice.

Please run tests with UDP and TCP with iperf. You can do with by setting
an iperf server with a station connected via Gibabit ethernet on the AP
and then having the iperf client send data to the station. Do this then
the other way around, having the iperf server on the wireless station and
have the station send data to you.

Right now we're running some interoperability tests with different APs
so we should hopefully start seeing issues perhaps users are reporting
that we are not. What AP do you have?

> So the main reason I upgraded was because I felt that NX was causing the
> large number of TX/RX errors. I think has proved correct, but I will not
> know for sure until I put the bandwidth back up to 40mhz.

It seems easier to run long tests with things like iperf no?

> If this proves to be correct then I think the driver has a problem as
> there is no way that errors should cause such a hard lockup.
> So my question is how does the driver handle the fact that packets go
> missing?

You mean that didn't get on the other end? It retransmits.

> Or is this problem handled further up in the tcp stack.

If the wireless frame didn't get to the AP the AP doesn't send an ACK
and the STA retries. If using 802.11n AMPDU (the usual case for
aggregation) then the STA will issue a block ack request, send data
the AP sends a Block ACK in which it has a bitmap which indicates which
frames went through and which never reached the AP. The STA then
retransmits the frames that the bitmap indicates failed.

TCP is upper layer, so that's separate, but you can still have TCP
retransmissions.

  Luis

  reply	other threads:[~2008-12-06  1:16 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-02 20:51 [ath9k-devel] [PATCH 0/3] ath9k: several fixes ported to 2.6.27 Luis R. Rodriguez
2008-12-02 20:51 ` Luis R. Rodriguez
2008-12-02 20:51 ` Luis R. Rodriguez
2008-12-02 20:51 ` [ath9k-devel] [PATCH] ath9k: Fix SW-IOMMU bounce buffer starvation Luis R. Rodriguez
2008-12-02 20:51   ` Luis R. Rodriguez
2008-12-02 20:51   ` Luis R. Rodriguez
2008-12-02 20:51   ` [ath9k-devel] [PATCH] ath9k: correct expected max RX buffer size Luis R. Rodriguez
2008-12-02 20:51     ` Luis R. Rodriguez
2008-12-02 20:51     ` Luis R. Rodriguez
2008-12-02 20:51     ` [ath9k-devel] [PATCH 1/3] ath9k: Handle -ENOMEM on RX gracefully Luis R. Rodriguez
2008-12-02 20:51       ` Luis R. Rodriguez
2008-12-02 20:51       ` Luis R. Rodriguez
2008-12-03  0:12       ` [ath9k-devel] [stable] " Greg KH
2008-12-03  0:12         ` Greg KH
2008-12-03  0:20         ` [ath9k-devel] " Luis R. Rodriguez
2008-12-03  0:20           ` Luis R. Rodriguez
2008-12-03  0:24           ` [ath9k-devel] " John W. Linville
2008-12-03  0:24             ` John W. Linville
2008-12-03 20:19             ` [ath9k-devel] " Luis R. Rodriguez
2008-12-03 20:19               ` Luis R. Rodriguez
2008-12-03 20:32               ` Greg KH
2008-12-03 20:32                 ` Greg KH
2008-12-03 21:22             ` John W. Linville
2008-12-03 21:22               ` John W. Linville
2008-12-03 22:14               ` [ath9k-devel] " Luis R. Rodriguez
2008-12-03 22:14                 ` Luis R. Rodriguez
2008-12-03 22:59                 ` Brian
2008-12-03 22:59                   ` Brian
2008-12-04  2:32                   ` Luis R. Rodriguez
2008-12-04  2:32                     ` Luis R. Rodriguez
2008-12-04  7:59                     ` [ath9k-devel] 2.6.28-rc7-wl Brian
2008-12-04  7:59                       ` 2.6.28-rc7-wl Brian
2008-12-04 19:19                       ` [ath9k-devel] 2.6.28-rc7-wl Luis R. Rodriguez
2008-12-04 19:19                         ` 2.6.28-rc7-wl Luis R. Rodriguez
     [not found]                         ` <49385507.3090705@astronomicalresearchaustralia.org>
     [not found]                           ` <20081204224300.GN5970@tesla>
     [not found]                             ` <493869E1.60207@astronomicalresearchaustralia.org>
2008-12-05  2:28                               ` [ath9k-devel] 2.6.28-rc7-wl Luis R. Rodriguez
2008-12-05  2:28                                 ` 2.6.28-rc7-wl Luis R. Rodriguez
2008-12-06  1:01                                 ` [ath9k-devel] 2.6.28-rc7-wl Brian
2008-12-06  1:16                                   ` Luis R. Rodriguez [this message]
2008-12-06  1:36                                     ` Brian
2008-12-07  1:28                                     ` Brian
2008-12-08 20:04                                       ` Luis R. Rodriguez
2008-12-03  0:13     ` [ath9k-devel] patch ath9k-correct-expected-max-rx-buffer-size.patch added to 2.6.27-stable tree gregkh at suse.de
2008-12-03  0:13   ` [ath9k-devel] patch ath9k-fix-sw-iommu-bounce-buffer-starvation.patch " gregkh at suse.de
2008-12-02 20:57 ` [ath9k-devel] [PATCH 0/3] ath9k: several fixes ported to 2.6.27 Luis R. Rodriguez
2008-12-02 20:57   ` Luis R. Rodriguez
2008-12-02 20:57   ` Luis R. Rodriguez
2008-12-02 21:27 ` [ath9k-devel] [stable] " Greg KH
2008-12-02 21:27   ` Greg KH
2008-12-02 22:13   ` [ath9k-devel] " Luis R. Rodriguez
2008-12-02 22:13     ` Luis R. Rodriguez

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=20081206011648.GF5926@tesla \
    --to=lrodriguez@atheros.com \
    --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.