I'm regularly using something like this: % wget -O /dev/null -progress=dot:mega date This could be solved by the -j option which tells aria2c the maximum concurrent connections we want (Which by default is 5) but if the server has limited this, -j will not work. We set 8 parallel connections but the site only allowed a maximum of 5 as shown by CN:5. But if we tried to have more connections we would get something like this: The CN parameter in the next line shows how many active parallel connections were permitted to download from that site. In the image, the -x 4 is how many parallel connections we wish to use. To use aria2 we fist need to download it: sudo apt-get install aria2 The downside of wget is the lack of parallel connections. ![]() Never test only from the same site as this can be affected by your distance to it, any problem in the server and the connections to it, etc. You need to have at least 4 or 5 different testing sources to have a more accurate speed. This will help you have a more accurate check. You need to do the test at least 5 times to have a reliable speed check or at least do it for a minute or two. If your connection is 512KB and the place where you are downloading is 400KB, your max connection will be 400KB because it is the max for the server you are downloading from. The highest speed you will see is the maximum speed that your connection and the server's connection can offer. In the case of my link the speed is less than 200KB so if you have a higher speed, the server will be the bottleneck for you, not your actual speed. Of course there are several recommendations: Typing: wget would start to download the Ubu1.avi file and show at what speed it is downloading. To use it just point to a file in internet that is relatively bigger so that you can get a better estimate of it. That little tool tells me nicely what speed I have. Update in 2022: sudo apt install speedtest-cli Using pip install -user speedtest-cli gets you a version that is probably newer than the one available from your distribution's repositories. For Ubuntu 16.04 (Xenial) and later use: sudo apt install speedtest-cli Speedtest-cli is in Ubuntu repositories now. Hosted by FiberCloud, Inc (Seattle, WA) : 44.028 ms The short version is this: (no root required) curl -s | python. ![]() I created a blog post ( Measure Internet Connection Speed from the Linux Command Line) that goes into detail of downloading, installing and usage of it. If you would like to take a look at how this test looks on both the desktop and mobile versions of the Spectrum website, check out the screenshots we took during and after testing.I recommend the speedtest-cli tool for this. These speeds were right in line with our expectations, and the results were pretty steady from test to test, so we believe the Spectrum test to be quite accurate. The average download speed registered at 149.0 Mbps, while the upload speeds were all recorded at the exact same speed of 6.0 Mbps. Considering that the vast majority of internet speed tests do analyze ping times, this was a disappointing discovery. However, one fairly major gripe we have with this test is the fact that it does not record ping or latency times. Getting down to the specifics, the Spectrum speed test took an average of 5.3 seconds to load and 35.5 seconds to run, which are typical times compared to most competitors. ![]() The Spectrum speed test also produced results in this range, and we were impressed with the general reliability and consistency. For these tests, we used a connection that advertises download speeds of up to 150 Mbps, and competing speed tests confirmed that we were indeed receiving speeds at or exceeding the advertised rates.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |