Skip to content

Commit

Permalink
default rmem lots of connections
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgov committed May 22, 2024
1 parent 811c115 commit 311d6db
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions microsoft/testsuites/performance/networkperf.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,23 @@ 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_default_rmem(self, result: TestResult) -> None:
perf_ntttcp(result, connections=[20480])
@TestCaseMetadata(
description="""
This test case uses ntttcp to test sriov tcp network throughput.
Expand All @@ -200,7 +216,7 @@ 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)
perf_ntttcp(result, connections=[20480])

@TestCaseMetadata(
description="""
Expand Down

0 comments on commit 311d6db

Please sign in to comment.