Sockperf

This is a network socket API performance benchmark developed by Mellanox. This test profile runs both the client and server on the local host for evaluating individual system performance.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark sockperf.

Project Site

docs.mellanox.com

Source Repository

github.com

Test Created

28 May 2018

Last Updated

16 November 2021

Test Maintainer

Michael Larabel 

Test Type

Network

Average Install Time

3 Minutes, 47 Seconds

Average Run Time

18 Seconds

Test Dependencies

C/C++ Compiler Toolchain + PERL

Accolades

50k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsSockperf Popularity Statisticspts/sockperf2018.052018.072018.092018.112019.012019.032019.052019.072019.092019.112020.012020.032020.052020.072020.092020.112021.012021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112023.012023.032023.052023.072023.092023.112024.012024.0311K22K33K44K55K
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
*** Test profile page view reporting began March 2021.
Data updated weekly as of 18 March 2024.
Latency Under Load27.6%Latency Ping Pong36.1%Throughput36.4%Test Option PopularityOpenBenchmarking.org

Revision History

pts/sockperf-1.1.0   [View Source]   Tue, 16 Nov 2021 18:45:36 GMT
Update against Sockperf 3.7 upstream.

pts/sockperf-1.0.1   [View Source]   Sun, 27 Sep 2020 13:53:10 GMT
Set as OS test type is more accurate.

pts/sockperf-1.0.0   [View Source]   Mon, 28 May 2018 15:33:23 GMT
Initial commit of Mellanox Sockperf test profile, quite easy addition.

Suites Using This Test

Networking Test Suite

CPU Massive


Performance Metrics

Analyze Test Configuration:

Sockperf 3.4

Test: Throughput

OpenBenchmarking.org metrics for this test profile configuration based on 1,000 public results since 28 May 2018 with the latest data as of 19 January 2024.

OpenBenchmarking.orgDistribution Of Public Results - Test: Throughput1000 Results Range From 7642 To 1036235 Messages Per Second764228214487866935889930110502131074151646172218192790213362233934254506275078295650316222336794357366377938398510419082439654460226480798501370521942542514563086583658604230624802645374665946686518707090727662748234768806789378809950830522851094871666892238912810933382953954974526995098101567010362421428425670

Based on OpenBenchmarking.org data, the selected test / test configuration (Sockperf 3.4 - Test: Throughput) has an average run-time of 2 minutes. By default this test profile is set to run at least 5 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkTest: ThroughputRun-Time48121620Min: 1 / Avg: 1.87 / Max: 14

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 2.7%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: ThroughputDeviation510152025Min: 0 / Avg: 2.74 / Max: 23

Notable Instruction Set Usage

Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.

Instruction Set
Support
Instructions Detected
SSE2 (SSE2)
Used by default on supported hardware.
 
MOVDQU CVTSI2SD DIVSD SUBSD MULSD MOVDQA PUNPCKLQDQ MOVAPD ADDSD CVTTSD2SI UCOMISD MOVD COMISD PSHUFD SQRTSD
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VEXTRACTF128
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD231SD VFMADD132SD VFNMADD132SD
Requires passing a supported compiler/build flag (verified with targets: tigerlake, cascadelake, sapphirerapids).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPBROADCASTQ
Advanced Vector Extensions 512 (AVX512)
Requires passing a supported compiler/build flag (verified with targets: cascadelake, sapphirerapids).
 
(ZMM REGISTER USE)
The test / benchmark does honor compiler flag changes.
Last automated analysis: 18 January 2022

This test profile binary relies on the shared libraries libm.so.6, libc.so.6.

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 altivec supported 44-Core
ARMv7 32-bit
armv7l
ARMv7 Cortex-A72 4-Core, ARMv7 rev 1 4-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72, ARMv8 Cortex-A72 2-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1 16-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 rev 0 8-Core, ARMv8 rev 3 4-Core, SiFive RISC-V

Recent Test Results

OpenBenchmarking.org Results Compare

2 Systems - 390 Benchmark Results

ARMv8 Cortex-A76 - BCM2835 Raspberry Pi 5 Model B Rev 1.0 - 8GB

Ubuntu 23.10 - 6.5.0-1011-raspi - GNOME Shell 45.2

1 System - 494 Benchmark Results

1 System - 379 Benchmark Results

ARMv8 Cortex-A76 - Mixtile Blade 3 v1.0.1 - 16GB

Ubuntu 22.04 - 5.10.160-rockchip - GNOME Shell 42.9

1 System - 22 Benchmark Results

2 x Intel Xeon Gold 6342 - Supermicro X12DPi-N6 v1.00 - Intel Device 0998

Ubuntu 20.04 - 5.4.0-132-generic - Xfce

1 System - 148 Benchmark Results

2 x AMD EPYC 7763 64-Core - ASUS KMPP-D32 - AMD Starship

Ubuntu 20.04 - 5.4.0-169-generic - NVIDIA

1 System - 3 Benchmark Results

AMD EPYC 7763 64-Core - ASRockRack ROMED8-2T/BCM v3.01 - AMD Starship

Ubuntu 22.04 - 5.15.0-91-generic - X Server 1.21.1.4

1 System - 2 Benchmark Results

AMD EPYC 7763 64-Core - ASRockRack ROMED8-2T/BCM v3.01 - AMD Starship

Ubuntu 22.04 - 5.15.0-91-generic - X Server 1.21.1.4

7 Systems - 263 Benchmark Results

Intel Core i5-14600K - ASUS ROG STRIX Z790-E GAMING WIFI - Intel Device 7a27

Nobara Linux 38 - 6.5.5-201.fsync.fc38.x86_64 - GNOME Shell 44.2

5 Systems - 329 Benchmark Results

Intel Core i5-13600K - ASUS ROG STRIX B760-A GAMING WIFI D4 - Intel Device 7a27

ManjaroLinux 22.0.4 - 6.1.12-1-MANJARO - KDE Plasma 5.26.5

5 Systems - 359 Benchmark Results

Intel Core i5-13600K - ASUS ROG STRIX B760-A GAMING WIFI D4 - Intel Device 7a27

ManjaroLinux 22.0.4 - 6.1.12-1-MANJARO - KDE Plasma 5.26.5

4 Systems - 354 Benchmark Results

Intel Core i5-13600K - ASUS ROG STRIX B760-F GAMING WIFI - Intel Device 7a27

ManjaroLinux 22.0.4 - 6.1.12-1-MANJARO - KDE Plasma 5.26.5

1 System - 3 Benchmark Results

Intel Core i9-10850K - ASUS ROG MAXIMUS XII APEX - Intel Comet Lake PCH

Ubuntu 23.10 - 6.5.0-5-generic - GNOME Shell 45.0

1 System - 1 Benchmark Result

AMD Ryzen Threadripper 3960X 24-Core - Gigabyte TRX40 AORUS XTREME - AMD Starship

Debian 11 - 5.13.19-6-pve - GCC 10.2.1 20210110 + Clang 11.0.1-2

1 System - 5 Benchmark Results

Intel Atom E3950 - Kontron Europe COMe-mAL10 E2 v1.0.2 - Intel Celeron N3350

Debian GNU - 6.1.46-cip4 - GCC 12.2.0

Find More Test Results