If you're looking for a reliable and accurate way to test your internet connection, I highly recommend using the "Download Speed Test File 10gb". Just be prepared to wait a while for the file to download!
, forcing the transfer to slow down to the "raw" drive speed. Is it the ISP?
time curl -o testfile10G.bin -L "https://yourserver/testfile10G.bin"