rjshaw at iprimus.com.au
Wed Nov 6 13:03:12 CET 2002
Christian.Daschill at skf.com wrote:
> Again, here is what I am trying to do:
> Read in several bytes of data triggered by a GPIO interrupt at the rate of
> up to 50kHz, gather the data in a buffer and wake my user process every
> 512 interrupts to send it off to a host via TCP/IP.
Maybe linux freezes because 50kHz combined with a bit too much
processing could use all the available time, leaving nothing
for linux. I'd start with an interrupt rate of 1kHz then keep
doubling it until something breaks. At that point, modify the
program to pinpoint where the inefficiency is.
More information about the Rtai