Re: non-preemptive Linux version?
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Mon, 27 Nov 2006 18:26:02 -0500
The Natural Philosopher wrote:
songfg@xxxxxxxxx wrote:
Does anyone know how to make an application fully control its CPU
timing? E.g., if the program is doing intensive computation, it
should not be context-switched by the kernel and other users'
processes. Is there any option in the kernel to enable it, or I
can download some special version of Linux to do it?
It is widely used in the compute nodes of clusters.
Any suggestion and help would be greatly appreciated!
PS: disabling preemption in the kernel seems not working.
Why not look at the scheduler code and see?
And rewrite it if necessary...
Many systems in the past have detected compute vs i/o bound
processes, and alter their priority accordingly. What you want to
do depends on the end use of the system. Usually you want to
reduce the priority of compute-bound relative to i/o bound, to
enhance the 'snappiness' of the response. The OP is asking for the
reverse.
--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>
.
- References:
- non-preemptive Linux version?
- From: songfg@xxxxxxxxx
- Re: non-preemptive Linux version?
- From: The Natural Philosopher
- non-preemptive Linux version?
- Prev by Date: Re: What's the state of the art in linux DVD movie backups?
- Next by Date: Re: Why is linux slower than Windows (Firefox)?
- Previous by thread: Re: non-preemptive Linux version?
- Next by thread: Re: non-preemptive Linux version?
- Index(es):
Relevant Pages
|