{"id":693,"date":"2015-04-16T11:19:09","date_gmt":"2015-04-16T09:19:09","guid":{"rendered":"http:\/\/dety.net.ua\/?p=693"},"modified":"2015-04-16T11:19:09","modified_gmt":"2015-04-16T09:19:09","slug":"pfsense-freebsd-multicore-issue","status":"publish","type":"post","link":"https:\/\/dety.net.ua\/?p=693","title":{"rendered":"PFSense + FreeBSD + Multicore = ISSUE"},"content":{"rendered":"<p>I installed FreeBSD 10 on a multicore server and got strange behavior &#8211; network connections were slow and I got many timeouts with 1 client only.<\/p>\n<p>The same situation with PFSense 2.2.1 on a multicore server (Atom 8 cores) &#8211; server even hangs without any loads.<\/p>\n<p>The cause: the maximum of mbclusters were riched &#8211; 100% (PFSense &#8211; Dashboard), because they are dedicated by the system for the each core. There is no the issue on an one-two core system (enough).<\/p>\n<p>Fix &#8211; add memory and mbclusters to a system:<\/p>\n<p>\/boot\/loader.conf<\/p>\n<blockquote><p>vm.kmem_size=&#8221;1G&#8221;<br \/>\nvm.kmem_size_max=&#8221;2G&#8221;<br \/>\nkern.ipc.mbclusters=&#8221;1000000&#8243;<br \/>\nkern.ipc.nmbclusters=&#8221;262144&#8243;<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I installed FreeBSD 10 on a multicore server and got strange behavior &#8211; network connections were slow and I got many timeouts with 1 client only. The same situation with PFSense 2.2.1 on a multicore server (Atom 8 cores) &#8211; server even hangs without any loads. The cause: the maximum of mbclusters were riched &#8211; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,13],"tags":[],"class_list":["post-693","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-novosti"],"_links":{"self":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/693","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=693"}],"version-history":[{"count":1,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/693\/revisions"}],"predecessor-version":[{"id":694,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/693\/revisions\/694"}],"wp:attachment":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=693"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=693"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}