iPerf.fr

iPerf - The ultimate speed test tool for TCP, UDP and SCTPTest the limits of your network + Internet neutrality test

Table of contents :

  1. Public iPerf3 servers
  2. Script to host a iPerf3 server
  3. Emulating wide area network delays with Linux


Public iPerf3 servers

iPerf3 servers will only allow one iPerf connection at a time. Multiple tests at the same time is not supported. If a test is in progress, the following message is displayed: "iperf3: error - the server is busy running a test. try again later"

Europe
iPerf3 server Characteristics Localization Datacenter Hosting Speed Port IP version Contact
bouygues.testdebit.info Linux 4.4 France
Île-de-France
Telehouse 2
Paris Voltaire
Bouygues Telecom 10 Gbit/s 5200 TCP
to
5209 TCP
IPv4 and IPv6 @lafibreinfo
ping.online.net
ping6.online.net
ping-90ms.online.net
ping6-90ms.online.net
IPv4 only
IPv6 only
IPv4 +90ms latency
IPv6 +90ms latency
France
Île-de-France
Online
Vitry DC3
online.net 10 Gbit/s 5200 TCP/UDP
to
5209 TCP/UDP
IPv4 or IPv6 mikmak
ikoula.testdebit.info Linux 4.4 France
Champagne
-Ardenne
Ikoula Reims
Data Center 1
Ikoula 1 Gbit/s 5200 TCP
to
5209 TCP
IPv4 and IPv6 @Ikoula
debit.k-net.fr Linux 3.2 Switzerland Equinix
Geneva GV1
K-Net 1 Gbit/s 5201 TCP/UDP IPv4 and IPv6 jack
speedtest.serverius.net
(Port 5002: add -p 5002)
Netherlands Serverius
datacenter
Serverius datacenters 10 Gbit/s 5002 TCP/UDP IPv4 and IPv6 @serveriusbv
iperf.eenet.ee Estonia EENet Tartu EENet 5201 TCP/UDP IPv4 only @EENet_HITSA
iperf.volia.net Ukraine Volia Kiev ВОЛЯ 5201 TCP/UDP IPv4 only @voliaofficial
Asia
iPerf3 server Characteristics Localization Datacenter Hosting Speed Port IP version Contact
iperf.it-north.net Linux 3.16
Debian 8
Kazakhstan
Petropavl Kazakhtelecom 1 Gbit/s 5200 TCP/UDP
to
5209 TCP/UDP
IPv4 only Brauninger A.F.
iperf.biznetnetworks.com Linux 2.6.32
CentOS 6
Indonesia
Biznet - Midplaza
Cimanggis
Biznet Networks 1 Gbit/s 5201 TCP
to
5203 TCP
IPv4 and IPv6 Biznet Networks
Americas
iPerf3 server Characteristics Localization Datacenter Hosting Speed Port IP version Contact
iperf.scottlinux.com USA
California
Hurricane
Fremont 2
scottlinux.com 1 Gbit/s 5201 TCP/UDP IPv4 and IPv6 @scottlinux
iperf.he.net USA
California
Hurricane
Fremont 1
he.net 5201 TCP/UDP IPv4 and IPv6 HE forums

To add / remove a public iPerf3 server, please report them to vivien16@gueant.org



Script to host a iPerf3 server with Linux (Ubuntu / Debian)

iPerf3 not allow multiple tests to a server => it is necessary to start several iPerf processes for not having the message iperf3: error - the server is busy running a test. try again later
Bash script restart_iperf.sh to start 10 iPerf3 server (5200 TCP to 5209 TCP) :

#!/bin/dash
/bin/sleep 10
/usr/bin/killall iperf3
/bin/sleep 0.1
/usr/bin/killall -9 iperf3
/bin/sleep 0.1
if [ `ps -C iperf3 | wc -l` = "1" ]
then
  /usr/bin/sudo -u nobody /usr/bin/iperf3 -s -p 5200 -D >/dev/null 2>&1
  /usr/bin/sudo -u nobody /usr/bin/iperf3 -s -p 5201 -D >/dev/null 2>&1
  /usr/bin/sudo -u nobody /usr/bin/iperf3 -s -p 5202 -D >/dev/null 2>&1
  /usr/bin/sudo -u nobody /usr/bin/iperf3 -s -p 5203 -D >/dev/null 2>&1
  /usr/bin/sudo -u nobody /usr/bin/iperf3 -s -p 5204 -D >/dev/null 2>&1
  /usr/bin/sudo -u nobody /usr/bin/iperf3 -s -p 5205 -D >/dev/null 2>&1
  /usr/bin/sudo -u nobody /usr/bin/iperf3 -s -p 5206 -D >/dev/null 2>&1
  /usr/bin/sudo -u nobody /usr/bin/iperf3 -s -p 5207 -D >/dev/null 2>&1
  /usr/bin/sudo -u nobody /usr/bin/iperf3 -s -p 5208 -D >/dev/null 2>&1
  /usr/bin/sudo -u nobody /usr/bin/iperf3 -s -p 5209 -D >/dev/null 2>&1
fi

Lines to add to the file /etc/rc.local before exit 0, to launch iPerf3 automatically, when you start the server.
UDP traffic is blocked with iptables (IPv4) and ip6tables (IPv6) to prevent DDOS attacks :

# Start iPerf3
/sbin/iptables -A INPUT -p udp --dport 5200:5209 -j DROP
/sbin/ip6tables -A INPUT -p udp --dport 5200:5209 -j DROP
/home/scripts/restart_iperf.sh

Lines to add job to the crontab, for restart iPerf3 every hour (Use crontab -e to edit the crontab).
This is necessary because the process may crash or close.

# Restart iPerf3 every hour
59 * * * * /home/scripts/restart_iperf.sh >/dev/null 2>&1


Emulating wide area network delays with Linux

NetEm (already enabled in the Linux kernel) provides Network Emulation functionality for testing protocols by emulating the properties of wide area networks.

To simulate an additional latency of 80 ms, just type sudo tc qdisc add dev eth0 root netem delay 80ms
It just adds a fixed amount of delay to all packets going out of the local Ethernet.

To stop the additional latency, just type sudo tc qdisc change dev eth0 root netem delay 0ms

Lines to add to the file /etc/rc.local before exit 0, to add 40ms of latency :

# Add +40ms latency
tc qdisc add dev eth0 root netem delay 40ms

Note: If your network interface is not eth0, replace eth0 with the name of your network interface