<?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 affinity mismach  on R81.20  VSX Cluster in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/COREXL-affinity-mismach-on-R81-20-VSX-Cluster/m-p/230683#M44398</link>
    <description>&lt;P&gt;Salut Checkmates,&lt;/P&gt;&lt;P&gt;We have the following setup in our infrastructure:&lt;BR /&gt;Open Server VSX cluster, R81.20 Take 76, with 4 nodes with 16 cores each where we have configured 106 VS, we have around 26 VS active on each node. The affinity is configured as default on all 4 of them, still on one node the default affinity it doesn't look good and all the FWK are assigned to only one CPU 7.&lt;BR /&gt;The second issue we have is that some cores are assigned only to V0 (on the other 3 nodes) and cores 2 4 6 are always between 80% and 100%&lt;BR /&gt;I have a TAC ticket open for the issue, but I would like to know if anyone had similar problems, or for some reason, i hit a bug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Expert@AAA:0]# fw ctl affinity -l&lt;BR /&gt;VS_0 fwk: CPU 2 3 4 5 6 7 8 9 10 11 12 13 14 15&lt;BR /&gt;VS_1 fwk: CPU 2 3 4 5 6 7 8 9 10 11 12 13 14 15&lt;BR /&gt;Interface eth0: has multi queue enabled&lt;BR /&gt;Interface eth5: has multi queue enabled&lt;BR /&gt;Interface eth4: has multi queue enabled&lt;BR /&gt;Interface eth1: has multi queue enabled&lt;BR /&gt;Interface eth7: has multi queue enabled&lt;BR /&gt;Interface eth6: has multi queue enabled&lt;BR /&gt;Interface eth2: has multi queue enabled&lt;BR /&gt;Interface eth3: has multi queue enabled&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Expert@BBB:0]# fw ctl affinity -l&lt;BR /&gt;VS_0 fwk: CPU 2 3 4 5 6 7&lt;BR /&gt;VS_1 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_2 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_3 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_4 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_5 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_6 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_7 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_8 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_9 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_10 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;...........................&lt;/P&gt;&lt;P&gt;VS_104 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_105 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_106 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;Interface eth0: has multi queue enabled&lt;BR /&gt;Interface eth5: has multi queue enabled&lt;BR /&gt;Interface eth4: has multi queue enabled&lt;BR /&gt;Interface eth1: has multi queue enabled&lt;BR /&gt;Interface eth7: has multi queue enabled&lt;BR /&gt;Interface eth6: has multi queue enabled&lt;BR /&gt;Interface eth2: has multi queue enabled&lt;BR /&gt;Interface eth3: has multi queue enabled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Expert@AAA:0]# fw ctl affinity -l -x | grep fwk&lt;BR /&gt;&amp;nbsp;427 | 82 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;643 | 82 | 7 | | | | | fwk&lt;BR /&gt;923 | 6 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;960 | 6 | 7 | | | | | fwk&lt;BR /&gt;1021 | 32 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;1037 | 32 | 7 | | | | | fwk&lt;BR /&gt;1184 | 24 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;1204 | 76 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;1230 | 76 | 7 | | | | | fwk&lt;BR /&gt;1569 | 86 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;1634 | 86 | 7 | | | | | fwk&lt;BR /&gt;1788 | 3 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;1833 | 3 | 7 | | | | | fwk&lt;BR /&gt;1853 | 63 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;1971 | 63 | 7 | | | | | fwk&lt;BR /&gt;2142 | 36 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;2152 | 26 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;2166 | 7 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;2168 | 36 | 7 | | | | | fwk&lt;BR /&gt;2252 | 7 | 7 | | | | | fwk&lt;BR /&gt;2290 | 26 | 7 | | | | | fwk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Expert@DEFRA6-BBB:0]# fw ctl affinity -l -x | grep fwk&lt;BR /&gt;| 310 | 90 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 342 | 90 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 719 | 14 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 732 | 14 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 1215 | 43 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 1465 | 5 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 1613 | 43 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 1908 | 5 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 1974 | 77 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 2058 | 94 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 2100 | 77 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 2158 | 87 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 2335 | 94 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 2374 | 87 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 2716 | 0 | 7 | | | | | fwk_forke&lt;BR /&gt;| 2725 | 0 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 2737 | 0 | 1 2 3 4 5 6 7 9 11 13 15 | P |*| | | fwk&lt;BR /&gt;| 2809 | 91 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 2816 | 30 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 2882 | 48 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 2972 | 91 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 2997 | 30 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 3121 | 57 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 3141 | 57 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 3540 | 31 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 3543 | 48 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2024 09:39:18 GMT</pubDate>
    <dc:creator>Daniel_Ionut_Ba</dc:creator>
    <dc:date>2024-10-24T09:39:18Z</dc:date>
    <item>
      <title>COREXL affinity mismach  on R81.20  VSX Cluster</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/COREXL-affinity-mismach-on-R81-20-VSX-Cluster/m-p/230683#M44398</link>
      <description>&lt;P&gt;Salut Checkmates,&lt;/P&gt;&lt;P&gt;We have the following setup in our infrastructure:&lt;BR /&gt;Open Server VSX cluster, R81.20 Take 76, with 4 nodes with 16 cores each where we have configured 106 VS, we have around 26 VS active on each node. The affinity is configured as default on all 4 of them, still on one node the default affinity it doesn't look good and all the FWK are assigned to only one CPU 7.&lt;BR /&gt;The second issue we have is that some cores are assigned only to V0 (on the other 3 nodes) and cores 2 4 6 are always between 80% and 100%&lt;BR /&gt;I have a TAC ticket open for the issue, but I would like to know if anyone had similar problems, or for some reason, i hit a bug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Expert@AAA:0]# fw ctl affinity -l&lt;BR /&gt;VS_0 fwk: CPU 2 3 4 5 6 7 8 9 10 11 12 13 14 15&lt;BR /&gt;VS_1 fwk: CPU 2 3 4 5 6 7 8 9 10 11 12 13 14 15&lt;BR /&gt;Interface eth0: has multi queue enabled&lt;BR /&gt;Interface eth5: has multi queue enabled&lt;BR /&gt;Interface eth4: has multi queue enabled&lt;BR /&gt;Interface eth1: has multi queue enabled&lt;BR /&gt;Interface eth7: has multi queue enabled&lt;BR /&gt;Interface eth6: has multi queue enabled&lt;BR /&gt;Interface eth2: has multi queue enabled&lt;BR /&gt;Interface eth3: has multi queue enabled&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Expert@BBB:0]# fw ctl affinity -l&lt;BR /&gt;VS_0 fwk: CPU 2 3 4 5 6 7&lt;BR /&gt;VS_1 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_2 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_3 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_4 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_5 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_6 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_7 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_8 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_9 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_10 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;...........................&lt;/P&gt;&lt;P&gt;VS_104 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_105 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;VS_106 fwk: CPU 1 3 5 7 9 11 13 15&lt;BR /&gt;Interface eth0: has multi queue enabled&lt;BR /&gt;Interface eth5: has multi queue enabled&lt;BR /&gt;Interface eth4: has multi queue enabled&lt;BR /&gt;Interface eth1: has multi queue enabled&lt;BR /&gt;Interface eth7: has multi queue enabled&lt;BR /&gt;Interface eth6: has multi queue enabled&lt;BR /&gt;Interface eth2: has multi queue enabled&lt;BR /&gt;Interface eth3: has multi queue enabled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Expert@AAA:0]# fw ctl affinity -l -x | grep fwk&lt;BR /&gt;&amp;nbsp;427 | 82 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;643 | 82 | 7 | | | | | fwk&lt;BR /&gt;923 | 6 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;960 | 6 | 7 | | | | | fwk&lt;BR /&gt;1021 | 32 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;1037 | 32 | 7 | | | | | fwk&lt;BR /&gt;1184 | 24 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;1204 | 76 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;1230 | 76 | 7 | | | | | fwk&lt;BR /&gt;1569 | 86 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;1634 | 86 | 7 | | | | | fwk&lt;BR /&gt;1788 | 3 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;1833 | 3 | 7 | | | | | fwk&lt;BR /&gt;1853 | 63 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;1971 | 63 | 7 | | | | | fwk&lt;BR /&gt;2142 | 36 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;2152 | 26 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;2166 | 7 | 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | | | | | fwk_wd&lt;BR /&gt;2168 | 36 | 7 | | | | | fwk&lt;BR /&gt;2252 | 7 | 7 | | | | | fwk&lt;BR /&gt;2290 | 26 | 7 | | | | | fwk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Expert@DEFRA6-BBB:0]# fw ctl affinity -l -x | grep fwk&lt;BR /&gt;| 310 | 90 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 342 | 90 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 719 | 14 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 732 | 14 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 1215 | 43 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 1465 | 5 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 1613 | 43 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 1908 | 5 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 1974 | 77 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 2058 | 94 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 2100 | 77 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 2158 | 87 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 2335 | 94 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 2374 | 87 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 2716 | 0 | 7 | | | | | fwk_forke&lt;BR /&gt;| 2725 | 0 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 2737 | 0 | 1 2 3 4 5 6 7 9 11 13 15 | P |*| | | fwk&lt;BR /&gt;| 2809 | 91 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 2816 | 30 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 2882 | 48 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 2972 | 91 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 2997 | 30 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 3121 | 57 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 3141 | 57 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;BR /&gt;| 3540 | 31 | 1 2 3 4 5 6 7 9 11 13 15 | | | | | fwk_wd&lt;BR /&gt;| 3543 | 48 | 1 3 5 7 9 11 13 15 | P | | | | fwk&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 09:39:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/COREXL-affinity-mismach-on-R81-20-VSX-Cluster/m-p/230683#M44398</guid>
      <dc:creator>Daniel_Ionut_Ba</dc:creator>
      <dc:date>2024-10-24T09:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: COREXL affinity mismach  on R81.20  VSX Cluster</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/COREXL-affinity-mismach-on-R81-20-VSX-Cluster/m-p/230774#M44426</link>
      <description>&lt;P&gt;It looks like someone has been playing with affinities in the past. I recommend starting by resetting them to defaults.&lt;/P&gt;
