c29r3 / solana-snapshot-finder

Automatic search and download of snapshots for Solana
GNU General Public License v3.0
156 stars 69 forks source link

measurement_time might not be working #10

Open meyerbro opened 2 years ago

meyerbro commented 2 years ago

Hello, I usually pass --measurement_time so that I let it take a little more time to truly check if the speed is indeed present since I have a 10Gbps connection. But I just tested now passing 15 seconds and it looks like there's a problem with the calculation. The origin host can't provide more than 116Mbps but it showed 360, which is impossible...

c29r3 commented 2 years ago

What does wget show you from the same host? Hmm. First test is a new method - show real time speed, second = old method (avg speed) OUTPUT

python3 ff.py
[=                             ] 553.59178 Mbps

measure_speed()
594Mbps
curl -s https://gist.githubusercontent.com/c29r3/d572af55e278012b995df00eaadc556a/raw/ab1dc84b1508b93294e821ef19b40083e6b670c0/sol_test_speed.py | python3