From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nm23-vm1.access.bullet.mail.gq1.yahoo.com (nm23-vm1.access.bullet.mail.gq1.yahoo.com [216.39.63.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 1D32B3B47C for ; Mon, 18 Apr 2016 19:03:53 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rogers.com; s=s2048; t=1461020633; bh=6TDQy94hK5a2DwSW83RK/zQVaowhqCBH2TshqC+lYMQ=; h=Reply-To:Subject:References:To:From:Date:In-Reply-To:From:Subject; b=XtriNU9qAt6vRTgzKJMJK9KZcGh0L4cNd7gR/UyzkPZfXGTdhlJKQDXTfWua3sqjV4GWMAgcJfhSy97bvpuDK+pkN98I6NClD+oauuW6yOybYZlcZeCoZ1ZU5Mip3plGgEquhkp601Y902t0hpgY7iVLbfJiXXeFlsXxz6DrfIj2NPs2jUvLS8hyz3IwKEcifsyZ7WKrHnuDUqsVP7ulBTrx2fYqqQ1FHiyOcZDzh5lYAzumPcHxxy8ISWUJZhusWVV3N0MJSkkuwJs8+6HUyDojWRdmzsnSKOtKrMPzOC64+u6JtD0ne4cVFNKti3fxJoG7gTai8CxEO6jYdYCLvQ== Received: from [216.39.60.171] by nm23.access.bullet.mail.gq1.yahoo.com with NNFMP; 18 Apr 2016 23:03:53 -0000 Received: from [98.138.104.99] by tm7.access.bullet.mail.gq1.yahoo.com with NNFMP; 18 Apr 2016 23:03:52 -0000 Received: from [127.0.0.1] by smtp119.sbc.mail.ne1.yahoo.com with NNFMP; 18 Apr 2016 23:03:52 -0000 X-Yahoo-Newman-Id: 635285.27590.bm@smtp119.sbc.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: rKUZ.f0VM1mkXkmWu3DEfM7btMHXFxzMmH26wcQDdj74lhP OIicN0SMI1MIMpAjYokyIzkUBJ3kOLlIlghagHGq1lqV.eTi3hWv758pOMzY 6QUU1tG5gNnRyiDGrT50F4Hf9VpKVQkeJhkKmHug7J3BsP5kIWFchegKT2zG ZR1P10ajKDmBh5U0g7bc4pHjCKdJhwhusEId5XFsMkK4To1zMd2Xt1a8AGJm 0.B3WlS3s1ZG8wqzat5shRl2gGiESVhjv5UgqboEM895Jv2mmC.7D0kcIGHn 9KIe5KaSPG0wdEBuCyiKCGhDbfHe2CoL4ZTeWVhUnEou1rVDcQb0P_DNgHLa QeD9euAzBEHjN4logSdNu.DkkofF6DZIqnsp3tfJOSta.cpsCg_Ea16hpcvN 7BDGSgqEu0gcskfykpWQW2Q9CIqs5kEJEU5eLeSrbJe8TYex7rppqIjDq6fG DCTQxpiPgm7V9Xi_a1gLyOEaZu3Arsi3AB5yR4L9a0BJLZTEF9nRZizmPjTU _mwe7UIzSUiFYp9b9LsphDLzzcYlgOp2fnx5ytBR10WJpcESuIITG7.zsfNl 0vM6ScC1KQrY- X-Yahoo-SMTP: sltvjZWswBCRD.ElTuB1l9j6s9wRYPpuyTNWOE5oEg-- Reply-To: davecb@spamcop.net References: To: bloat@lists.bufferbloat.net From: David Collier-Brown Message-ID: <571567D6.3030209@rogers.com> Date: Mon, 18 Apr 2016 19:03:50 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------050806010800090506020300" Subject: Re: [Bloat] [Make-wifi-fast] graphing airtime fairness in wifi X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2016 23:03:54 -0000 This is a multi-part message in MIME format. --------------050806010800090506020300 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit I haven't internalized this yet, but my instantaneous reaction is: * a radar screen is something people have been educated to understand, so that's cool, and over time, plotting the time taken for something against the load in somethings is what capacity planners expect to see: "_/" --dave On 18/04/16 06:48 PM, David Lang wrote: > On Mon, 18 Apr 2016, Dave Taht wrote: > >> I have been sitting here looking at wifi air packet captures off and >> on for years now, trying to come up with a representation, over time, >> of what the actual airtime usage (and one day, fairness) would look >> like. Believe me, looking at the captures is no fun, and (for example) >> wireshark tends to misinterpret unreceived retries at different rates >> inside a txop as tcp retries (which, while educational, makes it hard >> to see actual retries)... >> >> Finally today, I found a conceptual model that "fits" - and it's kind >> of my hope that something already out there does this from packet >> captures. (?) Certainly there are lots of great pie chart tools out >> there... >> >> Basically you start with a pie chart representing a fixed amount of >> time - say, 128ms. Then for each device transmitting you assign a >> slice of the pie for the amount of airtime used. Then, you can show >> the amount of data transmitted in that piece of the pie by increasing >> the volume plotted for that slice of the pie. And you sweep around >> continually (like a radar scanning or a timepiece's pointer) to show >> progress over time, and you show multicast and other traffic as eating >> the whole pie for however long it lasts. >> >> conceptually it looks a bit like this: >> >> http://blog.cerowrt.org/images/fairness.png (I borrowed this graph >> from >> http://www.webdesignerdepot.com/2013/11/easily-create-stunning-animated-charts-with-chart-js/ >> ) >> >> Another way to do it would be to have the pie represent all the >> stations on the network, and to have the "sweep hand" jump between >> them... > > does it really matter how much data is passed during the timeslice as > opposed to just how much airtime is used? (and there will be a large > chunk of airtime unused for various reasons, much of which you will > not be able to attribute to any one station, and if you do get full > transmit data from each station, you can end up with >100% airtime use > attempted) > > I would be looking at a stacked area graph to show changes over time > (a particular source will come and go over time) > > I would either do two graphs, one showing data successfully > transmitted, the other showing airtime used (keeping colors/order > matching between the two graphs), or if you have few enough stations, > one graph with good lines between the stations and have the color > represent the % of theoretical peak data transmission to show the > relative efficiency of the different stations. > > > While the radar sweep updating of a pie graph is a neat graphic, it > doesn't really let you see what's happening over time. > > David Lang > > _______________________________________________ > Bloat mailing list > Bloat@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/bloat -- David Collier-Brown, | Always do right. This will gratify System Programmer and Author | some people and astonish the rest davecb@spamcop.net | -- Mark Twain --------------050806010800090506020300 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
I haven't internalized this yet, but my instantaneous reaction is:
  •  a radar screen is something people have been educated to understand, so that's cool, and over time, plotting the time taken for something against the load in somethings is what capacity planners expect to see: "_/"

--dave

On 18/04/16 06:48 PM, David Lang wrote:
On Mon, 18 Apr 2016, Dave Taht wrote:

I have been sitting here looking at wifi air packet captures off and
on for years now, trying to come up with a representation, over time,
of what the actual airtime usage (and one day, fairness) would look
like. Believe me, looking at the captures is no fun, and (for example)
wireshark tends to misinterpret unreceived retries at different rates
inside a txop as tcp retries (which, while educational, makes it hard
to see actual retries)...

Finally today, I found a conceptual model that "fits" - and it's kind
of my hope that something already out there does this from packet
captures. (?) Certainly there are lots of great pie chart tools out
there...

Basically you start with a pie chart representing a fixed amount of
time - say, 128ms. Then for each device transmitting you assign a
slice of the pie for the amount of airtime used. Then, you can show
the amount of data transmitted in that piece of the pie by increasing
the volume plotted for that slice of the pie. And you sweep around
continually (like a radar scanning or a timepiece's pointer) to show
progress over time, and you show multicast and other traffic as eating
the whole pie for however long it lasts.

conceptually it looks a bit like this:

http://blog.cerowrt.org/images/fairness.png  (I borrowed this graph
from  http://www.webdesignerdepot.com/2013/11/easily-create-stunning-animated-charts-with-chart-js/
)

Another way to do it would be to have the pie represent all the
stations on the network, and to have the "sweep hand" jump between
them...

does it really matter how much data is passed during the timeslice as opposed to just how much airtime is used? (and there will be a large chunk of airtime unused for various reasons, much of which you will not be able to attribute to any one station, and if you do get full transmit data from each station, you can end up with >100% airtime use attempted)

I would be looking at a stacked area graph to show changes over time (a particular source will come and go over time)

I would either do two graphs, one showing data successfully transmitted, the other showing airtime used (keeping colors/order matching between the two graphs), or if you have few enough stations, one graph with good lines between the stations and have the color represent the % of theoretical peak data transmission to show the relative efficiency of the different stations.


While the radar sweep updating of a pie graph is a neat graphic, it doesn't really let you see what's happening over time.

David Lang

_______________________________________________
Bloat mailing list
Bloat@lists.bufferbloat.net
https://lists.bufferbloat.net/listinfo/bloat


-- 
David Collier-Brown,         | Always do right. This will gratify
System Programmer and Author | some people and astonish the rest
davecb@spamcop.net           |                      -- Mark Twain
--------------050806010800090506020300--