Turn on adaptive MPSAFE for network threads, MPSAFE for IP and ARP

Sepherosa Ziehau sepherosa at gmail.com
Mon Mar 9 18:18:46 PDT 2009

On Mon, Mar 9, 2009 at 11:05 PM, Matthew Dillon
<dillon at apollo.backplane.com> wrote:
> :Hi all,
> :
> :I plan to set following tunables by default:
> :net.netisr.mpsafe_thread="1"
> :net.inet.udp.mpsafe_thread="1"
> :net.inet.tcp.mpsafe_thread="1"
> :net.link.ether.inet.arp_mpsafe="1"
> :net.inet.ip.mpsafe="1"
> :
> :The first three enables adaptive MPSAFE for network threads.
> :The last two enable IP and ARP MPSAFE.
> :
> :This gives us BGL free ip forwarding path and BGL free bridge
> :forwarding path.  pf is still under BGL though.
> :
> :If no objection comes, this will happen within two days.
> :
> :Best Regards,
> :sephe
>    Excellent!  This is the right time to do it.
>    How does your network interface MPSAFE work tie into Aggelos's
>    sockbuf MPSAFE work?

They are not conflict at all (no overlapping parts :)

Following settings make whole TCP/UDP code path MPSAFE:
I think these could be used to test sockbuf MPSAFE work.

Best Regards,

Live Free or Die

More information about the Kernel mailing list