Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jun 2003 18:55:33 +0800
From:      "Michael Shiu" <mshiu@net-yan.com>
To:        <freebsd-net@freebsd.org>
Subject:   Does Netgraph in FBSD 5.x SMP requires GIANT lock?
Message-ID:  <012701c32b51$20068770$650019ac@athena>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?012701c32b51$20068770$650019ac>