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

4 Minutes, 38 Seconds

Average Run Time

3 Minutes, 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.082018.112019.022019.052019.082019.112020.022020.052020.082020.112021.022021.052021.082021.112022.022022.052022.082022.112023.022023.052023.082023.112024.022024.052024.0812K24K36K48K60K
* 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 14 October 2024.
Latency Under Load27.6%Latency Ping Pong36.0%Throughput36.3%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,005 public results since 28 May 2018 with the latest data as of 16 May 2024.

OpenBenchmarking.orgDistribution Of Public Results - Test: Throughput1005 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.88 / Max: 14

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: ThroughputDeviation510152025Min: 0 / Avg: 2.76 / 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

4 Systems - 42 Benchmark Results

2 x Intel Xeon Gold 6430 - N/A X640 G50 60EA32X v24003523 - Intel Device 1bce

Ubuntu 22.04 - 5.15.0-119-generic - GCC 11.4.0 + CUDA 12.4

1 System - 1 Benchmark Result

AMD Ryzen 5 5500U - 6GB - 0GB Virtual Disk + 2GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.153.1-microsoft-standard-WSL2 - Wayland

1 System - 45 Benchmark Results

2 x AMD EPYC 7443 24-Core - Dell PowerEdge R7525 [03WYW4] - AMD Starship

Red Hat Enterprise Linux 9.4 - 5.14.0-427.33.1.el9_4.x86_64 - X Server

1 System - 45 Benchmark Results

2 x AMD EPYC 7302 16-Core - Dell PowerEdge R7525 [0H3K7P] - AMD Starship

Red Hat Enterprise Linux 9.4 - 5.14.0-427.33.1.el9_4.x86_64 - X Server

1 System - 45 Benchmark Results

2 x AMD EPYC 7302 16-Core - Dell PowerEdge R7525 [0590KW] - AMD Starship

Red Hat Enterprise Linux 9.4 - 5.14.0-427.33.1.el9_4.x86_64 - X Server

1 System - 45 Benchmark Results

2 x AMD EPYC 7443 24-Core - Dell PowerEdge R7525 [03WYW4] - AMD Starship

Red Hat Enterprise Linux 9.4 - 5.14.0-427.33.1.el9_4.x86_64 - X Server

1 System - 3 Benchmark Results

Intel Celeron N2807 - AMI LEB-7233M Aptio CRB - Intel Atom Z36xxx

Ubuntu 16.04 - 4.4.0-210-generic - GCC 5.4.0 20160609

5 Systems - 30 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 r7g.4xlarge - 128GB

Rocky Linux 9.4 - 5.14.0-427.28.1.el9_4.aarch64 - GCC 11.4.1 20231218

4 Systems - 30 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 r7g.4xlarge - 128GB

Rocky Linux 9.4 - 5.14.0-427.28.1.el9_4.aarch64 - GCC 11.4.1 20231218

7 Systems - 64 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.5.20240730 - 6.1.97-104.177.amzn2023.aarch64 - GCC 11.4.1 20230605

3 Systems - 27 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 r7g.4xlarge - 128GB

Rocky Linux 9.4 - 5.14.0-427.28.1.el9_4.aarch64 - GCC 11.4.1 20231218

2 Systems - 95 Benchmark Results

16 x AMD Ryzen 7 5700G - Intel 440BX - Intel 440BX

Ubuntu 22.04 - 6.5.0-41-generic - GNOME Shell 42.9

1 System - 5 Benchmark Results

2 x Intel Xeon Gold 6354 - Kraftway PLC KWBLDC - Intel Device 0998

Ubuntu 20.04 - 5.4.0-187-generic - GCC 9.4.0

1 System - 4 Benchmark Results

Intel Core - Red Hat RHEL-AV - Intel 82G33

Ubuntu 24.04 - 6.8.0-31-generic - GCC 13.2.0

1 System - 4 Benchmark Results

Intel Core - Red Hat RHEL-AV - Intel 82G33

Ubuntu 24.04 - 6.8.0-31-generic - GCC 13.2.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

1 System - 1004 Benchmark Results

SiFive RISC-V - FriendlyElec NanoPC-T4 - Rockchip RK3399

Ubuntu 18.04 - 4.4.138 - LXDE 0.9.3

22 Systems - 46 Benchmark Results

Intel Core i7-8700K - ASUS TUF Z370-PLUS GAMING - Intel 8th Gen Core

Ubuntu 20.10 - 5.10.4-051004-generic - GNOME Shell 3.38.1

2 Systems - 1813 Benchmark Results

Intel Xeon Platinum 8163 - Alibaba Cloud ECS - Intel 440FX- 82441FX PMC

Amazon Linux 2 - 4.14.33-59.37.amzn2.x86_64 - GCC 7.3.1 20180303

3 Systems - 143 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 m6g.metal v1.0 - 252GB

Ubuntu 20.04 - 5.4.0-1009-aws - GCC 9.3.0

4 Systems - 67 Benchmark Results

AMD Ryzen 5 2600X Six-Core - MSI X470 GAMING M7 AC - AMD 17h

Ubuntu 18.04 - 5.0.0-27-generic - GNOME Shell 3.28.4

3 Systems - 1848 Benchmark Results

Intel Xeon Platinum 8163 - Alibaba Cloud ECS - Intel 440FX- 82441FX PMC

Amazon Linux 2 - 4.14.33-59.37.amzn2.x86_64 - GCC 7.3.1 20180303

6 Systems - 57 Benchmark Results

Intel Core i7-8086K - ASUS PRIME Z370-A - Intel 8th Gen Core

Ubuntu 18.10 - 5.0.0-999-generic - GNOME Shell 3.30.1

2 Systems - 90 Benchmark Results

Intel Core i9-9900KS - ASUS PRIME Z390-A - Intel Cannon Lake PCH

Ubuntu 20.04 - 5.4.0-14-generic - GNOME Shell 3.34.3

2 Systems - 46 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

Ubuntu 21.04 - 5.11.0-17-generic - GNOME Shell 3.38.4

8 Systems - 79 Benchmark Results

Intel Core i9-7980XE - ASUS PRIME X299-A - Intel Sky Lake-E DMI3 Registers

Ubuntu 18.10 - 5.0.0-rc7-stock - GNOME Shell 3.30.1

Find More Test Results