Phil Wilshire <[EMAIL PROTECTED]> writes:
> Aleksandar Bakic wrote:
> >
> > Hi,
> >
> > I am trying to combine the rate-monotonic scheduler with some RT FIFO
> > examples from the Zentropix distribution. The problem seems to be that
> > rt_task_make_periodic() activates not only the task that I want to be
> > activated, but also a couple of other tasks. Also, I use
> > (RT_TICKS_PER_SEC * <ms>) / 1000 to specify the period in
> > milliseconds. While I expect results from the specified task via its
> > assigned RT FIFO, I get more "results" from other tasks on almost
> > arbitrary (i.e., not their assigned) RT FIFOs. For periods of 20 and
> > 200 milliseconds, the results and "results" arrive quickly, but for
> > 2000 only one arrives in 10 seconds. I can provide source code...
> >
> >
> You need to do a
> /sbin/lsmod and see what else is running.
>
I know that: rtl_fifo.o and rt_monotonic_sched.o, then my module on
top of these two. I did some debugging and based on that I concluded
that everything seemed fine until rt_task_make_periodic() was invoked
(with the correct argument). Maybe there is some incompatibility
between rtl_fifo and rt_monotonic_sched, because the latter replaces
all the functions of rtl_sched, but it might have different data
structures from those that rtl_fifo expects... although the
rate-monotonic example seems to work as it should.
> Ther may be Z's debugger in the middle of it.
> Try using a different fifo as well.
>
I need to learn how to use Z. There are actually 16 fifos, maybe I
could permute them just to see what happens.
> Phil Wilshire
Thanks,
Aleks
--- [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/