[Click] multiple threads in click

Eddie Kohler kohler at cs.ucla.edu
Sat Dec 16 11:46:18 EST 2006


Hi Omer,

Click is generally a single-threaded event-driven system, although it does 
support a multi-threaded version when in the kernel.  So it processes 2 
packets that "simultaneously" arrive in series.  To process multiple packets 
in a single element is definitely possible.  The best way to model this is via 
packet storage: the element stores the first packet until it sees the second.

Eddie


ﻯﻮﻠﻫﺩ ﺮﻤﻋ wrote:
> How does click handle two packets which simultaneously arrive on different
> network interfaces ?  Is there a way to process multiple packets in the a
> single element simultaneously ?
> 
> -Omer
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list