Re: Netgraph multithreading

2011-11-11 Thread Alexander Motin
Hi. > Is Netgraph supports multithreading in FreeBSD 8.1? Generally yes, but there are many different cases. Netgraph uses direct function calls to handle traffic. It means that when it is possible it runs directly in network card interrupt threads contexts, or if net.isr.direct sysctl set to 0 (

Netgraph multithreading

2011-11-10 Thread Алексей Якименко
Hello! Can you help me please? Is Netgraph supports multithreading in FreeBSD 8.1 ? I found that in the function "ngb_mod_event" (ng_base.c, line 3114) multiple threads runs function "ngthread" (ng_base.c, line 3315). What does this function? Or another question. Where is the parallelization of h