Cell Vs. Wifi - NANOG Archive...Cell Vs. Wifi: On the Performance of Metro Area Mobile Connections...

20
Cell Vs. Wifi: On the Performance of Metro Area Mobile Connections Anton Kapela [email protected] Paul Barford [email protected] NANOG 52 – Denver, CO June 12-15th, 2011

Transcript of Cell Vs. Wifi - NANOG Archive...Cell Vs. Wifi: On the Performance of Metro Area Mobile Connections...

  • Cell Vs. Wifi:

    On the Performance of Metro Area Mobile Connections

    Anton Kapela [email protected] Paul Barford [email protected]

    NANOG 52 – Denver, CO June 12-15th, 2011

  • Overview

    Cell vs. Wifi NANOG 52 - 2011 2

    •  We’re analyzing crowd-sourced data •  What is speedtest.net and why do we care?

    •  Cell vs. WiFi •  Different, yes; “how” is interesting

    •  Stats galore •  Can you ping me now?

  • What is Speedtest.net?

    Cell vs. Wifi NANOG 52 - 2011 3

    •  A fine contrivance of Flash and JS •  Measures “http” RTT (L7 ping-ish) •  Measures upstream bits/sec •  Measures downstream bits/sec

    •  Provides server operators statistical data •  This is the only reward an ISP gets

    PLATFORM   CLIENT_IP   ISP   TEST_DATE   TEST_UTC   DOWNLOAD_KBPS  UPLOAD_

    KBPS   LATENCY   LATITUDE   LONGITUDE   CONNECTION_TYPE  

    iphone   174.252.11.135  

    Cellco Partnership DBA Verizon

    Wireless  

    2/22/11 2:30   2:30   1396   841   357   42.8475   -89.0614   Cell  

    iphone   166.137.141.207  Service Provider

    Corporation  2/22/11 2:51   2:51   969   112   433   42.8526   -89.0313   Cell  

  • What runs speedtest.net?

    Cell vs. Wifi NANOG 52 - 2011 4

    •  Answer: Cats

  • Speedtest.net Methodology

    Cell vs. Wifi NANOG 52 - 2011 5

  • Transit is cheap, right?

    Cell vs. Wifi NANOG 52 - 2011 6

  • Speedtest.net Web UI – Gibson effect

    Cell vs. Wifi NANOG 52 - 2011 7

  • Paper; maybe CoNEXT, etc

    Cell vs. Wifi NANOG 52 - 2011 8

  • Cell vs. WiFi: Different, But How?

    Cell vs. Wifi NANOG 52 - 2011 9

    •  Analyzed data from 2/22 to 3/31/2011 •  Sampled via madison.speedtest.net server

    •  Browsers/Desktops dominate •  ~155k tests

    •  Mobile tests outnumbered ~4:1 •  ~38k tests

    •  Mobiles using WiFi dominate •  ~24k from wifi, ~14k from cellular

  • Processed a bit…

    Cell vs. Wifi NANOG 52 - 2011 10

    •  7718 Mobile tests within Dane County •  ~42.845’ to 43.294’ and -89.841’ to -89.004’

    •  7628 non-error-ed results •  Failure of any sub-test: ~1.1%

    •  ~2k via Cellular IP •  Verdict: wifi is faster, more nines’

    •  Until it isn’t (lte, 4g, etc)

  • Dane County WiFi vs. Cell – Raw Speed

    Cell vs. Wifi NANOG 52 - 2011 11

    Cellular WiFi Upload 634 1792 Download 1212 6383

    0 1000 2000 3000 4000 5000 6000 7000

    Kbi

    ts/s

    ec

    Average Of All Tests 2/21-3/31

  • Dane County WiFi vs. Cell RTT

    Cell vs. Wifi NANOG 52 - 2011 12

    Cellular WiFi RTT 297 127

    0 50

    100 150 200 250 300 350

    Mill

    isec

    onds

    Average Of All Tests 2/21-3/31

  • Dane County Cell Perf vs. Time of Day

    Cell vs. Wifi NANOG 52 - 2011 13

    0

    200

    400

    600

    800

    1000

    1200

    1400

    0 to 8 8 to 16 16 to 24 Hour of Day

    Average Of All Tests 2/21-3/31 DS (Kbits) RTT (Msec)

  • Spatial Results – Dane County

    Cell vs. Wifi NANOG 52 - 2011 14 Cell WiFi

  • Spatial Results – City Only

    Cell vs. Wifi NANOG 52 - 2011 15

    Cell WiFi

  • Dane County Carrier Statistics

    Cell vs. Wifi NANOG 52 - 2011 16

    •  Distributions reveal DS bias, US impairments •  DS longer-tail than US

    0

    5

    10

    15

    20

    25

    30

    35

    40

    45

    0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5

    Test

    Cou

    nt

    Megabits/sec

    AT&T US Histogram

    0

    5

    10

    15

    20

    25

    30

    35

    40

    45

    0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5

    Test

    Cou

    nt

    Megabits/sec

    AT&T DS Histogram

  • Dane County Carrier Statistics – US in Mbps

    Cell vs. Wifi NANOG 52 - 2011 17

    0 5

    10 15 20 25 30 35 40 45

    0 0.2 0.4 0.6 0.8 1 1.2 1.4

    Verizon Wireless

    0 5

    10 15 20 25 30 35 40 45

    0 0.2 0.4 0.6 0.8 1 1.2 1.4 Thousands

    Sprint

    0 5

    10 15 20 25 30 35 40 45

    0 0.2 0.4 0.6 0.8 1 1.2 1.4 Thousands

    T-Mobile

    0 5

    10 15 20 25 30 35 40 45

    0 0.2 0.4 0.6 0.8 1 1.2 1.4

    AT&T

  • Data Forensics

    Cell vs. Wifi NANOG 52 - 2011 18

    •  GPS = Global Positioning “Suggestions” •  Speedtest App doesn’t filter GPS data •  Confirmed: GPS only sampled at application *load*

    •  Hey, you’re saving batteries, man •  Device may report same coordinates until app is

    closed à exec’d again

    •  Active testing confirms •  (cont..)

  • Where’s that centroid again…

    Cell vs. Wifi NANOG 52 - 2011 19

  • Send questions, comments, complaints, etc:

    Anton Kapela [email protected] Paul Barford [email protected]