diff options
author | Chris Kuethe <ckuethe@cvs.openbsd.org> | 2007-03-23 14:22:41 +0000 |
---|---|---|
committer | Chris Kuethe <ckuethe@cvs.openbsd.org> | 2007-03-23 14:22:41 +0000 |
commit | 2f05f79d075b5cf31b854d05814f719c25d66e5e (patch) | |
tree | 66b462822ce53dde3f372c750093513f08a15b12 /usr.sbin/ntpd/ntpd.h | |
parent | 28184fb7f5e7da200928485e042a0082c6fa1e91 (diff) |
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
Diffstat (limited to 'usr.sbin/ntpd/ntpd.h')
-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 { |