Speedtest (Ookla) on device? What’s the latest?
-
What’s the latest on installing code on a pfSense device that will run an Ookla speedtest?
-
At the command line:
[2.7.2-RELEASE][admin@t70.stevew.lan]/root: pkg install py311-speedtest-cli Updating pfSense-core repository catalogue... Fetching meta.conf: 0% Fetching packagesite.pkg: 0% pfSense-core repository is up to date. Updating pfSense repository catalogue... Fetching meta.conf: 0% Fetching packagesite.pkg: 0% pfSense repository is up to date. All repositories are up to date. Updating database digests format: 100% 1 B 0.0kB/s 00:01 The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: py311-speedtest-cli: 2.1.3 [pfSense] Number of packages to be installed: 1 52 KiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching py311-speedtest-cli-2.1.3.pkg: 100% 52 KiB 53.1kB/s 00:01 Checking integrity... done (0 conflicting) [1/1] Installing py311-speedtest-cli-2.1.3... [1/1] Extracting py311-speedtest-cli-2.1.3: 100% [2.7.2-RELEASE][admin@t70.stevew.lan]/root: rehash [2.7.2-RELEASE][admin@t70.stevew.lan]/root: speedtest Retrieving speedtest.net configuration... Testing from Plusnet (x.x.x.x)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by Community Fibre Limited (London) [10.96 km]: 17.862 ms Testing download speed................................................................................ Download: 66.97 Mbit/s Testing upload speed...................................................................................................... Upload: 18.56 Mbit/s
Bare in mind that will often produce a lower result that testing through the firewall from a separate client behind it.
Though not in my case because that WAN is slow enough it doesn't really tax the firewall.Steve
-
@stephenw10: Thanks much! How do I invoke it? From the command line?
-
Exactly like I showed above there. Just run
speedtest
at the command line. -
@stephenw10: It wasn’t clear that there was additional content to be revealed by scrolling down in the code section of your post.
My speedtest comes in as way low. My client is on a gigabit fiber connection, and these are the results:
/root: speedtest Retrieving speedtest.net configuration... Testing from AT&T U-verse (99.99.28.5)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by Dish Wireless (Chicago, IL) [242.55 km]: 33.326 ms Testing download speed................................................................................ Download: 161.96 Mbit/s Testing upload speed...................................................................................................... Upload: 282.48 Mbit/s
It should be much closer to 1000 Mbit/s, both up and down. Is this because the firewall’s processor not fast enough, compared to what a computer on the LAN can do?
-
What hardware are you using? Anything vaguely recent should do better than that though.
Check Status > Interfaces. Makes sure everything is linked at the expected speeds and isn't showing errors.
-
@stephenw10: It’s a Netgate 1100.
-
Ah OK then you will see a lower result there testing from the firewall. The 1100 is a low power device that will be maxed out by running the speedtest code.
You will see more testing through the 1100 but you won't see a full 1Gbps. I'd expect to see 500-600Mbps through it.
-
@stephenw10: Correction! I forgot, it’s actually a Netgate 2100.
-
Ah, then you'd likely see 700-800Mbps when testing through it.
-
Is there any way to select the server? The nearest speedtest server is at my ISP, across town, but it keeps on using servers at another ISP hundreds of miles away.
When I run speedtest with a browser on my computer, I typically get around 920 Mb or so, but I'm only getting 500 or so with this?
BTW, does anyone actually get 1 Gb on a 1 Gb connection? Seems to me there should be some overhead accounted for. I also get around 920 with iperf over my LAN.
-
Yes you can find and select a server:
[2.7.2-RELEASE][admin@t70.stevew.lan]/root: speedtest --list Retrieving speedtest.net configuration... 40788) Zen Internet (London, United Kingdom) [10.96 km] 6032) fdcservers.net (London, United Kingdom) [10.96 km] 26922) toob Ltd (London, United Kingdom) [10.96 km] 23344) 31173 Services AB (London, United Kingdom) [10.96 km] 50606) OCTAPLUS BROADBAND (London, United Kingdom) [10.96 km] 11547) KamaTera, Inc. (London, United Kingdom) [10.96 km] 24640) Jump Networks Ltd (London, United Kingdom) [10.96 km] 46369) Rackdog (London, United Kingdom) [10.96 km] 46783) ITS Technology Group (London, United Kingdom) [10.96 km] 35666) Voip-Unlimited (London, United Kingdom) [10.96 km] [2.7.2-RELEASE][admin@t70.stevew.lan]/root: speedtest --server 24640 Retrieving speedtest.net configuration... Testing from Plusnet (x.x.x.x)... Retrieving speedtest.net server list... Retrieving information for the selected server... Hosted by Jump Networks Ltd (London) [10.96 km]: 20.816 ms Testing download speed................................................................................ Download: 65.85 Mbit/s Testing upload speed...................................................................................................... Upload: 18.80 Mbit/s
-
@JKnott said in Speedtest (Ookla) on device? What’s the latest?:
Is there any way to select the server? The nearest speedtest server is at my ISP, across town, but it keeps on using servers at another ISP hundreds of miles away.
Only manually as @stephenw10 say.
When I run speedtest with a browser on my computer, I typically get around 920 Mb or so, but I'm only getting 500 or so with this?
BTW, does anyone actually get 1 Gb on a 1 Gb connection? Seems to me there should be some overhead accounted for. I also get around 920 with iperf over my LAN.
Please read (or look on YouTube) basic of networking, what is tcp/ip, ICMP, VPNs and other protocols, what is levels, datagrams, what is routers/switches, how ISP works etc. ;)
One time You doing this, rest of the life You decrease time to search RIGHT answers on “why that happened in my network”.
Back to deal: part of whole traffic are “special”, user data are between 70-90% of all bits from send/received.
Because of this on 1Gb port You ACTUALLY HAVE “1Gb - “special bits” - “Your ISP shaping profile”.The same like EACH ONE DEVICE in chain to originate server ADDING ITS OWN DELAY…
-
@Sergei_Shablovsky said in Speedtest (Ookla) on device? What’s the latest?:
BTW, does anyone actually get 1 Gb on a 1 Gb connection? Seems to me there should be some overhead accounted for. I also get around 920 with iperf over my LAN.
Please read (or look on YouTube) basic of networking, what is tcp/ip, ICMP, VPNs and other protocols, what is levels, datagrams, what is routers/switches, how ISP works etc. ;)
I guess you haven't noticed me on this forum for years providing advice to others. My comment was to point out that if you have a 1 Gb connection, you will not see 1 Gb because of the various overheads. We're also running into hardware limits that we didn't see before, because the bandwidth we received was less than what our hardware was capable of. In my own example, my account is supposed to be 1.5 Gb, but my firewall, switch and computers are only capable of 1 Gb. I also did a comparison on my network, with Speedtest from my computer to my ISPs server and also from my computer to firewall with iperf3 and got similar results, which showed I was being hardware limited, not Internet limited to the Speedtest server.
BTW, I have long worked in the telecom industry, mostly as a technician, going back to 1972, have worked with computers since 1977, first LAN experience in 1978, Cisco CCNA and more. I also had TCP/IP courses at a local college and IBM. I also spent almost 4 years at IBM Canada, providing software support (mostly 3rd level). So, I do have some idea about what happens with networks & the Internet.