[dpdk-dev] cost of reading tsc register

2015-04-22 Thread Pawel Wodkowski
On 2015-04-20 16:37, Ravi Kumar Iyer wrote: > Hi, > We were doing some code optimizations , running DPDK based applications, and > chanced upon the rte_rdtsc function [ to read tsc timestamp register value ] > consuming cpu cycles of the order of 100clock cycles with a delta of upto > 40cycles a

[dpdk-dev] cost of reading tsc register

2015-04-20 Thread Ravi Kumar Iyer
Hi, We were doing some code optimizations , running DPDK based applications, and chanced upon the rte_rdtsc function [ to read tsc timestamp register value ] consuming cpu cycles of the order of 100clock cycles with a delta of upto 40cycles at times [ 60-140 cycles] We are actually building up

[dpdk-dev] cost of reading tsc register

2015-04-20 Thread Matthew Hall
On Mon, Apr 20, 2015 at 02:37:53PM +, Ravi Kumar Iyer wrote: > We were doing some code optimizations , running DPDK based applications, and > chanced upon the rte_rdtsc function [ to read tsc timestamp register value ] > consuming cpu cycles of the order of 100clock cycles with a delta of upt

[dpdk-dev] cost of reading tsc register

2015-04-20 Thread Stephen Hemminger
On Mon, 20 Apr 2015 14:37:53 + Ravi Kumar Iyer wrote: > Hi, > We were doing some code optimizations , running DPDK based applications, and > chanced upon the rte_rdtsc function [ to read tsc timestamp register value ] > consuming cpu cycles of the order of 100clock cycles with a delta of up