DragonFly kernel List (threaded) for 2009-03
DragonFly BSD
DragonFly kernel List (threaded) for 2009-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sepherosa@xxxxxxxxx>
Date: Tue, 10 Mar 2009 09:11:49 +0800

On Mon, Mar 9, 2009 at 11:05 PM, Matthew Dillon
<dillon@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:
net.inet.udp.mpsafe_thread="2"
net.inet.tcp.mpsafe_thread="2"
net.inet.udp.mpsafe_proto="1"
net.inet.tcp.mpsafe_proto="1"
I think these could be used to test sockbuf MPSAFE work.

Best Regards,
sephe

-- 
Live Free or Die



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]