
When you choose a dedicated server for your business, one of the most important things to look at is the network bandwidth in your plan. This is important because it affects the cost, so you want to make sure you're getting the bandwidth you're paying for. Testing your home internet speed is easy because there are many popular tools with simple web interfaces. But, using these same tools to check your server's network speed is not a good idea. They often give results that are not accurate or reliable.
Now, here's something important to note:Many providers give you tools to check bandwidth, but these tools often do not give accurate results. This can be confusing and frustrating. But don't worry, you can fix this problem easily. It is important for every user, including you, to learn how to test bandwidth by yourself. In this article, we will show you how to test your server's bandwidth step by step. After following these steps, you can be sure your server is working properly. Don't stress—we will make it easy for you to understand and do on your own!
Challenges with Traditional Web Speed Tests
When you use a speed test tool, it usually measures how fast your server can connect to their test servers. But here's the catch: many of these test servers only have a maximum speed of 1Gbps. This means if your server has a higher speed, you won't be able to see it because the test server can't go faster than 1Gbps. Another issue comes up if you're testing by downloading a file from your server to your home computer. Your results will be limited by the speed of your home internet. For example, if your home internet speed is around 19 Mbps (which is common in the US), you won't get a true reading of your server's high-speed capabilities. Also, tools like wget are not great for this. They usually use just one connection, which isn't enough to properly test the speed of high-bandwidth connections.
Accurate Methods for Testing 10Gbps Bandwidth
Given the limitations of traditional speed tests, we're here to guide you on how to measure 10Gbps bandwidth effectively. This guide will show you how to set up a network test between two servers, whether they are in different data centers or within the same one. For a precise test of 10Gbps connections, it's important to run multiple tests at the same time. For testing network bandwidth, we recommend using a well-known tool called Iperf3. In our tutorial, we'll walk you through how to install Iperf3 on Windows , Linux and CentOS systems, making it easier for you to get accurate results.
Iperf Tutorial: What It Is and How to Install It
What is Iperf?
Iperf is a tool used to measure network performance by testing the speed between two servers. It helps you find out how much bandwidth your connection can handle in both directions, using either TCP or UDP. It's great for checking the maximum speed of your server's uplink.
How to Install Iperf
To use Iperf, you'll need at least two servers: one to send the data and another to receive it. This setup allows you to run tests and get accurate results about your network's performance. In the next steps, we'll guide you through installing Iperf3 on Linux and CentOS so you can start testing your network speed.
How to Install Iperf3 on Your Server
Linux OS: For Debian-based systems (like Ubuntu), use the following command:sudo apt-get install iperf3For Red Hat-based systems (like CentOS), use this command:
sudo yum install iperf3Windows:
- Download Iperf3:
- Go to the official Iperf website.
- Find the Windows version under the "Windows" section and download the ZIP file.
- Extract the ZIP File:
- Right-click on the downloaded ZIP file and choose "Extract All" to unzip it.
- Run Iperf3
- Open the extracted folder and find the iperf3.exe file.
- You can run Iperf3 from the Command Prompt. Open Command Prompt by pressing Win + R, typing cmd, and hitting Enter.
- Navigate to the folder where iperf3.exe is located using the cd command.
For example:
cd C:\path\to\iperf3 - Run Iperf3 with the desired commands. For example, to start the server,
use:
iperf3 -s - To start the client, use:
iperf3 -c <server-ip>
- Additional Configuration (Optional):
- You can also set up Iperf3 to run as a background service or configure
it to run specific tests by adding various command options. For example,
to test TCP bandwidth, you can use:
This runs a test for 60 seconds.iperf3 -c <server-ip> -t 60 - To test UDP performance, use:
iperf3 -c <server-ip> -u
- You can also set up Iperf3 to run as a background service or configure
it to run specific tests by adding various command options. For example,
to test TCP bandwidth, you can use:
- View Results:
- After running the tests, Iperf3 will display results in the Command Prompt window. You'll see details like transfer speeds and bandwidth, helping you assess your network performance.
Why Iperf is Perfect for Testing 10Gbps
Iperf is a great tool for testing high-speed networks because it can run several test connections at once between two servers. This is crucial for accurately measuring speeds of 10Gbps or more. Unlike tools like wget, which only uses one connection and can't test speeds beyond 1Gbps, Iperf lets you fully utilize the power of your server.
Here's how you can test your 10Gbps bandwidth with Iperf:- Prepare Your Servers:
- Both servers need to support 10Gbps: For accurate results, both the server sending the data (the client) and the server receiving the data (the listener) should have a 10GE uplink. Ideally, the listener server should have even more capacity, like 20Gbps, to handle the full load.
- Run Iperf Tests:
- On the client-server: Start the Iperf test by running commands that will measure the bandwidth. This will show you how well your connection performs across all test connections.
- Need a Listening Server?
- If you don't have a listening server to connect to, just get in touch with our support team, and we'll provide one for you.
- Testing Between Multiple Servers:
- If you have several servers with your provider, you can run Iperf tests between them to check their bandwidth performance.
Iperf Commands: How to Test Your Network
If you're using your own servers, here's how to set up Iperf for testing:- On the Listening Server:
- Start by activating the listening mode with this command:
iperf3 -s - This command sets your server to listen for incoming tests on port 5201.
- Start by activating the listening mode with this command:
- On the Client Server:
- To run a test, you need the IP address of the listening server. We
suggest running multiple streams to get accurate results. Use the -P X
parameter, where X is the number of parallel connections. Here's the
command:
iperf3 -P 20 -c $server_ip - This will run 20 simultaneous tests against the listening server ($server_ip).
- To run a test, you need the IP address of the listening server. We
suggest running multiple streams to get accurate results. Use the -P X
parameter, where X is the number of parallel connections. Here's the
command:
Understanding the Test Results:
- Interval: Shows the duration of each test segment.
- Transfer: Indicates the total amount of data transferred during the test.
- Bandwidth: Displays the speed of the data transfer in Mbit/sec.
When you look at your Iperf test results, you'll see details for each test stream. Pay special attention to the last two lines marked [SUM]. These lines show the average speed of your network. For instance, if each stream shows around 460 Mbps, and the total bandwidth is 9.33 Gbps, it means your network is nearly hitting its 10Gbps limit. Remember, the listening server here has a 20Gbps uplink, which helps achieve these high speeds.
Note: This guide gives you the basics of using Iperf for network testing. Iperf has a range of other features and settings you can explore to get more detailed results.













































