Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hwclock precision
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
SZwarts
l33t
l33t


Joined: 13 Oct 2003
Posts: 629
Location: Sydney, NSW, Australia

PostPosted: Sat Dec 18, 2004 10:36 am    Post subject: hwclock precision Reply with quote

Hi, I wonder somehting about the hardware clock, when I

Code:

$ hwclock --systohc
$ hwclock
Sat Dec 18 21:35:23 2004  -0.499403 seconds


Why is there a difference of almost half a second (usually this delay differs each time)
Half a second is like ages for a machine which is capable of doing millions and millions of instuctions every second. Can somebody explain me the lack of precision here?
_________________
only when it is dark enough, can you see the stars
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5937

PostPosted: Sat Dec 18, 2004 10:47 am    Post subject: Reply with quote

The hardware clock will drift. The crystal inside it is not as accurate as an atomic clock, so I wouldn't worry much. I lose 14 seconds a day on one of my PC's. Thank god for NTP.
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
SZwarts
l33t
l33t


Joined: 13 Oct 2003
Posts: 629
Location: Sydney, NSW, Australia

PostPosted: Sat Dec 18, 2004 11:31 am    Post subject: Reply with quote

I understand that it will lose a couple of secs over time... That's the crystal of the hardware clock ok... But this has nothing to do with that I gues.. I lose half a second withing setting and reading... And if I read it again the offset is different again by a couple of tens of seconds.

It's not that I'm worried about it, I see it with all the computers, but I'm just very curious... Half a second is like eternity for a computer and still it's off by that all the time...
_________________
only when it is dark enough, can you see the stars
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum