lkml.org 
[lkml]   [2006]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Regression seen for patch "sched:dont decrease idle sleep avg"
Date
Con Kolivas wrote on Wednesday, May 17, 2006 5:35 PM
> What is missing
> from the comment is to say that it is also designed to stop them at the
> lowest possible priority that still keeps them in the interactive reinsertion
> class.

> Using a constant ceiling value irrespective of nice will not guarantee
> that tasks fall into the active reinsertion class dependant on their nice
> value.

If I may ask, how does it work right now? Ceiling is set at constant value
irrespective to nice value. Are you saying current code is broken as well?


ceiling = JIFFIES_TO_NS(MAX_SLEEP_AVG -
DEF_TIMESLICE);
if (p->sleep_avg < ceiling)
p->sleep_avg = ceiling;


We maybe also misunderstand each other. I'm not arguing of removing the
ceiling. Having a ceiling is the right thing to do here. What I don't like
is that 2.6.17-rc4 has the ceiling set too high, and your patch also does
an inversion of the ceiling value w.r.t nice value. So it's the detail of
what's the right value for priority boost that I'm uncomfortable with.

- Ken
-
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: 2006-05-18 03:12    [W:0.056 / U:14.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site