Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions lisa/microsoft/testsuites/performance/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,14 @@ def perf_ntttcp( # noqa: C901
)
dev_differentiator = "Hypervisor callback interrupts"
max_server_threads = 64
# On large VMs (>64 CPUs) the default 10s ntttcp run is too short for
# throughput to stabilize across all queues, leading to noisy results.
# Use a 120s run time on these SKUs and keep the default 10s elsewhere
# to avoid lengthening every test.
client_core_count = client.tools[Lscpu].get_core_count()
run_time_seconds = 120 if client_core_count > 64 else 10
warm_up_time_seconds = 5 if client_core_count > 64 else 1
cool_down_time_seconds = 5 if client_core_count > 64 else 1
Comment on lines +480 to +483
perf_ntttcp_message_list: List[

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also change the for

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Union[NetworkTCPPerformanceMessage, NetworkUDPPerformanceMessage]
] = []
Expand Down Expand Up @@ -546,6 +554,8 @@ def perf_ntttcp( # noqa: C901
dev_differentiator=dev_differentiator,
udp_mode=udp_mode,
no_debug_log=True,
cool_down_time_seconds=cool_down_time_seconds,
warm_up_time_seconds=warm_up_time_seconds,
)
Comment on lines 545 to 560

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed


# Start lagscope client to measure latency during the
Expand All @@ -571,6 +581,9 @@ def perf_ntttcp( # noqa: C901
buffer_size=buffer_size,
threads_count=num_threads_n,
ports_count=num_threads_p,
run_time_seconds=run_time_seconds,
cool_down_time_seconds=cool_down_time_seconds,
warm_up_time_seconds=warm_up_time_seconds,
dev_differentiator=dev_differentiator,
udp_mode=udp_mode,
tolerance_seconds=client_ntttcp_timeout_tolerance_seconds,
Expand Down
Loading