&lt;P&gt;To reset the affinities to defaults: fw ctl affinity -vsx_factory_defaults&lt;/P&gt;
&lt;P&gt;This will prompt to reboot the box you run it on, so do it in a change window. The VS failovers/failbacks will be stateful. You should then have everything back to normal on that box.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you ever want to adjust the SND/CXL pool core split on a VSX gateway, is this command:&lt;/P&gt;
&lt;P&gt;fw ctl affinity -s -d -fwkall &amp;lt;Number of CPUs&amp;gt;&lt;/P&gt;
&lt;P&gt;That sets the CXL core pool amount, the rest of the cores will be set to SND/Multi-queue. The other, per-VS affinity commands override that core split assignment for specific VSs, and are generally unnecessary. I've never seen a VSX environment that required anything other than tweaking the core split with the command above, and with R81.20 on supported CP appliances even that is not required anymore thanks to dynamic balancing.&lt;/P&gt;
&lt;P&gt;See:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/R81.20/WebAdminGuides/EN/CP_R81.20_PerformanceTuning_AdminGuide/Content/Topics-PTG/CLI/fw-ctl-affinity-s-VSX-Mode.htm?tocpath=CoreXL%7CCoreXL%20Commands%7Cfw%20ctl%20affinity%7C_____4" target="_blank"&gt;https://sc1.checkpoint.com/documents/R81.20/WebAdminGuides/EN/CP_R81.20_PerformanceTuning_AdminGuide/Content/Topics-PTG/CLI/fw-ctl-affinity-s-VSX-Mode.htm?tocpath=CoreXL%7CCoreXL%20Commands%7Cfw%20ctl%20affinity%7C_____4&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 03:20:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/COREXL-affinity-mismach-on-R81-20-VSX-Cluster/m-p/230774#M44426</guid>
      <dc:creator>emmap</dc:creator>
      <dc:date>2024-10-25T03:20:03Z</dc:date>
    </item>
  </channel>
</rss>

