Re: [ANNOUNCE/RFC] Really Simple Really Fair Scheduler

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tong Li
Date: Sunday, September 2, 2007 - 12:12 pm

I like this patch since it's really simple. CFS does provide a nice 
infrastructure to enable new algorithmic changes/extensions. My only 
concern was the O(log N) complexity under heavy load, but I'm willing to 
agree that it's OK in the common case. Some comments on the code:


Should we use the weighted fair clock exec_runtime as the key? This way 
tasks with larger weights will have their keys incremented more slowly and 
thus be given more CPU time. This is what other virtual-clock based fair 
scheduling algorithms commonly do.


What's the intuition behind avg_exec_runtime? I thought the original CFS 
approach, i.e., setting a newly arriving task's key to be the current fair 
clock, adjusted by wait_runtime, was good. It matches other fair queuing 
algorithms and thus has provably good properties.

   tong
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ANNOUNCE/RFC] Really Simple Really Fair Scheduler, Ingo Molnar, (Sun Sep 2, 5:01 am)
Re: [ANNOUNCE/RFC] Really Simple Really Fair Scheduler, Tong Li, (Sun Sep 2, 12:12 pm)
Re: [ANNOUNCE/RFC] Really Simple Really Fair Scheduler, Ingo Molnar, (Sun Sep 2, 12:44 pm)
Re: [ANNOUNCE/RFC] Really Simple Really Fair Scheduler, Roman Zippel, (Mon Sep 3, 11:38 am)
Re: [ANNOUNCE/RFC] Really Simple Really Fair Scheduler, Ingo Molnar, (Mon Sep 3, 11:54 am)
Re: [ANNOUNCE/RFC] Really Simple Really Fair Scheduler, Roman Zippel, (Mon Sep 3, 12:13 pm)
Re: [ANNOUNCE/RFC] Really Simple Really Fair Scheduler, Ingo Molnar, (Mon Sep 3, 12:20 pm)
Re: [ANNOUNCE/RFC] Really Simple Really Fair Scheduler, Roman Zippel, (Mon Sep 3, 12:55 pm)
Re: [ANNOUNCE/RFC] Really Simple Really Fair Scheduler, Roman Zippel, (Mon Sep 3, 7:50 pm)
Re: [ANNOUNCE/RFC] Really Simple Really Fair Scheduler, Ingo Molnar, (Mon Sep 3, 11:29 pm)
Re: [ANNOUNCE/RFC] Really Simple Really Fair Scheduler, Roman Zippel, (Tue Sep 4, 4:21 am)