Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Parsing and working with the data from the glasnost measurement lab test.
Python JavaScript Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
html
.gitignore
API.rst
NOTES
Parsing Glasnost Data.ipynb
README.md
asn.py
create-json.py
createdb.sh
extract-data.sh
glasnost.py
initdb.sql
requirements.txt
results.py
settings.py
testdata.log

README.md

Glasnost

Introduction

Glasnost is a measurement lab test that allows users to measure their connection speed and whether their internet provider throttels certain things. see http://measurementlab.net/measurement-lab-tools

The data collected by glasnost if freely available: http://measurementlab.net/data

Requirements

M-lab data

create a virtualenv::

virtualenv env
source env/bin/activate 

Now install the requirements::

pip install -r requirements.txt

Download the geoip database from http://www.maxmind.com/download/geoip/database/GeoLiteCountry/ and edit your settings.py accordingly

Toolchain

Download the glasnost data using gs-util

extract all the datafiles you want to import

run python glasnost.py <dir> where

points to the directory of your logfiles

run python asn.py to do the asn lookups (providers)

run python results.py to calculate the results tables

Frontend

run python create-json.py

rsync the html directory to a server or call python -m SimpleHTTPServer in the directory

Something went wrong with that request. Please try again.