aspeed: avocado test boosts
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | tests/avocado/machine_aspeed.py: Fix typos on buildroottests/ | +8 | 3 replies | |
| 2/6 | cpu: cache CPUClass in CPUState for hot code pathscpu.c include/ | +13 | 0 replies | |
| 3/6 | hw/core/cpu-sysemu: used cached class in cpu_asidx_from_attrshw/ | +2 | 0 replies | |
| 4/6 | cputlb: used cached CPUClass in our hot-pathsaccel/ | +6 | 0 replies | |
| 5/6 | ssi: cache SSIPeripheralClass to avoid GET_CLASS()hw/ include/ | +11 | 0 replies | |
| 6/6 | aspeed/smc: Cache AspeedSMCClasshw/ include/ | +6 | 0 replies |
Reviews trailers per patch
5 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson | Cédric Le Goater | Thomas Huth | Joel Stanley |
|---|---|---|---|---|
| 1/6 | R-b | R-b | R-b | |
| 2/6 | R-b | |||
| 3/6 | R-b | |||
| 4/6 | R-b | |||
| 5/6 | T-b R-b | |||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 0/6] aspeed: avocado test boosts
Hello,
Alex's patchset [1] showed that by avoiding the class cast checkers in hot code paths, performance is greatly improved. See results below.
This is a partial resend of [1] plus an extra caching a reference on the AspeedSMC class, which adds an extra 10% boost.
Thanks ,
C.
[1] http://patchwork.ozlabs.org/project/qemu-devel/list/?series=313458
On a ThinkPad T480 i7-8650U,
Before :
$ build/tests/venv/bin/avocado --show=app run build/tests/avocado/machine_aspeed.py
...
(1/7) AST1030Machine.test_ast1030_zephyros: PASS (0.21 s)
(2/7) AST2x00Machine.test_arm_ast2400_palmetto_openbmc_v2_9_0: PASS (23.51 s)
(3/7) AST2x00Machine.test_arm_ast2500_romulus_openbmc_v2_9_0: PASS (39.59 s)
(4/7) AST2x00Machine.test_arm_ast2500_evb_buildroot: PASS (23.74 s)
(5/7) AST2x00Machine.test_arm_ast2600_evb_buildroot: PASS (34.44 s)
(6/7) AST2x00MachineSDK.test_arm_ast2500_evb_sdk: PASS (91.13 s)
(7/7) AST2x00MachineSDK.test_arm_ast2600_evb_sdk: PASS (112.27 s)
RESULTS : PASS 7 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB TIME : 325.72 sAfter :
$ build/tests/venv/bin/avocado --show=app run build/tests/avocado/machine_aspeed.py
...
(1/7) AST1030Machine.test_ast1030_zephyros: PASS (0.22 s)
(2/7) AST2x00Machine.test_arm_ast2400_palmetto_openbmc_v2_9_0: PASS (12.44 s)
(3/7) AST2x00Machine.test_arm_ast2500_romulus_openbmc_v2_9_0: PASS (13.98 s)
(4/7) AST2x00Machine.test_arm_ast2500_evb_buildroot: PASS (11.74 s)
(5/7) AST2x00Machine.test_arm_ast2600_evb_buildroot: PASS (15.90 s)
(6/7) AST2x00MachineSDK.test_arm_ast2500_evb_sdk: PASS (66.75 s)
(7/7) AST2x00MachineSDK.test_arm_ast2600_evb_sdk: PASS (82.34 s)
RESULTS : PASS 7 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB TIME : 204.33 sAlex Bennée (4):
cpu: cache CPUClass in CPUState for hot code paths hw/core/cpu-sysemu: used cached class in cpu_asidx_from_attrs
cputlb: used cached CPUClass in our hot-paths
ssi: cache SSIPeripheralClass to avoid GET_CLASS()
Cédric Le Goater (2):
tests/avocado/machine_aspeed.py: Fix typos on buildroot aspeed/smc: Cache AspeedSMCClass
include/hw/core/cpu.h | 9 +++++++++ include/hw/ssi/aspeed_smc.h | 2 ++ include/hw/ssi/ssi.h | 3 +++ accel/tcg/cputlb.c | 15 ++++++--------- cpu.c | 9 ++++----- hw/core/cpu-sysemu.c | 5 ++--- hw/ssi/aspeed_smc.c | 9 ++++----- hw/ssi/ssi.c | 18 ++++++++---------- tests/avocado/machine_aspeed.py | 16 ++++++++-------- 9 files changed, 46 insertions(+), 40 deletions(-)
Signature · 1 line
2.37.3