<?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 CoreXL SND/FW calculation - oneliner in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/CoreXL-SND-FW-calculation-oneliner/m-p/117903#M16683</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;based on &lt;STRONG&gt;sk163913&lt;/STRONG&gt; I've created this simple script that can help you to calculate the recommended number of firewall workers:&lt;/P&gt;&lt;P&gt;mpstat -P ALL 10 1 |grep 'Average:[ ]\+[[:digit:]]\{1,2\}[ ]\+' |awk '$2 ~ /^(0|1|2|4)$/ { csnd += $NF; print $2 " SND " $NF; next }{ cfw += $NF; print $2 " fw " $NF} END { nfw=NR/(csnd/cfw+1); print "nfw = " nfw }'&lt;/P&gt;&lt;P&gt;Instead of '(0|1|2|4)' string put the numbers of the CPUs running as SND that reflect your case (fw ctl affinity -l -r).&lt;/P&gt;&lt;P&gt;Tested on R80.40 (Open server).&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
    <pubDate>Fri, 07 May 2021 08:16:15 GMT</pubDate>
    <dc:creator>benko2</dc:creator>
    <dc:date>2021-05-07T08:16:15Z</dc:date>
    <item>
      <title>CoreXL SND/FW calculation - oneliner</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/CoreXL-SND-FW-calculation-oneliner/m-p/117903#M16683</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;based on &lt;STRONG&gt;sk163913&lt;/STRONG&gt; I've created this simple script that can help you to calculate the recommended number of firewall workers:&lt;/P&gt;&lt;P&gt;mpstat -P ALL 10 1 |grep 'Average:[ ]\+[[:digit:]]\{1,2\}[ ]\+' |awk '$2 ~ /^(0|1|2|4)$/ { csnd += $NF; print $2 " SND " $NF; next }{ cfw += $NF; print $2 " fw " $NF} END { nfw=NR/(csnd/cfw+1); print "nfw = " nfw }'&lt;/P&gt;&lt;P&gt;Instead of '(0|1|2|4)' string put the numbers of the CPUs running as SND that reflect your case (fw ctl affinity -l -r).&lt;/P&gt;&lt;P&gt;Tested on R80.40 (Open server).&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 08:16:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/CoreXL-SND-FW-calculation-oneliner/m-p/117903#M16683</guid>
      <dc:creator>benko2</dc:creator>
      <dc:date>2021-05-07T08:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: CoreXL SND/FW calculation - oneliner</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/CoreXL-SND-FW-calculation-oneliner/m-p/117910#M16685</link>
      <description>&lt;P&gt;&lt;EM&gt;fw ctl affinity -l -r&lt;/EM&gt;&amp;nbsp;&amp;nbsp;takes into account that not all CPUs present must be licensed. Your script always uses the physically possible number of CPUs for calculation regardless of licensing...&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 09:35:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/CoreXL-SND-FW-calculation-oneliner/m-p/117910#M16685</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2021-05-07T09:35:24Z</dc:date>
    </item>
  </channel>
</rss>

