Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #165766

Re: Throughput riddle

From Dan Purgert <dan@djph.net>
Newsgroups linux.debian.user
Subject Re: Throughput riddle
Date 2016-03-21 13:30 +0100
Message-ID <rf786-5yn-31@gated-at.bofh.it> (permalink)
References <re5L5-23u-39@gated-at.bofh.it>
Organization A noiseless patient Spider

Show all headers | View raw


On 2016-03-18, Celejar <celejar@gmail.com> wrote:
> Hi,
>
> I'm trying to understand the throughput across the different links of
> my little home network, and am perplexed by the measured wireless
> throughput.
>
> The three main devices I'm interested in:
>
> Router: Buffalo WZR-HP-G300NH running OpenWrt (Chaos Calmer 15.05).
> Gigabit WAN and LAN, 802.11bgn wireless.

I know I'm coming to the party a bit late, and it's probably been
answered somewhere else in the posts here, but what channel width are
you running here?

If you're running 40 MHz, you WILL be getting combined Co-channel
contention from all other devices on channels 1 and 6 (or 6 and 11).
With 2.4 GHz connections, it's advisable to stick to 20 MHz channels, to
limit the amount of contention you're getting.

>
> [...]
>
> Here's the part that baffles me - these are with the laptop connected
> to the router wirelessly:
>
> Laptop - router:	~11.8 Mbps
>
> These numbers actually exhibit significant variance, but they're
> generally at least this much, and at most about 15-20 Mbps.
>
> Laptop - NAS:		~14.7 Mbps
>
> Once again, these numbers vary widely, but are in line with the laptop
> - router numbers.
>
> But here's the kicker: Ookla's speedtest (run on the laptop with
> speedtest-cli) shows 29.01/5.89 (d/u), and this is fairly consistent.
>
> [...]
>
> So the wireless link can apparently push at least 30 Mbps or so, so why
> are my local wireless throughput numbers so much lower?

Given that the router is a 2x2 device, have you tried sending multiple
streams with iperf (with the "-P" client option)?  As I (likely,
incorrectly) recall, iperf defaults to one stream, whereas speedtest
will run multiple streams.

>
> I was originally using one of the common 1/6/11 channels, and I switched
> to 3 since I saw a lot of other stations on those channels. This may
> have resulted in some improvement, but I'm still stuck locally as
> above. What's the explanation for this - how can I possibly be getting
> much better throughput to servers tens of miles away than to my local
> stations? Does iperf somehow work fundamentally differently from
> speedtest? If so, which is a better representation of actual throughput?

Switch back to 1, 6, or 11 (and a 20 MHz channel).  As others have
explained, being on an "in-between" channel will result in you getting
actual interference (rather than simply co-channel contention) ... not
to mention causing interference for your neighbors.

It might be a good idea to upgrade to a dual-band access point, so that
you can use 5 GHz, which is typically has much cleaner channels.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Throughput riddle Celejar <celejar@gmail.com> - 2016-03-18 17:50 +0100
  Re: Throughput riddle "John L. Ries" <jries@salford-systems.com> - 2016-03-18 19:50 +0100
    Re: Throughput riddle "John L. Ries" <jries@salford-systems.com> - 2016-03-18 20:30 +0100
      Re: Throughput riddle Celejar <celejar@gmail.com> - 2016-03-18 20:40 +0100
    Re: Throughput riddle Celejar <celejar@gmail.com> - 2016-03-18 20:40 +0100
  Re: Throughput riddle David Christensen <dpchrist@holgerdanske.com> - 2016-03-19 02:10 +0100
    Re: Throughput riddle Richard Hector <richard@walnut.gen.nz> - 2016-03-19 02:50 +0100
      Re: Throughput riddle David Christensen <dpchrist@holgerdanske.com> - 2016-03-19 03:10 +0100
        Re: Throughput riddle Richard Hector <richard@walnut.gen.nz> - 2016-03-19 03:50 +0100
          Re: Throughput riddle David Christensen <dpchrist@holgerdanske.com> - 2016-03-19 04:50 +0100
          Re: Throughput riddle Celejar <celejar@gmail.com> - 2016-03-20 14:20 +0100
    Re: Throughput riddle Celejar <celejar@gmail.com> - 2016-03-20 14:20 +0100
      Re: Throughput riddle David Christensen <dpchrist@holgerdanske.com> - 2016-03-20 17:40 +0100
        Re: Throughput riddle Celejar <celejar@gmail.com> - 2016-03-20 19:10 +0100
          Re: Throughput riddle David Christensen <dpchrist@holgerdanske.com> - 2016-03-20 21:50 +0100
            Re: Throughput riddle Celejar <celejar@gmail.com> - 2016-03-21 03:20 +0100
              Re: Throughput riddle David Christensen <dpchrist@holgerdanske.com> - 2016-03-21 06:00 +0100
                Re: Throughput riddle Celejar <celejar@gmail.com> - 2016-03-22 05:30 +0100
                Re: Throughput riddle David Christensen <dpchrist@holgerdanske.com> - 2016-03-24 02:50 +0100
                Re: Throughput riddle Celejar <celejar@gmail.com> - 2016-03-24 04:10 +0100
  Re: Throughput riddle arian <debian@semioptimal.net> - 2016-03-20 14:50 +0100
    Re: Throughput riddle Celejar <celejar@gmail.com> - 2016-03-20 15:50 +0100
      Re: Throughput riddle arian <debian@semioptimal.net> - 2016-03-20 16:30 +0100
        Re: Throughput riddle Celejar <celejar@gmail.com> - 2016-03-20 18:40 +0100
        Re: Throughput riddle Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2016-03-20 19:50 +0100
  RE: Throughput riddle Bonno Bloksma <b.bloksma@tio.nl> - 2016-03-21 12:50 +0100
    Re: Throughput riddle Celejar <celejar@gmail.com> - 2016-03-22 05:40 +0100
  Re: Throughput riddle Dan Purgert <dan@djph.net> - 2016-03-21 13:30 +0100
    Re: Throughput riddle Celejar <celejar@gmail.com> - 2016-03-22 05:50 +0100
      Re: Throughput riddle David <david.g_jones@ntlworld.com> - 2016-03-22 11:20 +0100
        RE: Throughput riddle Bonno Bloksma <b.bloksma@tio.nl> - 2016-03-22 13:40 +0100

csiph-web