Skip to content
Advertisement

Tag: scheduler

Linux default scheduler alternatives

The Linux kernel implements the Completely Fair Scheduling (SCHED_NORMAL) algorithm as its default scheduling algorithm for scheduling real-time processes. How to modify the linux kernel such that the default scheduling policy is set to round-robin (SCHED_RR) or any other scheduling policy ? Is there a generic way to do so ? What files need to be exactly changed here ?

How can I write a I/O bound C program?

I must write programs that are I/O Bound and that will make my I/O scheduler work like never done before for a Operating Systems homework, but I have no idea how to do it. I’ve tried writing a simple C program that counts the lines of big text files, but it executes too fast and I can’t measure the effectiveness

Linux SCHED_OTHER, SCHED_FIFO and SCHED_RR – differences

Can someone explain the differences between SCHED_OTHER, SCHED_FIFO and SCHED_RR? Thanks Answer SCHED_FIFO and SCHED_RR are so called “real-time” policies. They implement the fixed-priority real-time scheduling specified by the POSIX standard. Tasks with these policies preempt every other task, which can thus easily go into starvation (if they don’t release the CPU). The difference between SCHED_FIFO and SCHED_RR is that

Advertisement