What is a good program in C that can demonstrate strengths/weaknesses of different linux schedulers (noop, CFS, deadline)? -



What is a good program in C that can demonstrate strengths/weaknesses of different linux schedulers (noop, CFS, deadline)? -

i'm trying find way demonstrate how different schedulers may impact runtime of program. far, i'm using time function on linux seek , see measurable differences using noop, cfs, , deadline schedulers i'm not having luck. test programs, wrote bunch of c programs loop , count numbers.

i thought maybe if start 1 process counts higher number, , start sec process doesn't count quite high; using deadline scheduler, sec process may finish faster because it's less resource-intensive job. however, don't see difference @ between schedulers. i'm wondering if maybe understanding of schedulers little flawed? there more appropriate type of programme seek making demonstrate of these concepts?

can give me tips, advice, or that?

while poking around con kolivas code stumbled upon interbench.

this benchmark application designed benchmark interactivity in linux. see included file readme.interactivity brief definition.

it designed measure effect of changes in linux kernel design or scheme configuration changes such cpu, i/o scheduler , filesystem changes , options. careful benchmarking, different hardware can compared.

another tool come in handy con kolivas 1 time again , called contest.

this programme designed test scheme responsiveness running kernel compilation under number of different load conditions. designed compare different kernels, not different machines. uses real workloads you'd expect find short periods in every day machines sustains them duration of kernel compile increment signal noise ratio.

so maybe utilize preparing 2 kernel different schedulers.

c linux operating-system schedule

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -