Commit 90697ba
Fix passthrough TCP NTTTCP setup after reboot
NTTTCP setup can reboot guests when it raises TasksMax for the 20480 TCP connection case. In passthrough scenarios that reboot drops the test NIC DHCP state, but the performance helper continued using the pre-reboot NIC names and internal addresses.
Add an optional post_ntttcp_setup hook to perf_ntttcp so callers can refresh platform-specific NIC state after setup_system completes. Use it in the passthrough host/guest and two-guest TCP NTTTCP tests to rerun passthrough NIC configuration before lagscope and NTTTCP start.
Also allow passthrough TCP NTTTCP to use a larger client timeout tolerance so the high-fanout client can finish emitting final output instead of being killed during cooldown/drain.
Validation: black, flake8, and py_compile on common.py and networkperf_passthrough.py.1 parent 6ac3296 commit 90697ba
2 files changed
Lines changed: 40 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
353 | 356 | | |
354 | 357 | | |
355 | 358 | | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
356 | 365 | | |
357 | 366 | | |
358 | 367 | | |
| |||
414 | 423 | | |
415 | 424 | | |
416 | 425 | | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
417 | 431 | | |
418 | 432 | | |
419 | 433 | | |
| |||
556 | 570 | | |
557 | 571 | | |
558 | 572 | | |
| 573 | + | |
559 | 574 | | |
560 | 575 | | |
561 | 576 | | |
| |||
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
251 | 252 | | |
252 | 253 | | |
253 | 254 | | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
254 | 261 | | |
255 | 262 | | |
256 | 263 | | |
257 | 264 | | |
258 | 265 | | |
259 | 266 | | |
260 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
261 | 272 | | |
262 | 273 | | |
263 | 274 | | |
| |||
491 | 502 | | |
492 | 503 | | |
493 | 504 | | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
494 | 514 | | |
495 | 515 | | |
496 | 516 | | |
497 | 517 | | |
498 | 518 | | |
499 | 519 | | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
500 | 524 | | |
501 | 525 | | |
502 | 526 | | |
| |||
0 commit comments