Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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 running debian testing (squeeze). Ever since I upgraded I noticed that my OS clock runs very slow. Probably loosing seconds per minute. My hardware clock seems to run pretty accurately, actually. Isn't this fairly extreme? If so, how do I fix this?
I have tried ntp, but that did not work. Eventhough ntp gives no errors (/var/log/syslog) it never seems to sync.
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986
Rep:
CPU speeds are not exactly a perfect clock: Live with it
Computer clocks operate from CPU speed. A thing called a pre-scaler divides the CPU intervals to give a larger CPU speed per second or whatever. In other words it is a counter that counts up to ten or so before incrementing a digit in a register so ten now becomes one (uno) value of something else.Because of the variables in manufacture electronic circuits are always slightly different which causes any thing based on CPU ; and or instruction speed, to vary slightly. My own CPU runs a little fast which changes my O.S Clock about ten minutes a month or so. There might be something you can set in bios but I'm not informed on that currently.Your clock speed should not be fooled with unless you are very knowledgeable on the subject. Electrical current is directly proportionate to HEAT so if you over-clock your CPU it could fry. In my opinion the CPU manufacturer knows best. I don't bother with the internet time thing because it never works right and I assume it's just another piece of garbage that people assume works like a machine because they are clueless of how it works. I have a duel booter and both the O.S system clocks always equally miss matches my wall clock so I assume that bios has something to do with it. As far as it being configurable as a shell script in a (configure file) I intuitively doubt you will find the information other than the person that compiled the Kernel. This info. is not one hundred percent accurate so you might want to search the terms I've used.
Last edited by theKbStockpiler; 04-05-2010 at 01:21 AM.
Thanks. I guess I like to have my system clock correct so that my file times and logging times are right. I guess I too would also just assume not mess around with my CPU speed. In the past I have had pretty good luck with NTP, I just haven't gotten it to work since my upgrade. I don't expect NTP to give me atomic clock accuracy but being off by a few seconds is fine for what I want. If I don't do something, though, I will be off by 24 minutes every day.
So my options are to contact the debian kernel team or to get NTP working?
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986
Rep:
Is a hardware clock bios?
It's not uncommon for unwanted results to occur after you have altered a library. Sometimes when you add an application another one won't work right or will not execute. It does not matter if you used your package manager or not. I think the people who compose Linux Distros do a great job but they are never perfect. Their debugger for the entire O.S needs to be improved. If you get NTP to work it might be helpful to know how often it runs. It could be that a major mistake was made and it won't be corrected until they release their new distro.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.