website/content/blog/networkthroughput.md

30 lines
1,020 B
Markdown
Raw Normal View History

2020-01-15 21:51:49 -05:00
---
title: "Network Throughput Testing"
date: 2019-08-30T20:11:26-04:00
draft: false
2022-01-02 14:24:29 -05:00
tags: [ "Linux", "Networking" ]
2023-01-05 14:04:45 -05:00
medium_enabled: true
2020-01-15 21:51:49 -05:00
---
I ended up upgrading the wiring in my place to CAT7 recently and I wanted to see if there was a noticeable performance difference to my previous cabling. This blog post won't be a product comparison, but instead I'll show how you can do network throughput testing at your own location.
2020-09-29 00:17:51 -04:00
There is a great package called `iperf3`. It's in most repositories under Linux, and binaries for Windows and macOS exist as well.
2020-01-15 21:51:49 -05:00
For a more in depth tutorial [check out this post from Linode](https://www.linode.com/docs/networking/diagnostics/install-iperf-to-diagnose-network-speed-in-linux/).
*For the 5 second spiel...*
One one machine, start the server
```bash
2020-09-29 00:17:51 -04:00
iperf3 -s
2020-01-15 21:51:49 -05:00
```
On another machine connect to the server and begin testing the connection
```bash
2020-09-29 00:17:51 -04:00
iperf3 -c 192.168.0.2
2020-01-15 21:51:49 -05:00
```
You can also use the `-t` flag to specify the number of seconds you want to run the test for.