Re: [PATCH for-next V2 0/9] Add completion timestamping support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 1 Jun 2015, Doug Ledford wrote:

> What's the point?  If it's raw, it's raw.  It's not coordinated between
> adapters.  Whether it's in ns or ps or flipflops doesn't matter, it's a
> flat number that has no reference to anything else, so the only thing
> that matters is < another version of itself or not.

It can be coordinated between different adapter through the use of time
software that can work with cycles and frequencies to scale the value of
the cycles to realtime. Software like that is available in ptpd,
timekeeper etc. Each NIC basically has its own clock and the timekeeping
software would have to track the scaling and the aberration factor over
time in order to come up with accurate absolute time values derived from
the cycle counters of these NICs. Since we are dealing here with values
that need to be accurate to within less than 100ns this is not trivial and
one can easily get a ns value that is absolutely useless.

Since it is not trivial its better kept out of the timestamp support in
the RDMA API. If the app developer wants a trivial conversion then they
can opencode a simple multiplication by the frequency. At that point it
should be clear though that this raw time value is of limited use given
its inaccuracy  and the dependence on the NIC clock.



--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux