New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
It's an highly customizable tool used to test the bandwidth speed; it can be between your own servers or any other ISP.
iperf3 measures network throughput from one host to another host.
https://software.es.net/iperf/invoking.html#iperf3-manual-page
iperf2 measures network throughput and latency from one host to another host.
https://iperf2.sourceforge.io/iperf-manpage.html
YABS uses iperf3 against several publicly hosted servers.
iperf3 uses a different port as iperf. So if you have a firewall and need to open the port, it matters which version of iperf you are running . 5001 vs 5201. The -P and -R switches are very useful also
You may have 1 Mbps with your local ISP but reaching 100 Gbps with Hetzner. This is not something standard, it all depends with whom they do peers/network capacity/etc. :-)
So how do you configure both of them to test against a particular locations or set of locations?
I have a slow server I need to test against some common providers, both latency and raw speed.
I take it that latency is the time reported by the
ping
command or it is related to it?iperf uses client-server architecture.
All you need is a VPS act as a iperf server then enter the command (e.g iperf3 -s -p 5200 --bidir)
on the other side in another VPS, run the command (e.g iperf3 -c -p 5200)
Quick browsing, I found a repository that provide list of public iperf server along with the command.
check this out
Why not just do
instead of iperf
because some people dont run live downloaded scripts without previewing them. Especially ones that hide behind a browser match and dont show the script when accessed as https://nws.sh/ YMMV
You can preview it by running
bad practice. please be a troll somewhere else, not in a help thread
Be more specific
Do you know of some iperf2 scripts which can be used to check problems between two providers?
I think it is what I need to check my Hosthatch issues, even though the nws.sh script shows it is rather slow on the upload side.
You mean between two hosts you own?
Yes
Host 1
apt install iperf3
say No when a big popup will appear
iperf3 -s
make sure port on screen is open on your firewall
Host 2
apt install iperf3
say No when a big popup will appear
host2 to host1
iperf3 -c <ip of host 1>
then
host1 to host2
iperf3 -c <ip of host 1> -R
I like it. My only tip would be to also run it with -P 8 to use multiple streams. Seems a lot of my VPS throttle a single stream. They may advertise 1gb but you won't get it on a single stream
iperf is a tool that tests network performance between two points
It measures maximum bandwidth, packet loss, and network latency
One system acts as a server, another as a client
On the server side
iperf3 -s
On the client side
iperf3 -c server_ip
https://medium.com/@i.anujpratapsingh/how-to-use-iperf3-for-network-bandwidth-testing-fa92c096b01c
https://www.goanywhere.com/blog/how-to-measure-network-and-disk-throughput-with-iperf3
That's not the VPS, that's the tcp protocol. By design, it is NOT supposed to use 100% of the pipe. In addition, there is a bandwidth delay product, so only so much data gets sent at a time until the other side says it got it. Generally, you need at least three streams to max out the link. You can use UDP to find the absolute maximum throughput as that doesn't require acknowledging the sent packets causing delay.
That's why there's other newer congestion control algorithms like Google's BBR (ooh, v3 now!) to behave differently on high speed networks vs the networks of 20 years ago.
You should have used lmgtfy. That's what the first reply should have been.