lkml.org 
[lkml]   [2005]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] dynamic tick patch
    * Pavel Machek <pavel@suse.cz> [050119 03:32]:
    > Hi!
    >
    > > As this patch is related to the VST/High-Res timers, there
    > > are probably various things that can be merged. I have not
    > > yet looked at what all could be merged.
    > >
    > > I'd appreciate some comments and testing!
    >
    > Good news is that it does seem to reduce number of interrupts. Bad
    > news is that time now runs faster (like "sleep 10" finishes in ~5
    > seconds) and that I could not measure any difference in power
    > consumption.

    Thanks for trying it out. I have quite accurate time here on my
    systems, and sleep works as it should. I wonder what's happening on
    your system? If you have a chance, could you please post the results
    from following simple tests?

    Regards,

    Tony

    # dmesg | grep -i time
    Using tsc for high-res timesource
    dyn-tick: Registering dynamic tick timer
    per-CPU timeslice cutoff: 731.77 usecs.
    task migration cache decay timeout: 1 msecs.
    ..TIMER: vector=0x31 pin1=2 pin2=-1
    Machine check exception polling timer started.
    Real Time Clock Driver v1.12
    dyn-tick: Enabling dynamic tick timer
    dyn-tick: Timer using dynamic tick

    # for i in 1 2 3 4 5; do ntpdate -b rinkeli && sleep 10; done
    19 Jan 17:03:16 ntpdate[937]: step time server 192.168.100.254 offset -0.002639 sec
    19 Jan 17:03:26 ntpdate[941]: step time server 192.168.100.254 offset -0.000374 sec
    19 Jan 17:03:36 ntpdate[945]: step time server 192.168.100.254 offset -0.000100 sec
    19 Jan 17:03:47 ntpdate[949]: step time server 192.168.100.254 offset -0.000530 sec
    19 Jan 17:03:57 ntpdate[953]: step time server 192.168.100.254 offset -0.000841 sec

    # date && sleep 10 && date
    Wed Jan 19 17:05:35 UTC 2005
    Wed Jan 19 17:05:45 UTC 2005

    # while [ 1 ]; do date; done | uniq
    Wed Jan 19 17:06:14 UTC 2005
    Wed Jan 19 17:06:15 UTC 2005
    Wed Jan 19 17:06:16 UTC 2005
    Wed Jan 19 17:06:17 UTC 2005
    ...
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:09    [W:0.038 / U:0.772 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site