Re: [dpdk-dev] [PATCH v2] timer: use rte_mp_msg to get freq from primary process

2019-08-21 Thread Ye Xiaolong
On 08/21, Jim Harris wrote: >Ideally, get_tsc_freq_arch() is able to provide the >TSC rate using architecture-specific means. When that >is not possible, DPDK reverts to calculating the >TSC rate with a 100ms nanosleep or 1s sleep. The latter >occurs more frequently in VMs which often do not have

[dpdk-dev] [PATCH v2] timer: use rte_mp_msg to get freq from primary process

2019-08-21 Thread Jim Harris
Ideally, get_tsc_freq_arch() is able to provide the TSC rate using architecture-specific means. When that is not possible, DPDK reverts to calculating the TSC rate with a 100ms nanosleep or 1s sleep. The latter occurs more frequently in VMs which often do not have access to the data they need fro