I'm trying to find a way to demonstrate how different schedulers may affect the runtime of a program. So far, I'm only using the time function on linux to try and see measurable differences using noop, CFS, and deadline schedulers but I'm not having any luck. For the test programs, I just wrote a bunch of C programs that basically loop and count numbers.
I thought that maybe if I start one process that counts to a higher number, and then start a second process that doesn't count quite as high; using the deadline scheduler, the second process may finish significantly faster because it's a less resource-intensive job. However, I don't see any difference at all between schedulers. I'm wondering if maybe my understanding of schedulers is a little flawed? Is there a more appropriate type of program I could try making to demonstrate some of these concepts?
Can anyone give me some tips, advice, or anything like that?