Pages

Wednesday, October 5, 2011

Linux Clock Source


There are various clock-sources available in Linux. It is important to select the right one for keeping a correct system clock, or to reduce time drifts and keep the system time in sync with a time source. Which clock-source you choose can affect performance too.

A good starting point is to determine which clocksources are available on your system and which one is currently in use.

cd /sys/devices/system/clocksource/clocksource0/
cat available_clocksource
cat current_clocksource

Excellent brief primer on various clocks: http://the-b.org/Linux_timers

No comments:

Post a Comment