Some of the policies I've enumerated have properties that may be very usefull for certain apps: Priority round-robin for example can improve responsiveness and the earliest-deadline-first algorithm can be usefull in real-time systems that need a better flexibility. In my opinion most applications will actually run using an external scheduler rather than the Xok mechanism.QuiTeVexat wrote:About the policies: None of those are necessary when applications can schedule themselves.
My intention was to provoke, not to insult and I'm sorry if I have crossed the line. The thing is that I was a bit surpised/shocked about your attitude towards common-sense and "hard" numbers so that I wanted to know your reasons and you have to agree that my strategy has worked outQuiTeVexat wrote:About Bush: That comment is off-topic and below-the-belt.

As it's hardly ever meant that way I don't take such things personally and my policy is that everybody that makes such statements (including myself) should also be able to take them..It's hubris to think you can immediately do better than people who have worked on it more and have far more experience than you based on nothing more than your "common sense."
When you mentioned this some posts ago, I at first also thought that it might work, but "propertionally" unfortunately isn't enought in this case. Let's say that there are in total 100 time-slices in the system which are held by three task (20, 50, 30 in blocks for simplicity). If you now increase the total number of time-slices by 2 and update the number of time-slices accordingly, the tasks still hold the same share of the CPU, but the time for which they run and their periode have doubled so that the real-time advantage is lost.QuiTeVexat wrote:About a variably-sized vector: The whole point of doing it in some multiple is so that you can proportionally expand the timeslices to multiple timeslices in the new vector. Timing would still be guaranteed.
regards,
gaf