{"action":"closed","issue":{"url":"https://api.github.com/repos/m-lab/bq2geojson/issues/10","labels_url":"https://api.github.com/repos/m-lab/bq2geojson/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/m-lab/bq2geojson/issues/10/comments","events_url":"https://api.github.com/repos/m-lab/bq2geojson/issues/10/events","html_url":"https://github.com/m-lab/bq2geojson/issues/10","id":67223543,"number":10,"title":"Multiplier to translate from octets ACKed to Mbps should be 8 instead of 125","user":{"login":"mtlynch","id":7783288,"avatar_url":"https://avatars.githubusercontent.com/u/7783288?v=3","gravatar_id":"","url":"https://api.github.com/users/mtlynch","html_url":"https://github.com/mtlynch","followers_url":"https://api.github.com/users/mtlynch/followers","following_url":"https://api.github.com/users/mtlynch/following{/other_user}","gists_url":"https://api.github.com/users/mtlynch/gists{/gist_id}","starred_url":"https://api.github.com/users/mtlynch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtlynch/subscriptions","organizations_url":"https://api.github.com/users/mtlynch/orgs","repos_url":"https://api.github.com/users/mtlynch/repos","events_url":"https://api.github.com/users/mtlynch/events{/privacy}","received_events_url":"https://api.github.com/users/mtlynch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-08T21:25:26Z","updated_at":"2015-04-09T18:28:09Z","closed_at":"2015-04-09T18:28:09Z","body":"In bigquery/bq_download-dist and bigquery/bq_upload-dist, the multiplier 125 is used to convert from BigQuery's units (bytes/microsecond) into Mbps:\r\n\r\n```\r\n(125 * web100_log_entry.snap.HCThruOctetsAcked/\r\n...  AS download_throughput,\r\n```\r\n\r\nThis value should be 8 instead of 125.\r\n\r\n1 byte/microsecond * 8 bits/byte =\r\n8 bits/microsecond * (1 / 1,000,000) megabits/bit =\r\n8 / 1,000,000 megabits/microsecond * 1,000,000 microseconds/second =\r\n8 megabits/second => 8 Mbps"}}