Re: [dpdk-dev] [PATCH v12 1/5] lib/librte_power: traffic pattern aware power control

2018-10-26 Thread Liang, Ma
Hi Thomas, Many thanks, I will check carefully for meson build and doc next time. Regards Liang On 26 Oct 01:55, Thomas Monjalon wrote: > 19/10/2018 13:07, Liang Ma: > > The proposed solution focuses on how many times empty polls are executed. > > The less the number of empty polls, means

Re: [dpdk-dev] [PATCH v12 1/5] lib/librte_power: traffic pattern aware power control

2018-10-25 Thread Thomas Monjalon
19/10/2018 13:07, Liang Ma: > The proposed solution focuses on how many times empty polls are executed. > The less the number of empty polls, means current core is busy with > processing workload, therefore, the higher frequency is needed. The high > empty poll number indicates the current core not

Re: [dpdk-dev] [PATCH v12 1/5] lib/librte_power: traffic pattern aware power control

2018-10-25 Thread Thomas Monjalon
19/10/2018 13:07, Liang Ma: > --- a/lib/librte_power/Makefile > +++ b/lib/librte_power/Makefile > @@ -6,8 +6,9 @@ include $(RTE_SDK)/mk/rte.vars.mk > # library name > LIB = librte_power.a > > +CFLAGS += -DALLOW_EXPERIMENTAL_API We don't need this flag if we don't use experimental API from othe

Re: [dpdk-dev] [PATCH v12 1/5] lib/librte_power: traffic pattern aware power control

2018-10-25 Thread Thomas Monjalon
26/10/2018 01:22, Thomas Monjalon: > Hi, > > It fails to compile (tried with meson build-gcc-static): > > lib/librte_power/rte_power_empty_poll.h:20:10: fatal error: > rte_timer.h: No such file or directory > > It looks to be fixed with this one-line change: > > --- a/lib/librte_power/mes

Re: [dpdk-dev] [PATCH v12 1/5] lib/librte_power: traffic pattern aware power control

2018-10-25 Thread Thomas Monjalon
Hi, It fails to compile (tried with meson build-gcc-static): lib/librte_power/rte_power_empty_poll.h:20:10: fatal error: rte_timer.h: No such file or directory It looks to be fixed with this one-line change: --- a/lib/librte_power/meson.build +++ b/lib/librte_power/meson.build @@ -8,3 +

[dpdk-dev] [PATCH v12 1/5] lib/librte_power: traffic pattern aware power control

2018-10-19 Thread Liang Ma
1. Abstract For packet processing workloads such as DPDK polling is continuous. This means CPU cores always show 100% busy independent of how much work those cores are doing. It is critical to accurately determine how busy a core is hugely important for the following reasons: * No indication o