summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2016-06-29 15:37:09 -0700
committerGary E. Miller <gem@rellim.com>2016-06-29 15:37:09 -0700
commitbd6b7235a5bd0874b34d25d94dc8ae5a25dc5c28 (patch)
tree95ee8a7f5c79669acbc3bd1404ba603c64ba5e34 /www
parent1f67f871e8755c4c7378f354e25177f10302feb6 (diff)
downloadgpsd-bd6b7235a5bd0874b34d25d94dc8ae5a25dc5c28.tar.gz
Add section on avoiing power saving options.
Diffstat (limited to 'www')
-rw-r--r--www/gpsd-time-service-howto.txt27
1 files changed, 25 insertions, 2 deletions
diff --git a/www/gpsd-time-service-howto.txt b/www/gpsd-time-service-howto.txt
index 4af6ee33..3b5452c2 100644
--- a/www/gpsd-time-service-howto.txt
+++ b/www/gpsd-time-service-howto.txt
@@ -1082,9 +1082,9 @@ cycle will be added to the NTP packet round trip time (RTT). This will
throw off the time measurements to servers on the local lan.
On a RasberryPi ARP has been shown to impact the remote offset by up to
-600 uSec in some rar cases.
+600 uSec in some rare cases.
-The colution is the same for both ntpd and chronyd, add the "minpoll 5"
+The solution is the same for both ntpd and chronyd, add the "minpoll 5"
command to any 'server" or "peer directive. This will cause the maximum
polling period to be 32 seconds, well under the 60 second ARP timeout.
@@ -1099,6 +1099,27 @@ jump.
If you leave your NTP server in the bubble wrap you will notice some
improved local and remote offsets.
+=== Powersaving is not your friend ===
+
+Normally enabling power saving features is a good thing: it saves you power.
+But when your CPU changes power saving modes (cstates for Intel CPUs) the
+impact on PPS timing is noticeable. For some reason the NO_HZ kernel
+mode has a similar bad effecct on timekeeping.
+
+To improve your timekeeping, turn off both features on Intel CPUs by
+adding this to your boot command line:
+
+-----------------------------------------------------------------------------
+nohz=off intel_idle.max_cstate=0
+-----------------------------------------------------------------------------
+
+For ARM, be sure NO_HZ is off:
+
+-----------------------------------------------------------------------------
+nohz=off
+-----------------------------------------------------------------------------
+
+
== NTP tuning and performance details ==
This section deals specifically with ntpd. It discusses algorithms
@@ -1786,3 +1807,5 @@ by Jaap Winius <jwinius@rjsystems.nl>.
Add Macx-1 link.
Add sections on ARP and temperature problems
+2.7 June 2016
+ Add section on avoiding power saving.