Re: non-preemptive Linux version?



On 2006-11-27, The Natural Philosopher <a@xxx> wrote:
songfg@xxxxxxxxx wrote:
Hi,

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.

Thanks,
fg

Why not look at the scheduler code and see?

And rewrite it if necessary...

Why not just up the nice value?

--
Colorado:
Where they don't buy M & M's, 'cause they're so hard to peel.

http://www.websterscafe.com
.



Relevant Pages

  • Re: non-preemptive Linux version?
    ... Does anyone know how to make an application fully control its CPU ... if the program is doing intensive computation, ... by the kernel and other users' processes. ...
    (comp.os.linux.misc)
  • Re: non-preemptive Linux version?
    ... Does anyone know how to make an application fully control its CPU ... if the program is doing intensive computation, ... by the kernel and other users' processes. ...
    (comp.os.linux.misc)
  • non-preemptive Linux version?
    ... Does anyone know how to make an application fully control its CPU ... if the program is doing intensive computation, ... by the kernel and other users' processes. ...
    (comp.os.linux.misc)
  • Re: disk speed regression kernel 2.6.29 and after
    ... When I installed kernel 2.6.30, ... I currently have 3 hard drives hooked up. ... ACPI: ... CPU: L2 Cache: 512K ...
    (Linux-Kernel)
  • Re: [BUG] next-20081216 - WARNING: at kernel/smp.c:333 smp_call_function_mask
    ... next-200816 kernel panics, while boot up on x86_64 machine. ... ACPI: Local APIC address 0xfee00000 ... Movable zone start PFN for each node ... PERCPU: Allocating 49152 bytes of per cpu data ...
    (Linux-Kernel)