speedtest icon indicating copy to clipboard operation
speedtest copied to clipboard

Http download / upload "tuning"

Open zpeters opened this issue 6 years ago • 2 comments

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.

zpeters avatar Oct 04 '18 11:10 zpeters

1Gbps symmetric GPON fiber.

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

devicelocksmith avatar Jan 09 '19 21:01 devicelocksmith

@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.

zpeters avatar Jan 10 '19 14:01 zpeters