Re: [PATCH] Dynamic tick, version 050127-1

From: Lee Revell (rlrevell_at_joe-job.com)
Date: 02/01/05

  • Next message: Lee Revell: "Re: [patch] Real-Time Preemption, -RT-2.6.11-rc2-V0.7.36-04"
    To: Tony Lindgren <tony@atomide.com>
    Date:	Tue, 01 Feb 2005 15:20:05 -0500
    
    

    On Thu, 2005-01-27 at 13:29 -0800, Tony Lindgren wrote:
    > Hi all,
    >
    > Thanks for all the comments, here's an updated version of the dynamic
    > tick patch.

    Hi,

    I was wondering how Windows handles high res timers, if at all. The
    reason I ask is because I have been reverse engineering a Windows ASIO
    driver, and I find that if the latency is set below about 5ms, by
    examining the kernel timer queue with SoftICE I can see that several
    kernel timers with 1ms period are created. (Presumably the sound card's
    interval timer is used for longer periods).

    But, I have seen people mention in the "singing capacitor" threads on
    this list that Windows uses 100 for HZ.

    So, how do they implement 1ms timers with a 10ms tick rate? Does
    Windows dynamically reprogram the PIT as well?

    Lee

    -
    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/


  • Next message: Lee Revell: "Re: [patch] Real-Time Preemption, -RT-2.6.11-rc2-V0.7.36-04"

    Relevant Pages

    • Re: setitimer timer expires too early
      ... > tick, we can wait just one tick, but not if we are 800 usecs inside the ... My patch, which uses human-time (or at least more so ... on adding timers, take the ceiling of the interval into which it could be added ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Hard Drive is Write Protected?
      ... you say that you have installed Windows Vista x64 onto a single ... Do you mean that in Windows Explorer, for a folder, the Properties | ... I think this appears as a coloured square rather than a tick. ... rather than to a seperate hard disk partition. ...
      (microsoft.public.windows.vista.general)
    • Re: posix-cpu-timers revamp
      ... Where "interesting tick" means "tick in which a process timer has ... The thread CPU timers track the thread CPU clocks, ... The process CPU timers track the process CPU clocks. ...
      (Linux-Kernel)
    • Re: Precise timing
      ... Windows MEssage handling is not ... graphics thread and i had lots of other timers on my graphics. ... right and how different this timeSetEvent would be from SetTimer function. ... Windows CE by some OEM. ...
      (microsoft.public.windowsce.app.development)
    • Re: timers
      ... Do you know if Windows98 supports high-resolution timers: ... In Microsoft Windows NT, the resolution of the timer is about 10 ... > Microsoft Online Partner Support ...
      (microsoft.public.vc.mfc)