Re: SCHED_RR/SCHED_FIFO and kernel threads?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, Ingo's patch didn't made any difference for my problem with kernel starvation.

As expected, the workaround of raising the priority of the 'events' kernel thread made it possible to switch VT or switch windows in X (as described in my first mail), when running a simple infinite loop. When running arbitrary programs, I expect that all kernel threads needs higher priority.

I guess that the point with kernel threads is to push heavy kernel requests "backwards in the queue", thereby lowering the mean latency for SHED_OTHER processes. Therefore, using high priorities for kernel threads was not an option. However, this comes at the price of breaking SCHED_FIFO/SCHED_RR.

The only clean solution is probably to have priorities that are reserved for kernel threads. I saw that kernel threads in LynxOS may use a priority of 1/2 above of the user-space tasks it serves. This seems like a good solution to the problem.

Any other patches out there, ready for a test?

/Patrik Hägglund
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux