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

2018-10-12 Thread Yao, Lei A
> -Original Message- > From: Ma, Liang J > Sent: Friday, October 12, 2018 6:03 PM > To: Yao, Lei A > Cc: Hunt, David ; dev@dpdk.org; > ktray...@redhat.com; Kovacevic, Marko > Subject: Re: [PATCH v10 1/4] lib/librte_power: traffic pattern aware power > control > > On 11 Oct 18:59, Yao,

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

2018-10-12 Thread Liang, Ma
On 11 Oct 18:59, Yao, Lei A wrote: > > > + > + if (get_freq_index(LOW) > total_avail_freqs[i]) > + return -1; > + > + if (rte_get_master_lcore() != i) { > + w->wrk_stats[i].lcore_id = i; > + set_policy(&w->wrk_sta

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

2018-10-11 Thread Yao, Lei A
+ + if (get_freq_index(LOW) > total_avail_freqs[i]) + return -1; + + if (rte_get_master_lcore() != i) { + w->wrk_stats[i].lcore_id = i; + set_policy(&w->wrk_stats[i], policy); + } + }

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

2018-10-02 Thread Hunt, David
On 2/10/2018 2:48 PM, Liang Ma wrote: 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 th

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

2018-10-02 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