Does Netgraph in FBSD 5.x SMP requires GIANT lock?

Michael Shiu mshiu at net-yan.com
Thu Jun 5 03:57:00 PDT 2003


Dear all,

Just like to know if the netgraph code running 5.x SMP kernel requires the
GIANT lock?

I have the netgraph doing bridging right now but the performance is limited
by the CPU (right now, it is something around 100k pkt/s in 4-STABLE).
Does adding another CPU together with upgrading to 5.x be of any help? I
guess the bottleneck right now is only one thread is executing in interrupt
context with GIANT being held. Am I right?

_Michael



More information about the freebsd-net mailing list