lkml.org 
[lkml]   [1999]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectyet another scheduling problem
Hi,

After a SCHED_FIFO task exhausts its initial timeslice, its counter is
never reset. It then starts causing reschedules on every timer tick.
This doesn't alter scheduling behavior but it slows things down
noticeably.

The fix would be to reset the counter in schedule(), similarly to the
way we do it for SCHED_RR tasks. I'm not going to offer a patch as
Artur's fixes touch enough places in schedule() already. Artur, please
comment.

Regards,
Borislav



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.039 / U:1.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site