Re: [dpdk-dev] [PATCH v2 3/7] eal: add power monitor for multiple events

2021-06-28 Thread Burakov, Anatoly
On 28-Jun-21 1:58 PM, Ananyev, Konstantin wrote: On 28-Jun-21 1:37 PM, Ananyev, Konstantin wrote: Use RTM and WAITPKG instructions to perform a wait-for-writes similar to what UMWAIT does, but without the limitation of having to listen for just one event. This works because the optimized pow

Re: [dpdk-dev] [PATCH v2 3/7] eal: add power monitor for multiple events

2021-06-28 Thread Ananyev, Konstantin
> On 28-Jun-21 1:37 PM, Ananyev, Konstantin wrote: > > > >> Use RTM and WAITPKG instructions to perform a wait-for-writes similar to > >> what UMWAIT does, but without the limitation of having to listen for > >> just one event. This works because the optimized power state used by the > >> TPAUSE i

Re: [dpdk-dev] [PATCH v2 3/7] eal: add power monitor for multiple events

2021-06-28 Thread Burakov, Anatoly
On 28-Jun-21 1:37 PM, Ananyev, Konstantin wrote: Use RTM and WAITPKG instructions to perform a wait-for-writes similar to what UMWAIT does, but without the limitation of having to listen for just one event. This works because the optimized power state used by the TPAUSE instruction will cause a

Re: [dpdk-dev] [PATCH v2 3/7] eal: add power monitor for multiple events

2021-06-28 Thread Ananyev, Konstantin
> Use RTM and WAITPKG instructions to perform a wait-for-writes similar to > what UMWAIT does, but without the limitation of having to listen for > just one event. This works because the optimized power state used by the > TPAUSE instruction will cause a wake up on RTM transaction abort, so if >

[dpdk-dev] [PATCH v2 3/7] eal: add power monitor for multiple events

2021-06-25 Thread Anatoly Burakov
Use RTM and WAITPKG instructions to perform a wait-for-writes similar to what UMWAIT does, but without the limitation of having to listen for just one event. This works because the optimized power state used by the TPAUSE instruction will cause a wake up on RTM transaction abort, so if we add the a