1. 25 Jan, 2008 1 commit
    • Peter Zijlstra's avatar
      sched: high-res preemption tick · 8f4d37ec
      Peter Zijlstra authored
      
      Use HR-timers (when available) to deliver an accurate preemption tick.
      
      The regular scheduler tick that runs at 1/HZ can be too coarse when nice
      level are used. The fairness system will still keep the cpu utilisation 'fair'
      by then delaying the task that got an excessive amount of CPU time but try to
      minimize this by delivering preemption points spot-on.
      
      The average frequency of this extra interrupt is sched_latency / nr_latency.
      Which need not be higher than 1/HZ, its just that the distribution within the
      sched_latency period is important.
      Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      8f4d37ec
  2. 07 Dec, 2006 1 commit
    • Alan Cox's avatar
      [PATCH] HZ: 300Hz support · 40fcfc87
      Alan Cox authored
      
      Fix two things.  Firstly the unit is "Hz" not "HZ".  Secondly it is useful
      to have 300Hz support when doing multimedia work.  250 is fine for us in
      Europe but the US frame rate is 30fps (29.99 blah for pedants).  300 gives
      us a tick divisible by both 25 and 30, and for interlace work 50 and 60.
      It's also giving similar performance to 250Hz.
      
      I'd argue we should remove 250 and add 300, but that might be excess
      disruption for now.
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      40fcfc87
  3. 23 Jun, 2005 1 commit