RE: [PATCH 1/2][v2] cpuidle-haltpoll: Replace default_idle with arch_cpu_idle
From: Li,Rongqing
Date: Fri Dec 09 2022 - 08:46:28 EST
> > latency of sockperf ping-pong localhost test is reduced by more 20%
> > unixbench has 5% performance improvements for single core
> >
Sorry, The upper data are wrong since wrong governor is used
when guest has mwait, and haltpoll driver is loaded and haltpoll governor is used.
on Intel cpu, unixbench score are nearly same, but sockperf has 20% low latency
on AMD milan cpu, the sockperf latency are similar , but unixbench single core score has 10% loss, because AMD cpu maybe has weak smt capability
Replace default idle with arch cpu idle has little effect
Thanks
-Li
I