Skip to content

Commit

Permalink
Linux TCP support (#3895)
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-GS authored Oct 12, 2023
1 parent 20773b6 commit c4e0522
Show file tree
Hide file tree
Showing 4 changed files with 846 additions and 259 deletions.
40 changes: 40 additions & 0 deletions scripts/RemoteTests.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,26 @@
"Formats": ["{0} kbps"],
"RegressionThreshold": "-60.0"
},
{
"TestName": "TcpThroughputUp",
"Local" : {
"Platform": "linux",
"Tls": ["openssl", "openssl3"],
"Arch": ["x64", "arm"],
"Exe": "secnetperf",
"Arguments": "-exec:maxtput -test:Throughput -target:$RemoteAddress -uni:1 -timed:1 -upload:12000 -tcp:1"
},
"Variables": [
],
"SkipKernel": true,
"AllowLoopback": true,
"Iterations": 5,
"RemoteReadyMatcher": "Started!",
"ResultsMatcher": ".*@ (.*) kbps.*",
"FailureDefault": "Result: 0 bytes @ 0 kbps (0.0 ms).",
"Formats": ["{0} kbps"],
"RegressionThreshold": "-60.0"
},
{
"TestName": "ThroughputDown",
"Local": {
Expand Down Expand Up @@ -165,6 +185,26 @@
"Formats": ["{0} kbps"],
"RegressionThreshold": "-60.0"
},
{
"TestName": "TcpThroughputDown",
"Local" : {
"Platform": "linux",
"Tls": ["openssl", "openssl3"],
"Arch": ["x64", "arm"],
"Exe": "secnetperf",
"Arguments": "-exec:maxtput -test:Throughput -target:$RemoteAddress -uni:1 -timed:1 -download:12000 -tcp:1"
},
"Variables": [
],
"SkipKernel": true,
"AllowLoopback": true,
"Iterations": 5,
"RemoteReadyMatcher": "Started!",
"ResultsMatcher": ".*@ (.*) kbps.*",
"FailureDefault": "Result: 0 bytes @ 0 kbps (0.0 ms).",
"Formats": ["{0} kbps"],
"RegressionThreshold": "-60.0"
},
{
"TestName": "RPS",
"Local": {
Expand Down
19 changes: 19 additions & 0 deletions scripts/TcpTests.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,25 @@
"ResultsMatcher": ".*@ (.*) kbps.*",
"Formats": ["{0} kbps"],
"RegressionThreshold": "-8.0"
},
{
"TestName": "TcpThroughputUp",
"Local" : {
"Platform": "linux",
"Tls": ["openssl", "openssl3"],
"Arch": ["x64", "arm"],
"Exe": "secnetperf",
"Arguments": "-test:Throughput -target:$RemoteAddress -bind:$LocalAddress:4434 -ip:4 -uni:1 -upload:2000000000 -tcp:1"
},
"Variables": [
],
"AllowLoopback": true,
"Iterations": 5,
"RemoteReadyMatcher": "Started!",
"ResultsMatcher": ".*@ (.*) kbps.*",
"FailureDefault": "Result: 0 bytes @ 0 kbps (0.0 ms).",
"Formats": ["{0} kbps"],
"RegressionThreshold": "-60.0"
}
]
}
Loading

0 comments on commit c4e0522

Please sign in to comment.