Skip to content

Commit

Permalink
add a dumb hack to run ntttcp with larger rmem value
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgov committed May 22, 2024
1 parent 1b83b52 commit 8f94e8f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions microsoft/testsuites/performance/networkperf.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,26 @@ def perf_tcp_ntttcp_synthetic(self, result: TestResult) -> None:
def perf_tcp_ntttcp_sriov(self, result: TestResult) -> None:
perf_ntttcp(result)

@TestCaseMetadata(
description="""
This test case uses ntttcp to test sriov tcp network throughput.
""",
priority=3,
timeout=TIMEOUT,
requirement=node_requirement(
node=schema.NodeSpace(
node_count=2,
memory_mb=search_space.IntRange(min=8192),
network_interface=Sriov(),
)
),
)
def perf_tcp_ntttcp_sriov_huge_rmem(self, result: TestResult) -> None:
for node in result.environment.nodes.list():
node.tools[Sysctl].write("net.core.rmem_max", "10485760")
node.tools[Sysctl].write("net.core.rmem_default", "10485760")
perf_ntttcp(result)

@TestCaseMetadata(
description="""
This test case uses ntttcp to test synthetic udp network throughput.
Expand Down

0 comments on commit 8f94e8f

Please sign in to comment.