Enable PMD power management on Arm
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest2 patches 2 repliesIn review
- v52 patches 3 repliesSuperseded
- v44 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 3 patches | 2 replies | Superseded | |
| v2 | 3 patches | 2 replies | Superseded | |
| v1 | 3 patches | 7 replies | Superseded |
Changes in v6 from the cover letter
1. delete '__check_val_size' API in ARM to simplify the code (Stephen)
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | eal: add 8 bits case for wait schemelib/ | +24 | 0 replies | |
| 2/2 | eal: add power mgmt support on Armdoc/ lib/ lib/ +1 more | +65 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Ruifeng Wang | David Hunt |
|---|---|---|
| 1/2 | R-b | |
| 2/2 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/2] Enable PMD power management on Arm
For Arm aarch, use WFE instructions to enable PMD power management.
Test Results:
dynamic instructions over 1sec without wfe with wfe percentage
ampere-altra 6,298,483,712 9,117,624 -99.855%
thunderx2 6,990,909,373 3,247,226 -99.954%
When power efficient PMD is enabled by using WFE on Arm, if no pkts received, the instructions that CPU executes is reduced by 99%.
V2:
1. move rte_wake_up API out of signal_exit(David Marchand, Thomas, Stephen)
2. Add test results when using wfe on ARM server
v3:
1. make code cleaner (Stephen)
v4:
1. add support check in API (Thomas)
v5:
1. delete v4 check patch and l3fwd-power change. This is due to that WFE instructions can be applied into all lcores. When all cores are in 'WFE' state, kernal can run normally and receive interrupt signal to send it to the l3fwd-power thread. Thus core in 'WFE' state can exit from sleeping by interrupt event.
v6:
1. delete '__check_val_size' API in ARM to simplify the code (Stephen)
Feifei Wang (2):
eal: add 8 bits case for wait scheme
eal: add power mgmt support on Arm
doc/guides/rel_notes/release_23_03.rst | 4 ++ lib/eal/arm/include/rte_pause_64.h | 32 +++++++++++++-- lib/eal/arm/rte_cpuflags.c | 5 +++ lib/eal/arm/rte_power_intrinsics.c | 55 ++++++++++++++++++++++++-- 4 files changed, 89 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.1