[Click] question about linuxmodule/fromdevice

Mythili Vutukuru mythili at csail.mit.edu
Sat Aug 4 18:05:25 EDT 2007


Hi,
I am running click version 1.5.0. The application I am building requires
that the delay between the network interface receiving the packet and my
custom click element processing the packet be minimum. Currently, the
FromDevice element queues up packets at interrupt time, and pushes them
out of its output when the task in the element is scheduled. I want to
reduce this delay. First question: is there any obvious way to do this?
I tried increasing the tickets of FromDevice using ScheduleInfo, but it
did not help.

An obvious (but possibly flawed) approach I thought of is the following:
make FromDevice push out the packets at interrupt time itself to other
elements downstream. Second question: does running some click element
code at interrupt time break anything fundamental in the click
architecture?

Thanks a lot, any help is much appreciated.

Mythili




More information about the click mailing list