Linux 2.6 scheduler (set timeslice)

Submitted by skyonz
on November 4, 2005 - 9:03pm

I created a system call in the kernel sched.c that sets the timeslice of the current process to four times its base timeslice. I wanted to see how this system call affect the overall performance, but don't know which measurements statistic to look for? Any suggestion?

At least test for scheduling

Ano Nymous
on
November 6, 2005 - 4:54am

At least test for scheduling latency, fairness between processes, number of context switches, throughput of whatever you use for benchmarking, that sort of things. Also compare it with different priority processes. Maybe processes with higher nice value already get a longer timeslice, so your patch wouldn't add that much, except bypassing the existing priority system, giving your high timeslice processes a hidden advantage over other (higher priority) processes.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.