[SOLVED] Is the difference between the system time of the Rumtime normal?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am not sure exactlyhow time is kepton the kernel, but I am sure it must have something to do with the hardware clock. The hardware clock can skew over a period of time. Differences in time may be caused by your battery running flat.
Will be interesting to find out how all this is done.
I am not sure exactlyhow time is kepton the kernel, but I am sure it must have something to do with the hardware clock. The hardware clock can skew over a period of time. Differences in time may be caused by your battery running flat.
Will be interesting to find out how all this is done.
I know the details related to the hardware clock (RTC, RTC battery).
I know that you apply to the hardware clock with hwclock command to boot from the system clock.
Runtime is the time of system clock management in the Kernel would wonder whether the error is a natural phenomenon.
If my interpretation of what you are asking about is correct, then I believe it may be a factor of kernel tick frequency. So time scheduling within the kernel for interupts and tasks etc. I believe that indirectly this could skew the clock because probably that same system is what drives the time, hence the advice ntp servers must not be on virtual machines where the effect can be greatly magnified.
Not an expert but basically the kernel uses a timer to increment a counter which is the system clock. Depending on the hardware and other options like frequency scaling it can run slow or fast. There are ways to manually discipline your clock by using adjtimex but depending on the timer and how it drifts may not be practical.
if my interpretation of what you are asking about is correct, then i believe it may be a factor of kernel tick frequency. So time scheduling within the kernel for interupts and tasks etc. I believe that indirectly this could skew the clock because probably that same system is what drives the time, hence the advice ntp servers must not be on virtual machines where the effect can be greatly magnified.
Thank you for comment.
Would If I understand getting slower and System Time (date) Runtime on a Linux system during a long period of time? I am not a virtual machine
Not an expert but basically the kernel uses a timer to increment a counter which is the system clock. Depending on the hardware and other options like frequency scaling it can run slow or fast. There are ways to manually discipline your clock by using adjtimex but depending on the timer and how it drifts may not be practical.
Basically the sole purpose of the hardware clock is to set the system clock at boot time.
Thank you for comment.
I am not a virtual machine.
Like you and I seem to be able to slow or fast because of the frequency.
100% stable CPU frequency will not think it exists.
Thus, the stability of the System Time(#date) CPU frequency I think that this can slow down or speed up.
Do you also think so?
A while back i was reading up on getting the most accurate time for my idm. Ptp came up as really good but never bothered implementing it. Apparantly accurate to milliseconds. There was also talk of integrating gps hardware for accurate time. Thus on critical time systems, the drift experienced would be really milliseconds per day if not allowed to update. The hardware solutions though can get pretty expensive really quickly.
A while back i was reading up on getting the most accurate time for my idm. Ptp came up as really good but never bothered implementing it. Apparantly accurate to milliseconds. There was also talk of integrating gps hardware for accurate time. Thus on critical time systems, the drift experienced would be really milliseconds per day if not allowed to update. The hardware solutions though can get pretty expensive really quickly.
I can not even use the network even GPS.
System Clock is understood that vary depending on the hardward clock.
hardward clock goes faster system clock goes faster.
hardward clock is slow slow system clock.
My thought is that correct?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.