[Click] question about linuxmodule/fromdevice

Roman Chertov rchertov at purdue.edu
Sat Aug 4 19:43:19 EDT 2007


I had a similar requirement.  I just modified the device driver to 
reduce the latency to suit my needs.



Mythili Vutukuru wrote:
> 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
> 
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> 


More information about the click mailing list