[Click] Conversion of threads

Philip Prindeville philipp_subx at redfish-solutions.com
Thu Feb 24 00:36:46 EST 2011


I was wondering... if I'm running multiple duplicate paths each on its own core and I eventually need to collect them up so I can resequence packets and pass them up into user-space... how feasible is it to go from threaded and lockless to converging into a single locked queue (fan-in)?

I figure it would be the best of both worlds because most of the operations could happen threaded and without locking, and the locking only needs to be enforced in the final stage...

Thanks.

-Philip



More information about the click mailing list