strange system clock issues
    Ted Roche 
    tedroche at tedroche.com
       
    Wed Aug 26 21:08:47 EDT 2009
    
    
  
On 08/26/2009 08:43 PM, Ben Scott wrote:
>    The RTC certainly doesn't advance the system clock.  That's done by
> IRQ0, which fires 18 times per second...
>    
> $ grep -e rtc -e timer /proc/interrupts
>    0: 2321478409  local-APIC-edge  timer
>    8:          3    IO-APIC-edge  rtc
> $ uptime
>   20:43:02 up 26 days, 20:46,  1 user,  load average: 0.00, 0.00, 0.00
> $
>
>    According to that, the RTC interrupt (IRQ8) has fired 3 times since
> boot, while the system timer (IRQ0) has fired roughly 2.3 billion
> times.  Which do you think is advancing the system clock?  :)
>
>    
((26 * 24 + 20) * 60 + 46) * 60 = 2321160 seconds
2321478409/2321160 ~= 1000
I'd suspect the IRQ0 is firing closer to once per millisecond.
-- 
Ted Roche
Ted Roche&  Associates, LLC
http://www.tedroche.com
    
    
More information about the gnhlug-discuss
mailing list