How to Install and Uninstall sockperf Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 12,2024

1. Install "sockperf" package

Please follow the guidance below to install sockperf on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install sockperf

2. Uninstall "sockperf" package

Please follow the guidance below to uninstall sockperf on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove sockperf $ sudo apt autoclean && sudo apt autoremove

3. Information about the sockperf package on Ubuntu 21.10 (Impish Indri)

Package: sockperf
Architecture: amd64
Version: 3.6-2build1
Multi-Arch: foreign
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian HPC Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4950
Depends: libc6 (>= 2.17), libgcc-s1 (>= 3.0), libstdc++6 (>= 5.2)
Filename: pool/universe/s/sockperf/sockperf_3.6-2build1_amd64.deb
Size: 683868
MD5sum: 44f400675f289f4b796a5e4e0ef014f7
SHA1: e994a34aa0fda0b1c4b0d92ec9ce01212b16a085
SHA256: 6c4278fe1e9aa65d903627438aea84ad4930f846002d8998f9358dffc88f1f42
SHA512: 21f5bdacfde8ee7ae42d51a92110fbb5b05d1425afd9f832873bef13b086d3c03fb7654c6657e9afbd385efe884a4a0be6f9259164abaf76af2beb3ddcce939b
Homepage: https://github.com/Mellanox/sockperf
Description-en: Network benchmarking utility for testing latency and throughput
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.
.
Specifically, in addition to the standard throughput tests, sockperf,
does the following:
* Measure latency of each discrete packet at sub-nanosecond
resolution (using TSC register that counts CPU ticks with very low
overhead).
* Does the above for both ping-pong mode and for latency under load
mode. This means that measuring latency of single packets even under
load of millions Packets Per Second (without waiting for reply of
packet before sending subsequent packet on time)
* Enable spike analysis by providing histogram, with various
percentiles of the packets' latencies (for example: median, min, max,
99% percentile, and more), (this is in addition to average and
standard deviation). Also, sockperf provides full log with all
packet's tx/rx times that can be further analyzed with external
tools, such as MS-Excel or matplotlib - All this without affecting
the benchmark itself.
* Support MANY optional settings for good coverage of socket API and
network configurations, while still keeping very low overhead in the
fast path to allow cleanest results.
Description-md5: 01a13efa52ef75e23cb8932bf8498b26