On Thu, Mar 10, 2022 at 3:19 AM Brian Buhrow <[email protected]> wrote: > > hello. I'm wondering if someone could comment on the state of using > NET_MPSAFE kernels? > Is it ready for production use yet? > -thanks > -Brian >
It depends on your machine(s) and usages. doc/TODO.smpnet[1] lists up MP-safe components. If you need to use components in the "Unprotected ones" (sub)section, we can clearly say NET_MPSAFE kernels are not ready for production. Otherwise, you may be able to use NET_MPSAFE kernels in production. Actually we've used NET_MPSAFE kernels based on NetBSD 8 for a couple of years in production as routers. [1] http://cvsweb.netbsd.org/bsdweb.cgi/src/doc/TODO.smpnet?rev=1.45&content-type=text/x-cvsweb-markup&only_with_tag=MAIN Note that as you can see from the list above, Layer 4 protocols including TCP and UDP are not MP-safe yet. So using NET_MPSAFE kernels as servers or clients is probably not performant. ozaki-r
