Re: [PATCH] - sched_clock() broken for ia64 SN platform

From: David Mosberger <davidm_at_napali.hpl.hp.com>
Date: 2003-11-20 17:01:18
>>>>> On Wed, 19 Nov 2003 20:09:15 -0800, "John Hawkes" <hawkes@sgi.com> said:

  John> I'd like to hear an argument about why sched_clock() needs
  John> sub-microsecond accuracy, instead of just using jiffies, when
  John> one use of sched_clock() is to compare a delta time against
  John> cache_decay_ticks, which is a "jiffies"-granularity value, and
  John> the other use is to determine the relative
  John> computebound-vs-interactive characteristics of the process.

It's probably best to discuss this on lkml.  I didn't follow all the
recent scheduler developments but AFAIK, this is largely driven by
trying to fix some scheduling corners.  I think the "persistent
starvation" bug that Stephane found gets fixed by it, for example.
Also, supposedly it helps interactivity.

	--david
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Nov 20 01:02:19 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:20 EST