Benchmarking: Sockperf
Jump to navigation
Jump to search
Intro
Sockperf is a network benchmarking utility over socket API that was designed for testing performance (latency and throughput) of high-performance systems (it is also good for testing performance of regular networking systems as well). It covers most of the socket API calls and options.
Installation
- download the sockperf package at https://sockperf.googlecode.com/files/sockperf-2.5.241.tar.gz
- untar the package and cd into the folder
- execute following command
$ ./autogen.sh
$ ./configure --prefix=<path to install>
$ make
$ make install=Benchmarking
- server side:
sockperf sr
- client side:
sockperf pp -i 192.168.1.8 -t 5 -m 12
Notes: to decrease the latency, it is often worth pinning CPU and using optimized tools provided by vendors.