Hi,
I am wondering if it is possible to change the priority of a NICs rx thread.
It seems everytime I try to change the priority of these threads, once a
packet is received, the thread goes back to its initial priority. Is this
the correct thread to alter the priority of, if I want to ensure that an
interrupt from the NIC will preempt other threads in io-net (filter). I am
using devn-el900 in promiscuous mode on two nics, with a cpu intensive
filter between the IP stack and and the en->ip converter.
Also, since the filter uses a lot of CPU, would it be more efficient (low
packet loss) to have a seperate process, with the packets passed from the
filter into another process somehow, or should it all remain in io-net? If
I turn up the priority of my thread that does most of the work, it process
the packet queue fairly quickly (almost instantly), but a few incoming
packets get dropped, and if i lower the priority, the thread takes a LONG
time to process the queue, but no packets are ever dropped.
Matt Thompson - mthompson@infinity-its.com
Software Developer
Infinity Technology Services (ITS) Inc.
www.infinity-its.com