>I havent found any way to force a linux user space process to run
immediately 
>after my real-time IRQ handler. I'm trying to decrease the timeslice
duration 
>in Linux so my soft real time app has a faster response to what the real
time 
>handler has done.
>
>How can I force the linux kernel scheduler to give processes only 1 ms
>maximum per timeslice ?
>
>I have changed the HZ variable in param.h from 100 to 1000, and my
>rt-2.0.35 kernel runs fine.
>
>I see (on an O-scope) my process runs every 2 msec, (as opposed to every
>20 ms when HZ was 100). Why doesn't this process run every millisecond ? !!!

It seems to me things have scaled exactly as they should. You reduced the
tick interval by a factor of 10, so your scheduling interval has indeed
also been reduced by a factor of 10. So, should you change HZ to 2000? Why
not?

Now, perhaps someone more knowledgeable than I can explain why the RT
kernel only gives you every-other timeslice.
Marshall Jose, WA3VPZ
Johns Hopkins Univ. Applied Physics Lab., 240-228-4367
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to