Abstract
- The theoretical maximum rate of data transfer across a Computer Network
Speed measurement unit
Measured in
Kbps
,Mbps
andGbps
etc, which refer to , and Bit per second correspondingly.
Network Throughput
- Actual rate of successful data transfer over a network. It represents the real-world performance of the connection and takes into account factors such as Network Congestion, packet loss, and other forms of interference that can affect data transmission. Throughput is often lower than the theoretical Bandwidth due to these factors
Test the Internet Throughput
Run
curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3 -
.
Test the localhost Throughput
Run the benchmarking server on
localhost
on Network Port3000
withiperf3-darwin -s -p 3000
.Run the benchmarking client to test for the bandwidth of
localhost
withiperf3 -c localhost -p 3000 -f M
.
Bandwhich
- A CLI tool that show the Network Throughput of all apps on the machine, the remote addresses the apps are connecting to, and the Network Interface that is handling the connection
- Install with
brew install bandwhich
, and run it withsudo bandwhich