Re: [dpdk-dev] [PATCH] eal/x86: implement x86 specific tsc hz

2017-09-04 Thread Bruce Richardson
4:00 PM > > > To: dev@dpdk.org > > > Cc: Ananyev, Konstantin ; Richardson, Bruce > > > > > > Subject: [dpdk-dev] [PATCH] eal/x86: implement x86 specific tsc hz > > > > > + > > > +static uint32_t > > > +check_model_wsm_nhm(uint8_t m

Re: [dpdk-dev] [PATCH] eal/x86: implement x86 specific tsc hz

2017-09-04 Thread Bruce Richardson
> > Subject: [dpdk-dev] [PATCH] eal/x86: implement x86 specific tsc hz > > > > First, try to use CPUID Time Stamp Counter and Nominal Core Crystal > > Clock Information Leaf to determine the tsc hz on platforms that > > supports it (does not require priviledge user). &

Re: [dpdk-dev] [PATCH] eal/x86: implement x86 specific tsc hz

2017-09-04 Thread Van Haaren, Harry
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Sergio Gonzalez Monroy > Sent: Wednesday, August 23, 2017 4:00 PM > To: dev@dpdk.org > Cc: Ananyev, Konstantin ; Richardson, Bruce > > Subject: [dpdk-dev] [PATCH] eal/x86: implement x86 specific tsc hz > > First, try

[dpdk-dev] [PATCH] eal/x86: implement x86 specific tsc hz

2017-08-23 Thread Sergio Gonzalez Monroy
First, try to use CPUID Time Stamp Counter and Nominal Core Crystal Clock Information Leaf to determine the tsc hz on platforms that supports it (does not require priviledge user). If the CPUID leaf is not available, then try to determine the tsc hz by reading the MSR 0xCE (requires priviledge use