Skip to content
This repository has been archived by the owner on Jan 16, 2020. It is now read-only.

Http download / upload "tuning" #113

Open
zpeters opened this issue Oct 4, 2018 · 2 comments
Open

Http download / upload "tuning" #113

zpeters opened this issue Oct 4, 2018 · 2 comments

Comments

@zpeters
Copy link
Owner

zpeters commented Oct 4, 2018

Currently the size of download and upload data to test is geared towards my personal internet connection. It runs fairly consistently when benchmarked against the speedtest official website. I believe this is due to the fact it is reaching the peak upload and download speeds. If there is too little data being downloaded or uploaded you never reach peak speeds, if there is too much it just wastes bandwidth.
in Branch v2, speedtest.go there are some hand entered download and upload sizes

downloadBytes := []int{5000, 10000, 53725, 71582, 73434, 80026, 121474, 1000000, 2000000}
uploadBytes := []int{5000, 10000, 53725, 71582, 73434, 80026, 121474, 1000000}

i believe what we'll need to do is create some dynamic tuning to determine what these rates need to be on-the-fly instead of dynamically.

@devicelocksmith
Copy link

1Gbps symmetric GPON fiber.

Official client reports 940/950.
speedtest reports 190/200 for the same server.

@zpeters
Copy link
Owner Author

zpeters commented Jan 10, 2019

@devicelocksmith thanks for the report. I have to admit i haven't had a lot of time to work on this lately. I welcome any contributions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants