feat(core): Infra warmup on external infra 51/42651/1
authorPeter Mikus <[email protected]>
Thu, 3 Apr 2025 12:06:13 +0000 (14:06 +0200)
committerPeter Mikus <[email protected]>
Thu, 3 Apr 2025 12:06:13 +0000 (14:06 +0200)
Signed-off-by: Peter Mikus <[email protected]>
Change-Id: I62b964e05d2b589bcd5fe026230e76356b0debf9

resources/libraries/bash/function/common.sh
resources/libraries/robot/performance/performance_actions.robot

index c68620b..438a8c0 100644 (file)
@@ -1384,6 +1384,9 @@ function set_environment_variables () {
         *"-x-2n"* | *"-x-3n"* )
             export TREX_CORE_COUNT=14
             export TREX_PORT_MTU=9000
+            # Be gentle on infra.
+            export INFRA_WARMUP_DURATION=5
+            export INFRA_WARMUP_RATE=253
             # Settings to prevent duration stretching.
             export PERF_TRIAL_STL_DELAY=0.12
             ;;
index 9ef3f56..36f126b 100644 (file)
 | | ... | rate=${telemetry_rate} | export=${False}
 | | Stop traffic on tg
 
-| # TODO: Delete this keyword (unused in fd.io) when downstream stops using it.
-| Additional Statistics Action For infra-warmup
-| | [Documentation]
-| | ... | Additional Statistics Action for infra warmup.
-| |
-| | ... | See documentation of the called keyword for required test variables.
-| |
-| | ${ppta} = | Get Packets Per Transaction Aggregated
-| | ${ramp_up_duration} = | Get Ramp Up Duration
-| | ${ramp_up_rate} = | Get Ramp Up Rate
-| | ${runtime_duration} = | Get Runtime Duration
-| | ${runtime_rate} = | Get Runtime Rate
-| | ${traffic_directions} = | Get Traffic Directions
-| | ${transaction_duration} = | Get Transaction Duration
-| | ${transaction_scale} = | Get Transaction Scale
-| | ${transaction_type} = | Get Transaction Type
-| | ${use_latency} = | Get Use Latency
-| | Send traffic on tg
-| | ... | duration=${5}
-| | ... | rate=${253}
-| | ... | frame_size=${frame_size}
-| | ... | traffic_profile=${traffic_profile}
-| | ... | async_call=${False}
-| | ... | ppta=${ppta}
-| | ... | use_latency=${False}
-| | ... | traffic_directions=${traffic_directions}
-| | ... | transaction_duration=${transaction_duration}
-| | ... | transaction_scale=${transaction_scale}
-| | ... | transaction_type=${transaction_type}
-| | ... | duration_limit=${0.0}
-| | ... | ramp_up_duration=${ramp_up_duration}
-| | ... | ramp_up_rate=${ramp_up_rate}
-
 | Additional Statistics Action For noop
 | | [Documentation]
 | | ... | Additional Statistics Action for no operation.