The sys admin's daily grind – Speedometer
Speeding in the Sticks
Thanks to LTE, state-of-the-art Internet technology has now made its way into Charly's quiet home. Accustomed to the sorrows of low surf speeds, our columnist prefers to make his own measurements.
I live in the sparsely populated lower left, lower Rhine area of Germany, or as a good friend once put it, "out in the sticks." Tranquility offers many advantages: Peace and quiet and a green environment, and parents do not need to choose their children's schools based on the quality of the drugs trafficked there.
But I have to admit, there are also some disadvantages: Public transport and a choice of Internet providers are things we have heard about but not actually experienced. If a port becomes available on the regional distributor, Deutsche Telekom graciously assigns a "DSL light" connection with a downstream rate of "up to" 384Kbps. This is the speed to which the Telekom shareholders are looking to slow down all DSL connections at some point, if customers do not sign up for video on demand from the same source.
As an alternative, you could try Internet via satellite, which might be floating somewhere up in the heavens but offers latencies straight from hell. About six months ago – we are so lucky – a mobile phone company introduced 800MHz LTE with a downstream rate of 21Mbps. Although the latencies are still not what gamers need, for my fellow hinterland dwellers, this radio link is like traveling at warp factor 8. My fingers were wet with sweat when I signed the contract.
Now that I have the LTE router installed on my window sill, I want to know how much of this boldly advertised bandwidth actually reaches my home. Nigh on a thousand websites offer speed tests, but they all have one thing in common: I do not trust them. They also use Flash. I'm looking for something more like a lean and sexy speed test for the command line of my Linux firewall, because this is where the cable from the LTE router terminates. My tool of choice is Speedometer. If you cannot find it in the repository of your favorite distribution, just visit the website [1].
Traffic and More
For a first impression, I launched a browser to download an ISO image from what I know to be a fast server and ran Speedometer while the download was in progress:
speedometer -s -rx eth0
The command only measures the downstream speed (-rx
); the -s
parameter switches the unit from the default bytes per to bits per second. For upstream speed, you need a similar command:
speedometer -s -tx eth0
You can do both at the same time, as you might have expected:
speedometer -s -tx eth0 -rx eth0
Speedometer then stacks two graphs. If you prefer adjacent graphs, add -c
in front of the second data source:
speedometer -s -tx eth0 -c -rx eth0
Unfortunately, the graphs are scaled logarithmically by default, which is not always useful. For a linear scale, use the -l
parameter (Figure 1). By the way, the measurements showed 17Mbps downstream and 6.5Mbps upstream. On the downside, LTE was interrupted two or three times for a few minutes on the first few days. Do you think I should keep my 384Kbps hinterland DSL link, just in case?
Infos
- Speedometer: http://excess.org/speedometer/
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs