[homenet] ISIS wifi testing

Mikael Abrahamsson <swmike@swm.pp.se> Fri, 16 October 2015 14:00 UTC

Return-Path: <swmike@swm.pp.se>
X-Original-To: homenet@ietfa.amsl.com
Delivered-To: homenet@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 508591B2BCC for <homenet@ietfa.amsl.com>; Fri, 16 Oct 2015 07:00:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.261
X-Spam-Level:
X-Spam-Status: No, score=-1.261 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZiiRTKqFy5kg for <homenet@ietfa.amsl.com>; Fri, 16 Oct 2015 06:59:57 -0700 (PDT)
Received: from uplift.swm.pp.se (swm.pp.se [212.247.200.143]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 93B7B1B2BCD for <homenet@ietf.org>; Fri, 16 Oct 2015 06:59:57 -0700 (PDT)
Received: by uplift.swm.pp.se (Postfix, from userid 501) id 9D0A7A2; Fri, 16 Oct 2015 15:59:55 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=swm.pp.se; s=mail; t=1445003995; bh=nwYZvj6/Ye8rKCzBmQSV88f+OWcwv/WaznjH7EQcR0E=; h=Date:From:To:Subject:From; b=H11UNeDV66HFC0X1fInCMzIBlNS+oOgjHVkRlKBa7kWxAWFkCRP0OxtJ6cx3cUA00 5vKXq513MhZ6rEZadtggGP79qrB/w4eqpZnz5gT9s2dNiQLZaIXjHDKEPGAt2Spem1 si6lDu1+RWsTQeWMC3C7V1yc+qgCKY0QPBgEgPeE=
Received: from localhost (localhost [127.0.0.1]) by uplift.swm.pp.se (Postfix) with ESMTP id 94798A1 for <homenet@ietf.org>; Fri, 16 Oct 2015 15:59:55 +0200 (CEST)
Date: Fri, 16 Oct 2015 15:59:55 +0200
From: Mikael Abrahamsson <swmike@swm.pp.se>
To: homenet@ietf.org
Message-ID: <alpine.DEB.2.02.1510161434010.16053@uplift.swm.pp.se>
User-Agent: Alpine 2.02 (DEB 1266 2009-07-14)
Organization: People's Front Against WWW
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format="flowed"; charset="US-ASCII"
Archived-At: <http://mailarchive.ietf.org/arch/msg/homenet/F-lxG4SP62D-N4QaMZnQe77QRkY>
Subject: [homenet] ISIS wifi testing
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF Homenet WG mailing list <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/homenet/>
List-Post: <mailto:homenet@ietf.org>
List-Help: <mailto:homenet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/homenet>, <mailto:homenet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 Oct 2015 14:00:00 -0000

Hello.

I have spent a large chunk of today doing wifi testing with the quagga 
implementation of homenet isis. 
https://plus.google.com/110006881111138232905/posts/UwYS9h2n7eM

I have been using iperf3 sending 2 megabit/s of UDP:

iperf3 -l 1400 -R -u -b 10M -t 6000 -c 10.0.58.140

The setup is that I set up a WDR4900 with one connection to the Internet 
(not really relevant), and one wired connection to an Ubuntu machine. I 
then set up two additional WDR4900 on my sons tricycle, plus a laptop.

           +----W1-----+R1
C1 +----+R3            +
           +            +
           +----W0-----+R2+---+C2

C1-R3, R2-C2, R1-R2 are wired connections.

W0 is 5GHz radio.
W1 is 2.4GHz radio.

I'm running all radios at 10mW.

If I position the setup just outside the room the R3 is located in, W0 has 
better SNR and lower metric, and is thus used. As I move further away from 
R3, W1 will start to get better SNR compared to W0, as W0 is degrading 
more per physical distance compared to W1.

Generally I only see very little packet loss as long as at least one of 
the radios has decent radio performance. I can go back and forth between 
W0 and W1 being the best radio with usually just 0-10 packets lost out of 
893 packets per second, usually it's 0-3.

I spent part of the day doing testing between laptop and a VM on my normal 
laptop, but I just in the past hour discovered that this VM causes packet 
loss. I replaced it with another computer and now all the spurious packet 
loss I was seeing before even using cable, is gone.

So this is a very simple setup, and it's also loop-free at least in one 
direction, traffic R3->C2 is loop-free either via R2 and R1, whereas 
R2->C1 can loop at R1 until R1 has converged its routing table due to a 
change received from R2.

Also, the above UDP test is only in one direction. How should I record 
the testing, should I have two sessions, one in each direction, and just 
log the results to file, so we see per-second result of packets 
sent/received and packet delay variance (iperf3 will give a value there).

I mean, from setting up everything and then just powering it up and moving 
it around, it basically "just works". I can move the rig out of coverage, 
it'll connect and start working as soon as the radios are up, and when 
there is a lower SNR radio, it'll move to it without any major packet 
loss.

I could for instance make a screen shot video of 10 minutes of testing 
with all the values scrolling, on the screen including the homenet web 
"bubble" diagram in the corner somewhere, and "ip monitor" running so the 
metrics can be seen continously.

Suggestions for tests greatly appreciated.

-- 
Mikael Abrahamsson    email: swmike@swm.pp.se