# sh betterspeedtest.sh -4 -H netperf-eu -t 180
2022-05-11 05:09:13 Testing against netperf-eu (ipv4) with 5 simultaneous sessions while pinging gstatic.com (180 seconds in each direction)
.betterspeedtest.sh: line 169: netperf: not found
betterspeedtest.sh: line 169: netperf: not found
Download: 0.00 Mbpsbetterspeedtest.sh: line 169: netperf: not found
betterspeedtest.sh: line 169: netperf: not found
betterspeedtest.sh: line 169: netperf: not found
Latency: (in msec, 1 pings, 0.00% packet loss)
Min: 0.000
10pct: 0.000
Median: 0.000
Avg: 0.000
90pct: 0.000
Max: 0.000
.betterspeedtest.sh: line 169: netperf: not found
betterspeedtest.sh: line 169: netperf: not found
betterspeedtest.sh: line 169: netperf: not found
betterspeedtest.sh: line 169: netperf: not found
betterspeedtest.sh: line 169: netperf: not found
Upload: 0.00 Mbps
Latency: (in msec, 1 pings, 0.00% packet loss)
Min: 0.000
10pct: 0.000
Median: 0.000
Avg: 0.000
90pct: 0.000
Max: 0.000
then:
opkg search netperf
root@port4:/tmp# opkg list | grep netperf
netperf - 2.7.0-2 - Network performance measurement tool
speedtest-netperf - 1.0.0-1 - Script to measure the performance of your network and router. Please see https://github.com/openwrt/packages/blob/master/net/speedtest-netperf/files/README.md for further information.
# opkg install netperf
Installing netperf (2.7.0-2) to root...
Downloading https://downloads.openwrt.org/releases/21.02.3/packages/arm_cortex-a15_neon-vfpv4/packages/netperf_2.7.0-2_arm_cortex-a15_neon-vfpv4.ipk
Configuring netperf.
Starting netserver with host 'IN(6)ADDR_ANY' port '12865' and family AF_UNSPEC
why this is a server?
not working
sh betterspeedtest.sh -4 -H netperf-eu -t 180
2022-05-11 05:12:38 Testing against netperf-eu (ipv4) with 5 simultaneous sessions while pinging gstatic.com (180 seconds in each direction)
.ping: bad address 'gstatic.com'
Download: 0.00 Mbps
Latency: (in msec, 1 pings, 0.00% packet loss)
Min: 0.000
10pct: 0.000
Median: 0.000
Avg: 0.000
90pct: 0.000
Max: 0.000
sh: can't kill pid 30296: No such process
.ping: bad address 'gstatic.com'
.
Upload: 0.00 Mbps
Latency: (in msec, 1 pings, 0.00% packet loss)
Min: 0.000
10pct: 0.000
Median: 0.000
Avg: 0.000
90pct: 0.000
Max: 0.000
sh: can't kill pid 30316: No such process
next try
sh betterspeedtest.sh -4 -H netperf-eu -t 180 -p swisscom.com
2022-05-11 05:13:21 Testing against netperf-eu (ipv4) with 5 simultaneous sessions while pinging swisscom.com (180 seconds in each direction)
.
Download: 0.00 Mbps.
Latency: (in msec, 1 pings, 0.00% packet loss)
Min: 0.000
10pct: 0.000
Median: 0.000
Avg: 0.000
90pct: 0.000
Max: 0.000
.
Upload: 0.00 Mbps
Latency: (in msec, 1 pings, 0.00% packet loss)
Min: 0.000
10pct: 0.000
Median: 0.000
Avg: 0.000
90pct: 0.000
Max: 0.000
Not true at all. Google is the biggest developer of malware. Very few of Google's software projects have little or no malware (I'm thinking of Kubernetes, Go and others).
Surveillance capitalism and advertising is malware. Ask Richard Stallman, he will confirm this.
However, you're testing from the router to the endpoint.
You may get different results on a client device such as a laptop or smartphone...and using a tool like Ookla's Speedtest app, and Waveform's bufferbloat/speedtest site.
I was just about to mention that running the script on a low-power router can skew the results quite heavily, like e.g. I get completely different results on a real, proper PC on the network than when running the script on a MT7621A-based Xiaomi-router. The router could only get to around ~130Mbps download-speeds and it also got higher ping-latencies, whereas the PC got ~500Mbps and around 16ms ping-latencies for all the different fields.
Quick note, better speedtest allows you to specify the histnameIP-address to use for the latency/RTT measurements:
# Usage: sh betterspeedtest.sh [ -4 -6 ] [ -H netperf-server ] [ -t duration ] [ -p host-to-ping ] [ -i ] [ -n simultaneous-sessions ]
# “H” and “host” DNS or IP address of the netperf server host (default: netperf.bufferbloat.net)
# “t” and “time” Time to run the test in each direction (default: 60 seconds)
# “p” and “ping” Host to ping for latency measurements (default: gstatic.com)
The default gstatic.com is IMHO a decent choice as Google takes care to use anycast to make sure gstatic.com is reasonably close and well connected to your link. But if you prefer different ping-reflector hosts, betterspeedtest.sh has you covered, you just need to find a reasonable alternative. Typically hosts like 8.8.8.8, 1.1.1.1, 9.9.9.9, mensura.cdn-apple.com tend to be heavily anycasted and hence suitably close (at least in some parts of the world) but in the end you will need to pick your poison and decide which of the companies you are willing to stomach taking "services" from.
In Germany you could use 'breitbandmessung.de' which appears to be hosted by AS8767 M-Net (or you could try to get the IP addresses of actual measurement hosts) or lookingglass.telekom.com.
The bigger issue to keep in mind is that the host running the remote netperf servers is operated/financed by a private volunteer, so please do not over use betterspeedtest.sh with the default servers for stuff like automated repeating measurements...
Its available bandwidth appears to be limited as well. As mentioned, I only got ~500Mbps down on it, whereas I get ~980 using Speedtest/Dslreports/etc. It's ok on a low-bandwidth connection, but with anything faster I'd say it merely serves to indicate whether there is something extremely wrong with the connection or not and nothing more.
Doesn't have to be, but some other DNS that works from where you are, like 8.8.8.8 or 1.1.1.1, etc.
I doubt your IPS is censoring the sites your router needs to access, and please note there's a difference here, between your router, and the router's clients.
I would guess that it is located on the east side of the US of A, and probably connected via a 1 Gbps link, but depending on what else the server does and how congested the path from there to ones client is one can expect to see results considerably smaller than the link speed...
Yes, it will act as forwarder to your ISPs DNS servers with that setting. All ISPs in Europe "do censorship" because they all follow the applicable laws... You can try to run your own DNS resolver and sort of side-step the ISP DNS servers, but that will likely result in sub-optimal anycast servers. Also some services require ISPs DNS servers (in my case O2 VoIP will only work using the ISPs DNS servers, I simply configured these explicitly in my VoIP base station and run my own resolver for the rest).
I may be missing something, but...why would they need to run some separate resolver? Just pointing the router to use e.g. Namecheap's DNS will skip the ISP's censorship. Namecheap's DNS-servers are pretty damn fast as well, at least for me.