<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: R80.x - Performance Tuning Tip – User Mode Firewall vs. Kernel Mode Firewall in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-User-Mode-Firewall-vs-Kernel-Mode/m-p/111922#M21071</link>
    <description>&lt;P&gt;Hi, sk149973 doesn't exist anymore as an SK.&lt;BR /&gt;Instead, please link to this SK:&amp;nbsp;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk167052" target="_blank"&gt;https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk167052&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Note that it is only supported on specific appliances, enabled by default on some, can be enabled on others.&lt;BR /&gt;It should only be &lt;EM&gt;manually&lt;/EM&gt; enabled on consultation with TAC.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Feb 2021 18:19:03 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2021-02-26T18:19:03Z</dc:date>
    <item>
      <title>R80.x - Performance Tuning Tip – User Mode Firewall vs. Kernel Mode Firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-User-Mode-Firewall-vs-Kernel-Mode/m-p/70759#M14330</link>
      <description>&lt;DIV class="lia-quilt-row lia-quilt-row-message-subject"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-subject-content"&gt;
&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;
&lt;DIV class="topic-subject-wrapper"&gt;
&lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;
&lt;DIV class="MessageSubject"&gt;
&lt;DIV class="MessageSubjectIcons "&gt;
&lt;DIV class="lia-message-subject"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-quilt-row lia-quilt-row-message-body"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-body-content"&gt;
&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;
&lt;DIV id="bodyDisplay_5301e6e623ebad" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;TABLE style="border: 1px solid #c6c6c6; border-collapse: separate; border-radius: 5px; background-color: #e15180; padding: 6px; text-indent: 10px;" width="100%"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH align="left"&gt;&lt;FONT size="4" color="#ffffff"&gt;What is a User Mode Firewall?&lt;/FONT&gt;&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;In “Kernel Mode Firewall” KMFW, the maximum number of running cores is limited to 40 because of the Linux/Intel limitation of 2GB kernel memory, and because CoreXL architecture needs to load a large driver (~42MB) dozens of times (according to the CPU number, and up to 40 times). Newer platforms that contain more than 40 cores e.g., 23900 or open server are not fully utilized.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;The solution of the problem is a firewall in the user mode of the Linux operating system.&lt;/P&gt;
&lt;P&gt;USFW “User Space Firewall” or UMFW stands for “User Mode Firewall”, and it is based on proven VSX code. This mode was introduced in R80.10.&lt;/P&gt;
&lt;P&gt;According to SK the UMFW is enabled from R80.30 by default&amp;nbsp;and is customized via the installation process. To confirm this I called a friend (He's a HP dealer.) and asked him if he had a HP DL380 with more then 40 cores in his company:-) Two hours later we were sitting in his LAB and installed R80.30 on this system. If the info should not be correct, please small info to me, then I change that in the article.&lt;/P&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="background-color: #c0c0c0;"&gt;
&lt;TD&gt;&lt;STRONG&gt;GAIA version/ Kernel/ Cores&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;STRONG&gt;Firewall mode&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;STRONG&gt;Check&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="45px"&gt;R80.30 kernel 3.10 more then 35* cores&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="45px"&gt;UMFW is enabled&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="45px"&gt;checked on HP DL 380 G10 2 * Platinum 8180MProcessor 28 cores = 56 cores&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="45px"&gt;R80.30 kernel 3.10 less then 35* cores&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="45px"&gt;KMFW is enabled&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="45px"&gt;checked on HP DL 380 G10 1 * Platinum 8180MProcessor 28 cores&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="45px"&gt;R80.30 kernel 2.6&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="45px"&gt;KMFW is enabled&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="45px"&gt;checked on VMWare with 30 cores and with 46 cores&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="23px"&gt;R80.40 (default 3.10 kernel)&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="23px"&gt;UMFW is enabled by default&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="23px"&gt;checked on VMWare with 4 cores&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;*)&amp;nbsp;It could be 40 cores. We are in the middle of a discussion on this topic. Read more here:&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &lt;A href="https://community.checkpoint.com/t5/General-Topics/High-CPU-utilization-during-process-fwk0-dev-0-UMFW-vs-KMFW/m-p/70648/highlight/true#M14307" target="_self"&gt;High CPU utilization during process fwk0_dev_0 (UMFW vs. KMFW)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="border: 1px solid #c6c6c6; border-collapse: separate; border-radius: 5px; background-color: #e15180; padding: 6px; text-indent: 10px;" width="100%"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH align="left"&gt;&lt;FONT size="4" color="#ffffff"&gt;Threads of process fwk0_dev_0&lt;/FONT&gt;&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;From a performance point of view I could not see any differences between UMFW and KMFW. I noticed that the process fwk0_dev_0 generates a very high CPU load in the UMFW. My guess as to the purpose of the fwk0_dev_0 is that it acts as the liaison between the multiple fwk firewall worker processes (fw instance&amp;nbsp;thread that takes care for the packet processing) and the single fwmod kernel driver instance&amp;nbsp;and the process for&amp;nbsp;high priority cluster thread.&lt;/P&gt;
&lt;P&gt;If you want to change the mode from UMFW to KMFW this can be done by changing the registry parameter&amp;nbsp;&lt;SPAN&gt;FwIsUsermode by&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;cpprod_util command.&amp;nbsp;&lt;/SPAN&gt;In UMFW the &lt;STRONG&gt;fw instances are threads of the&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;&lt;SPAN class="lia-message-read"&gt;fwk0_dev_0 &lt;/SPAN&gt;&lt;/STRONG&gt;so by default the top shows all the threads cpu utilization under the main thread.&amp;nbsp;Top has the option to present the utilization per thread as well.&lt;/P&gt;
&lt;P&gt;A small calculation sample for the utilization of process&amp;nbsp;fwk0_dev_0:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max_CoreXL_number &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max_CoreXL_number&lt;BR /&gt;fwk0_dev_0&amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;∑&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;fwk0_x &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; +&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;∑&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;fwk0_dev_x&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fwk0_kissd&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fwk0_hp&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x=0 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; x=0&lt;/P&gt;
&lt;P&gt;Thread from process&amp;nbsp;fwk0_dev_0:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- fwk0_X&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;&amp;nbsp; fw instance&amp;nbsp;thread that takes care for the packet processing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- fwk0_dev_X&amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt; the thread that takes care for communication between fw instances&amp;nbsp;and other CP daemons&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- fwk0_kissd&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;gt; legacy&amp;nbsp;Kernel Infrastructure (obsolete)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- fwk0_hp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;&amp;nbsp; (high priority) cluster thread&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Note:&lt;BR /&gt;UMFW is&amp;nbsp;not supposed to run&amp;nbsp;with less than 35 cores&amp;nbsp;in R80.10, R80.20 and R80.30&lt;/P&gt;
&lt;TABLE style="border: 1px solid #c6c6c6; border-collapse: separate; border-radius: 5px; background-color: #e15180; padding: 6px; text-indent: 10px;" width="100%"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH align="left"&gt;&lt;FONT size="4" color="#ffffff"&gt;R80.30&lt;/FONT&gt;&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;/TABLE&gt;
&lt;P&gt;In R80.30 kernel 30.10 open servers&amp;nbsp; always load in USFW mode. If the&amp;nbsp; open server has less than 35 fw instances it’s safe to move to kernel mode even on R80.30 with kernel 3.10.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The number of fw instances is derived from the number of cores on the server and the number of core defined by the license.&lt;/P&gt;
&lt;TABLE style="border: 1px solid #c6c6c6; border-collapse: separate; border-radius: 5px; background-color: #e15180; padding: 6px; text-indent: 10px;" width="100%"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH align="left"&gt;&lt;FONT size="4" color="#ffffff"&gt;R80.40+&lt;/FONT&gt;&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;/TABLE&gt;
&lt;P&gt;With R80.40 EA the UMFW is always active by default on kernel 3.10.&lt;/P&gt;
&lt;TABLE style="border: 1px solid #c6c6c6; border-collapse: separate; border-radius: 5px; background-color: #e15180; padding: 6px; text-indent: 10px;" width="100%"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH align="left"&gt;&lt;FONT size="4" color="#ffffff"&gt;Tip&lt;/FONT&gt;&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="background-color: #c0c0c0;"&gt;
&lt;TD width="100%"&gt;&lt;STRONG&gt;Tip 1 &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;- To make sure that UMFW is activated, run the following command&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;To make sure that UMFW is activated, run the following command:&lt;/P&gt;
&lt;P&gt;# cpprod_util FwIsUsermode&lt;/P&gt;
&lt;P&gt;1 = User Mode Firewall&lt;BR /&gt;0 = Kernel Mode Firewall&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="background-color: #c0c0c0;"&gt;
&lt;TD width="100%"&gt;&lt;STRONG&gt;Tip 2&lt;/STRONG&gt;&lt;FONT color="#000000"&gt; - enable or disable the “User Mode Firewall”&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;Follow &lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?action=portlets.SearchResultMainAction&amp;amp;eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk149973" target="_self"&gt;sk149973&lt;/A&gt;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="background-color: #c0c0c0;"&gt;
&lt;TD width="100%"&gt;&lt;STRONG&gt;Tip 3&lt;/STRONG&gt; &lt;FONT color="#000000"&gt;- Switch to &lt;STRONG&gt;Kernel Mode Firewall&lt;/STRONG&gt;, do the following&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Note:&lt;/SPAN&gt;&lt;BR /&gt;UMFW is&amp;nbsp;not supposed to run&amp;nbsp;with less than 40 cores&amp;nbsp;in R80.10, R80.20 and R80.30&lt;BR /&gt;&lt;BR /&gt;1) Run the following clish commands:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # cpprod_util FwSetUsFwmachine 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # cpprod_util FwSetUsermode 0&lt;BR /&gt;2) Edit the boot.conf file (vi $FWDIR/boot/boot.conf) with the following:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KERN_INSTANCE_NUM 40&lt;BR /&gt;3) Reboot.&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="background-color: #c0c0c0;"&gt;
&lt;TD width="100%"&gt;&lt;STRONG&gt;Tip 4&lt;/STRONG&gt; &lt;FONT color="#000000"&gt;- Switch to &lt;STRONG&gt;User Mode Firewall&lt;/STRONG&gt;, do the following&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;1) Run the following clish commands:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # cpprod_util FwSetUsFwmachine 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # cpprod_util FwSetUsermode 1&lt;BR /&gt;2) Edit the boot.conf file (vi $FWDIR/boot/boot.conf) with the following:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KERN_INSTANCE_NUM 62&lt;BR /&gt;3) Reboot.&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR style="background-color: #c0c0c0;"&gt;
&lt;TD width="100%"&gt;&lt;STRONG&gt;Tip 5&lt;/STRONG&gt; &lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;- Show thread&lt;/FONT&gt;&lt;/FONT&gt;
&lt;H2 class="message-subject"&gt;&lt;SPAN class="lia-message-read"&gt;&amp;nbsp;utilization of process&lt;/SPAN&gt;&lt;/H2&gt;
&lt;H2 class="message-subject"&gt;&lt;SPAN class="lia-message-read"&gt;&amp;nbsp;fwk0_dev_0&lt;/SPAN&gt;&lt;/H2&gt;
&lt;H2 class="message-subject"&gt;&lt;SPAN class="lia-message-read"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H2&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;1) search the prozess ID of process &lt;SPAN class="lia-message-read"&gt;fwk0_dev_0&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;# top&lt;/P&gt;
&lt;P&gt;PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND&lt;BR /&gt;&lt;FONT color="#FF00FF"&gt;10219&lt;/FONT&gt; admin 0 -20 1070m 449m 134m S 2 24.0 0:17.19 fwk0_dev_0&lt;BR /&gt;&lt;BR /&gt;2) Now check the &lt;SPAN class="lia-message-read"&gt;utilization of the threads:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-message-read"&gt;#&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;top -Hbn1 -p &lt;FONT color="#FF00FF"&gt;10219&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND&lt;BR /&gt;10219 admin 0 -20 1070m 449m 134m S 0 24.0 0:03.49 fwk0_dev_0&lt;BR /&gt;10220 admin 0 -20 1070m 449m 134m S 0 24.0 0:00.00 fwk0_kissd&lt;BR /&gt;10436 admin 0 -20 1070m 449m 134m S 0 24.0 0:00.57 fwk0_0&lt;BR /&gt;10437 admin 0 -20 1070m 449m 134m S 0 24.0 0:00.64 fwk0_1&lt;BR /&gt;10438 admin 0 -20 1070m 449m 134m S 0 24.0 0:00.67 fwk0_2&lt;BR /&gt;10439 admin 0 -20 1070m 449m 134m S 0 24.0 0:00.80 fwk0_3&lt;BR /&gt;10440 admin RT -20 1070m 449m 134m S 0 24.0 0:00.76 fwk0_hp&lt;BR /&gt;10441 admin 0 -20 1070m 449m 134m S 0 24.0 0:00.15 fwk0_dev_1&lt;BR /&gt;10442 admin 0 -20 1070m 449m 134m S 0 24.0 0:00.09 fwk0_dev_2&lt;BR /&gt;10443 admin 0 -20 1070m 449m 134m S 0 24.0 0:00.09 fwk0_dev_3&lt;/P&gt;
&lt;TABLE style="border: 1px solid #c6c6c6; border-collapse: separate; border-radius: 5px; background-color: #e15180; padding: 6px; text-indent: 10px;" width="100%"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH align="left"&gt;&lt;FONT size="4" color="#ffffff"&gt;Chapter&lt;/FONT&gt;&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;STRONG&gt;More interesting articles:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.checkpoint.com/t5/General-Topics/R80-x-Architecture-and-Performance-Tuning-Link-Collection/m-p/47883#M9336" target="_blank" rel="noopener" data-objecttype="102"&gt;- R80.x Architecture and Performance Tuning - Link Collection&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://cp.ankenbrand24.de" target="_blank" rel="noopener nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;- Article list (Heiko Ankenbrand)&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.checkpoint.com/t5/General-Topics/High-CPU-utilization-during-process-fwk0-dev-0-UMFW-vs-KMFW/m-p/70648#M14307" target="_self"&gt;- High CPU utilization during process fwk0_dev_0 (UMFW vs. KMFW)&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 17:23:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-User-Mode-Firewall-vs-Kernel-Mode/m-p/70759#M14330</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2020-05-22T17:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: R80.x - Performance Tuning Tip – User Mode Firewall vs. Kernel Mode Firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-User-Mode-Firewall-vs-Kernel-Mode/m-p/70887#M14357</link>
      <description>&lt;P&gt;Nice information.&lt;/P&gt;&lt;P&gt;I have the problem with high CPU usage of the process fwk0_dev_0.&lt;/P&gt;&lt;P&gt;You can read more in this article:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 09:26:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-User-Mode-Firewall-vs-Kernel-Mode/m-p/70887#M14357</guid>
      <dc:creator>Jul_Kapendale</dc:creator>
      <dc:date>2019-12-19T09:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: R80.x - Performance Tuning Tip – User Mode Firewall vs. Kernel Mode Firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-User-Mode-Firewall-vs-Kernel-Mode/m-p/71629#M14514</link>
      <description>&lt;P&gt;All informations from article&amp;nbsp;&lt;A href="https://community.checkpoint.com/t5/General-Topics/High-CPU-utilization-during-process-fwk0-dev-0-UMFW-vs-KMFW/m-p/70648#M14307" target="_self"&gt;High CPU utilization during process fwk0_dev_0 (UMFW vs. KMFW)&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; added.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 07:59:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-User-Mode-Firewall-vs-Kernel-Mode/m-p/71629#M14514</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2020-01-06T07:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: R80.x - Performance Tuning Tip – User Mode Firewall vs. Kernel Mode Firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-User-Mode-Firewall-vs-Kernel-Mode/m-p/81912#M16565</link>
      <description>I've been troubleshooting R80.40 installation on Nutanix AHV and we came across this and decided to disable UMFW and test with KMFW and this made things like SecureXL working.&lt;BR /&gt;&lt;BR /&gt;Something that I found confusing according to the SecureKnowledge article and this post is the part with NUMA:&lt;BR /&gt;&lt;BR /&gt;2) Edit the boot.conf file (vi $FWDIR/boot/boot.conf) with the following:&lt;BR /&gt;KERN_INSTANCE_NUM 40&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sk149973 is specific for 23900 appliance series so these numbers might makes sense for this appliance model. I'm by no means a CPU and NUMA expert but isn't there supposed to be a correlation between the amount of CPU cores and sockets and the NUMA value?&lt;BR /&gt;&lt;BR /&gt;I have tried to verify on different firewalls and management installations running R80.10-R80.40 and every one of them has a KERN_INSTANCE_NUM and KERN6_INSTANCE_NUM that equals the current CoreXL configuration.&lt;BR /&gt;&lt;BR /&gt;On a management server installation there is no KERN_INSTANCE_NUM or KERN6_INSTANCE_NUM values to be found no matter if it's already running in UMFW or KMFW.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I can't see any logical reason why we should edit this value to be 40 regardless of the hardware at hand? What is the reasoning behind this? To me it seems like we are just blindingly following sk149973 and apply the same values regardless eventhough this specific article is for 23900 appliances only? As this model features: 2x CPUs, 36x physical cores, 72x virtual cores (total) it makes sense to ensure such a high NUMA value but this guide makes it seem like you are supposed to set the value of 40 even on a smaller 4-core firewall?&lt;BR /&gt;&lt;BR /&gt;I can't see any reason why we should be doing this? I have also tested the OVF and qcow2 images that are located within sk158292 on VMware ESXi and Nutanix AHV and one thing they all have in common is that they are all running KMFW and not UMFW even on R80.40. And none of them have a KERN_INSTANCE_NUM 40 within the $FWDIR/boot/boot.conf. They all follow the same pattern and logic where the KERN_INSTANCE_NUM equals the number of CoreXL IPv4 firewall instances and the KERN6_INSTANCE_NUM equals the number of CoreXL IPv6 firewall instances.</description>
      <pubDate>Wed, 15 Apr 2020 06:56:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-User-Mode-Firewall-vs-Kernel-Mode/m-p/81912#M16565</guid>
      <dc:creator>RamGuy239</dc:creator>
      <dc:date>2020-04-15T06:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: R80.x - Performance Tuning Tip – User Mode Firewall vs. Kernel Mode Firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-User-Mode-Firewall-vs-Kernel-Mode/m-p/83686#M16937</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Now with R80.40 update.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 05:14:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-User-Mode-Firewall-vs-Kernel-Mode/m-p/83686#M16937</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2020-04-30T05:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: R80.x - Performance Tuning Tip – User Mode Firewall vs. Kernel Mode Firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-User-Mode-Firewall-vs-Kernel-Mode/m-p/86107#M17281</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍🏻&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 06:49:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-User-Mode-Firewall-vs-Kernel-Mode/m-p/86107#M17281</guid>
      <dc:creator>H_W</dc:creator>
      <dc:date>2020-05-23T06:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: R80.x - Performance Tuning Tip – User Mode Firewall vs. Kernel Mode Firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-User-Mode-Firewall-vs-Kernel-Mode/m-p/86969#M17450</link>
      <description>&lt;P&gt;Hi, what is FwSetUsFwmachine and why is it also being changed? &lt;A href="https://community.checkpoint.com/t5/General-Topics/High-CPU-utilization-during-process-fwk0-dev-0-UMFW-vs-KMFW/m-p/71137/highlight/true#M14410" target="_self"&gt;This response&lt;/A&gt; from Check Point says only changing FwSetUsermode is necessary.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 17:34:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-User-Mode-Firewall-vs-Kernel-Mode/m-p/86969#M17450</guid>
      <dc:creator>B_P</dc:creator>
      <dc:date>2020-06-01T17:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: R80.x - Performance Tuning Tip – User Mode Firewall vs. Kernel Mode Firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-User-Mode-Firewall-vs-Kernel-Mode/m-p/111922#M21071</link>
      <description>&lt;P&gt;Hi, sk149973 doesn't exist anymore as an SK.&lt;BR /&gt;Instead, please link to this SK:&amp;nbsp;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk167052" target="_blank"&gt;https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk167052&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Note that it is only supported on specific appliances, enabled by default on some, can be enabled on others.&lt;BR /&gt;It should only be &lt;EM&gt;manually&lt;/EM&gt; enabled on consultation with TAC.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 18:19:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/R80-x-Performance-Tuning-Tip-User-Mode-Firewall-vs-Kernel-Mode/m-p/111922#M21071</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-02-26T18:19:03Z</dc:date>
    </item>
  </channel>
</rss>

