[dpdk-dev] [PATCH v3 3/3] test/power: add delay before checking cpuinfo cur freq

2021-04-07 Thread Richael Zhuang
Sleep for 1s before checking the newly updated value from "/sys/devices/system/cpu/cpu%u/cpufreq/cpuinfo_cur_freq", because for some systems it may not be effective immediately. Fixes: ed7c51a6a680 ("app/test: vm power management") Cc: alan.ca...@intel.com Cc: sta...@dpdk.org Signed-off-by: Richa

Re: [dpdk-dev] [PATCH v3 3/3] test/power: add delay before checking cpuinfo cur freq

2021-04-07 Thread Liang Ma
On Wed, Apr 07, 2021 at 03:46:36PM +0800, Richael Zhuang wrote: > Sleep for 1s before checking the newly updated value from > "/sys/devices/system/cpu/cpu%u/cpufreq/cpuinfo_cur_freq", because > for some systems it may not be effective immediately. > > Fixes: ed7c51a6a680 ("app/test: vm power manag

Re: [dpdk-dev] [PATCH v3 3/3] test/power: add delay before checking cpuinfo cur freq

2021-04-07 Thread Richael Zhuang
Hi Liang, > -Original Message- > From: Liang Ma > Sent: Wednesday, April 7, 2021 6:15 PM > To: Richael Zhuang > Cc: dev@dpdk.org; alan.ca...@intel.com; sta...@dpdk.org; David Hunt > ; Pablo de Lara > Subject: Re: [dpdk-dev] [PATCH v3 3/3] test/power: add delay befo

Re: [dpdk-dev] [PATCH v3 3/3] test/power: add delay before checking cpuinfo cur freq

2021-04-07 Thread Richael Zhuang
Pablo de Lara > Subject: Re: [dpdk-dev] [PATCH v3 3/3] test/power: add delay before > checking cpuinfo cur freq > On Wed, Apr 07, 2021 at 03:46:36PM +0800, Richael Zhuang wrote: > > Sleep for 1s before checking the newly updated value from > > "/sys/devices/system/cpu/cpu%u/cpuf

Re: [dpdk-dev] [PATCH v3 3/3] test/power: add delay before checking cpuinfo cur freq

2021-04-08 Thread Liang Ma
el Zhuang > > Cc: dev@dpdk.org; alan.ca...@intel.com; sta...@dpdk.org; David Hunt > > ; Pablo de Lara > > Subject: Re: [dpdk-dev] [PATCH v3 3/3] test/power: add delay before > > checking cpuinfo cur freq > > On Wed, Apr 07, 2021 at 03:46:36PM +0800, Richael Zhuang

Re: [dpdk-dev] [PATCH v3 3/3] test/power: add delay before checking cpuinfo cur freq

2021-04-08 Thread Richael Zhuang
gt; > Sent: Wednesday, April 7, 2021 6:15 PM > > > To: Richael Zhuang > > > Cc: dev@dpdk.org; alan.ca...@intel.com; sta...@dpdk.org; David Hunt > > > ; Pablo de Lara > > > > > > Subject: Re: [dpdk-dev] [PATCH v3 3/3] test/power: add delay before &g