Re: Gurus, a silly question for preemptive behavior
Date: Tue Dec 21 2004 - 14:09:20 EST
I already said in the messsage that my user space
application has a low nice priority, i set it to 10.
since my application has low priority compared to
other user space applications, it is supposed to be
interrupted. but it is not.
--- Paulo Marques <pmarques@xxxxxxxxxxxx> wrote:
> jesse wrote:
> > Con:
> > thank you for your prompt reply in the holiday
> > season.
> > My point is: Even kernel 2.4 is not
> > preemptive, the latence should be very
> > minimal.(<300ms)
> > why user space application with low nice priority
> > can't be effectively interrupted and holds the CPU
> > resource since all user space application is
> > preemptive?
> If your process has got work to do and has a higher
> priority than other
> processes, it gets to run. If you don't want this
> behavior, don't give
> it such a high priority.
> If you want low latency to do some quick high
> priority task, just do it
> quickly and relinquish the processor, instead of
> hogging it.
> What are you trying to accomplish, anyway?
> Paulo Marques - www.grupopie.com
> "A journey of a thousand miles begins with a single
> Lao-tzu, The Way of Lao-tzu
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/