[quagga-dev 8647] Re: proposed change for uptime output in bgp_dump_routes_func, bgp_dump.c

Stephen Hemminger shemminger at vyatta.com
Tue Apr 5 17:30:10 BST 2011


On Tue, 05 Apr 2011 17:27:12 +0100
Nick Hilliard <nick at inex.ie> wrote:

> On 05/04/2011 16:40, Stephen Hemminger wrote:
> > On Linux, the proper clock to use is the newish CLOCK_MONOTONIC_RAW
> >
> >         CLOCK_MONOTONIC_RAW (since Linux 2.6.28; Linux-specific)
> >                Similar to CLOCK_MONOTONIC, but provides access to a  raw  hard‐
> >                ware-based time that is not subject to NTP adjustments.
> 
> That would be great, if one could rely on hardware clocks to be even 
> remotely accurate.  Some of them are, I guess.  But lots of them are lulz.
> 
> Nick

Quagga should be tolerant to a fair amount of drift. Even 1 second an hour would
be annoying for the user, but shouldn't impact things like retransmits
and timeouts on peers. 

-- 



More information about the Quagga-dev mailing list