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
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.