lkml.org 
[lkml]   [2001]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectscheduler params ...

Linus, after some test i'd suggest to reposition MM_AFFINITY_BONUS to 1
for a better interactive feeling.
The other issue is TICK_SCALE()/NICE_TO_TICKS() that does not permit fine
tuned time slices. I'd like to try shorter ts but the current shifting
implementation does not give enough control over final values. What about
having a table :

unsigned char ts_table[];

that is filled in sched_init() and is used like :

p->time_slice = ts_table[20 - p->nice];

The TICK_SCALE()/NICE_TO_TICKS() is no more critical because is now called
with a nr_running frequency and no more with a total processes frequency.




- Davide


-
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 13:14    [W:0.247 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site