diff options
author | 2007-03-23 14:22:40 +0000 | |
---|---|---|
committer | 2007-03-23 14:22:40 +0000 | |
commit | e7f7cd4457905c47ed18c164ed9b606764f7653a (patch) | |
tree | 6aa6ea47c6bad6936b94027895d1261cc39ad150 | |
parent | Only print the routing table id if the routing message uses the rt_msghdr (diff) | |
download | wireguard-openbsd-e7f7cd4457905c47ed18c164ed9b606764f7653a.tar.xz wireguard-openbsd-e7f7cd4457905c47ed18c164ed9b606764f7653a.zip |
Increase sensor polling interval to 30s, just like ntp polls. This
improves sensor timekeeping significantly.
Before this patch my test system's frequency adjustment would range
between -350 and +250, with timedelta rarely getting close to 0. After,
frequency adjustmens is on the order of +/- 0.05ppm, with time +/- a
few microseconds away from 0
ok henning, mbalmer, otto
-rw-r--r-- | usr.sbin/ntpd/ntpd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/ntpd.h b/usr.sbin/ntpd/ntpd.h index a7d6fd5ba7e..cd176fbd571 100644 --- a/usr.sbin/ntpd/ntpd.h +++ b/usr.sbin/ntpd/ntpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ntpd.h,v 1.82 2007/03/01 17:50:42 henning Exp $ */ +/* $OpenBSD: ntpd.h,v 1.83 2007/03/23 14:22:40 ckuethe Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -64,7 +64,7 @@ #define SENSOR_DATA_MAXAGE (15*60) -#define SENSOR_QUERY_INTERVAL 5 +#define SENSOR_QUERY_INTERVAL 30 #define SENSOR_SCAN_INTERVAL (5*60) enum client_state { |