LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Clock sources in the kernel (https://www.linuxquestions.org/questions/linux-software-2/clock-sources-in-the-kernel-4175560274/)

gauravnaik 11-30-2015 11:49 PM

Clock sources in the kernel
 
Hello,

I have a 3.16.7 kernel running on a server machine. Below are the list of the clock sources available to the kernel. By default TSC is selected.

cat /sys/devices/system/clocksource/clocksource/available_clocksource
tsc refined-jiffies jiffies

But sometimes, i have observed that after reboots the order of the available_clocksource changes, where in refined-jiffies comes first and is selected as default. This causes a lot of time drifts and causes havoc in the system.

I know i can provide clocksource= parameter to the kernel at boot to select the specified clock source, but how does the order of the available clock sources change and what governs it ??


All times are GMT -5. The time now is 12:43 AM.