Commit 56aa539
authored
[mux simulaotr] Improve mux simulator toggle performance (#16508)
What is the motivation for this PR?
Use thread-pool to parallel run the mux toggles.
This code is from PR: #16164, which is reverted.
Let's have the change here.
Signed-off-by: Longxiang [email protected]
How did you do it?
As the motivation.
How did you verify/test it?
Run on dualtor/dualtor-120 testbed.
Signed-off-by: Longxiang <[email protected]>1 parent 4181dbc commit 56aa539
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
| |||
559 | 564 | | |
560 | 565 | | |
561 | 566 | | |
| 567 | + | |
| 568 | + | |
562 | 569 | | |
563 | 570 | | |
564 | 571 | | |
| 572 | + | |
565 | 573 | | |
566 | 574 | | |
567 | 575 | | |
| |||
596 | 604 | | |
597 | 605 | | |
598 | 606 | | |
599 | | - | |
| 607 | + | |
| 608 | + | |
600 | 609 | | |
601 | 610 | | |
602 | 611 | | |
| |||
605 | 614 | | |
606 | 615 | | |
607 | 616 | | |
608 | | - | |
| 617 | + | |
| 618 | + | |
609 | 619 | | |
610 | 620 | | |
611 | 621 | | |
| |||
0 commit comments