<?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 Uneven use of MultiQueue CPU cores in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Uneven-use-of-MultiQueue-CPU-cores/m-p/102775#M8075</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Our customer is using &amp;nbsp;6500 appliance and we're observing an uneven load of MultiQueue cores. They're using R80.40, JHF T78&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Affinity:&lt;/STRONG&gt;&lt;BR /&gt;[Expert@FW01:0]# fw ctl affinity -l -r&lt;BR /&gt;CPU 0:&lt;BR /&gt;CPU 1: fw_5&lt;BR /&gt;in.asessiond lpd topod fwucd pepd in.acapd mpdaemon usrchkd pdpd vpnd wsdnsd rtmd in.geod rad fwd cprid cpd&lt;BR /&gt;CPU 2: fw_3&lt;BR /&gt;in.asessiond lpd topod fwucd pepd in.acapd mpdaemon usrchkd pdpd vpnd wsdnsd rtmd in.geod rad fwd cprid cpd&lt;BR /&gt;CPU 3: fw_1&lt;BR /&gt;in.asessiond lpd topod fwucd pepd in.acapd mpdaemon usrchkd pdpd vpnd wsdnsd rtmd in.geod rad fwd cprid cpd&lt;BR /&gt;CPU 4:&lt;BR /&gt;CPU 5: fw_4&lt;BR /&gt;in.asessiond lpd topod fwucd pepd in.acapd mpdaemon usrchkd pdpd vpnd wsdnsd rtmd in.geod rad fwd cprid cpd&lt;BR /&gt;CPU 6: fw_2&lt;BR /&gt;in.asessiond lpd topod fwucd pepd in.acapd mpdaemon usrchkd pdpd vpnd wsdnsd rtmd in.geod rad fwd cprid cpd&lt;BR /&gt;CPU 7: fw_0&lt;BR /&gt;in.asessiond lpd topod fwucd pepd in.acapd mpdaemon usrchkd pdpd vpnd wsdnsd rtmd in.geod rad fwd cprid cpd&lt;BR /&gt;All:&lt;BR /&gt;Interface eth1: 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;Interface eth4: has multi queue enabled&lt;BR /&gt;Interface Sync: has multi queue enabled&lt;BR /&gt;Interface Mgmt: has multi queue enabled&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Multiqueue:&lt;/STRONG&gt;&lt;BR /&gt;[Expert@FW01:0]# mq_mng -o -vv&lt;BR /&gt;Total 8 cores. Multiqueue 2 cores: 4,0&lt;BR /&gt;i/f type state mode cores&lt;BR /&gt;------------------------------------------------------------------------------------------------&lt;BR /&gt;Mgmt igb Up Dynamic (2/2) 0(63),4(64)&lt;BR /&gt;eth1 igb Up Dynamic (2/2) 0(45),4(65)&lt;BR /&gt;eth2 igb Up Dynamic (2/2) 0(49),4(66)&lt;BR /&gt;eth3 igb Up Dynamic (2/2) 0(53),4(67)&lt;BR /&gt;eth4 igb Up Dynamic (2/2) 0(57),4(68)&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------&lt;BR /&gt;Mgmt &amp;lt;igb&amp;gt; max 2 cur 2&lt;BR /&gt;0e:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)&lt;BR /&gt;------------------------------------------------------------------------------------------------&lt;BR /&gt;eth1 &amp;lt;igb&amp;gt; max 2 cur 2&lt;BR /&gt;03:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)&lt;BR /&gt;------------------------------------------------------------------------------------------------&lt;BR /&gt;eth2 &amp;lt;igb&amp;gt; max 2 cur 2&lt;BR /&gt;05:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)&lt;BR /&gt;------------------------------------------------------------------------------------------------&lt;BR /&gt;eth3 &amp;lt;igb&amp;gt; max 2 cur 2&lt;BR /&gt;07:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)&lt;BR /&gt;------------------------------------------------------------------------------------------------&lt;BR /&gt;eth4 &amp;lt;igb&amp;gt; max 2 cur 2&lt;BR /&gt;09:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)&lt;/P&gt;&lt;P&gt;core interfaces queue irq rx packets tx packets&lt;BR /&gt;------------------------------------------------------------------------------------------------&lt;BR /&gt;0 eth4 eth4-TxRx-0 57 25769 23193&lt;BR /&gt;eth3 eth3-TxRx-0 53 1545150 904071&lt;BR /&gt;eth2 eth2-TxRx-0 49 433865741 466353128&lt;BR /&gt;eth1 eth1-TxRx-0 45 911210633 1500606188&lt;BR /&gt;Mgmt Mgmt-TxRx-0 63 9716772 2463400&lt;BR /&gt;4 eth4 eth4-TxRx-1 68 622046 662303&lt;BR /&gt;eth3 eth3-TxRx-1 67 952119 1662619&lt;BR /&gt;eth2 eth2-TxRx-1 66 390618898 446742240&lt;BR /&gt;eth1 eth1-TxRx-1 65 942002645 425528973&lt;BR /&gt;Mgmt Mgmt-TxRx-1 64 1238135 17131300&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the data for CPU usage for a day. It shows that CPU4 is utilised a lot less than CPU0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mq_cpu.JPG" style="width: 325px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/9188i4C5B1702DC99B8CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="mq_cpu.JPG" alt="mq_cpu.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/597"&gt;@Timothy_Hall&lt;/a&gt;&amp;nbsp;probably has the best idea why this could be happening &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Nov 2020 08:25:44 GMT</pubDate>
    <dc:creator>Borut</dc:creator>
    <dc:date>2020-11-20T08:25:44Z</dc:date>
    <item>
      <title>Uneven use of MultiQueue CPU cores</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Uneven-use-of-MultiQueue-CPU-cores/m-p/102775#M8075</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Our customer is using &amp;nbsp;6500 appliance and we're observing an uneven load of MultiQueue cores. They're using R80.40, JHF T78&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Affinity:&lt;/STRONG&gt;&lt;BR /&gt;[Expert@FW01:0]# fw ctl affinity -l -r&lt;BR /&gt;CPU 0:&lt;BR /&gt;CPU 1: fw_5&lt;BR /&gt;in.asessiond lpd topod fwucd pepd in.acapd mpdaemon usrchkd pdpd vpnd wsdnsd rtmd in.geod rad fwd cprid cpd&lt;BR /&gt;CPU 2: fw_3&lt;BR /&gt;in.asessiond lpd topod fwucd pepd in.acapd mpdaemon usrchkd pdpd vpnd wsdnsd rtmd in.geod rad fwd cprid cpd&lt;BR /&gt;CPU 3: fw_1&lt;BR /&gt;in.asessiond lpd topod fwucd pepd in.acapd mpdaemon usrchkd pdpd vpnd wsdnsd rtmd in.geod rad fwd cprid cpd&lt;BR /&gt;CPU 4:&lt;BR /&gt;CPU 5: fw_4&lt;BR /&gt;in.asessiond lpd topod fwucd pepd in.acapd mpdaemon usrchkd pdpd vpnd wsdnsd rtmd in.geod rad fwd cprid cpd&lt;BR /&gt;CPU 6: fw_2&lt;BR /&gt;in.asessiond lpd topod fwucd pepd in.acapd mpdaemon usrchkd pdpd vpnd wsdnsd rtmd in.geod rad fwd cprid cpd&lt;BR /&gt;CPU 7: fw_0&lt;BR /&gt;in.asessiond lpd topod fwucd pepd in.acapd mpdaemon usrchkd pdpd vpnd wsdnsd rtmd in.geod rad fwd cprid cpd&lt;BR /&gt;All:&lt;BR /&gt;Interface eth1: 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;Interface eth4: has multi queue enabled&lt;BR /&gt;Interface Sync: has multi queue enabled&lt;BR /&gt;Interface Mgmt: has multi queue enabled&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Multiqueue:&lt;/STRONG&gt;&lt;BR /&gt;[Expert@FW01:0]# mq_mng -o -vv&lt;BR /&gt;Total 8 cores. Multiqueue 2 cores: 4,0&lt;BR /&gt;i/f type state mode cores&lt;BR /&gt;------------------------------------------------------------------------------------------------&lt;BR /&gt;Mgmt igb Up Dynamic (2/2) 0(63),4(64)&lt;BR /&gt;eth1 igb Up Dynamic (2/2) 0(45),4(65)&lt;BR /&gt;eth2 igb Up Dynamic (2/2) 0(49),4(66)&lt;BR /&gt;eth3 igb Up Dynamic (2/2) 0(53),4(67)&lt;BR /&gt;eth4 igb Up Dynamic (2/2) 0(57),4(68)&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------&lt;BR /&gt;Mgmt &amp;lt;igb&amp;gt; max 2 cur 2&lt;BR /&gt;0e:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)&lt;BR /&gt;------------------------------------------------------------------------------------------------&lt;BR /&gt;eth1 &amp;lt;igb&amp;gt; max 2 cur 2&lt;BR /&gt;03:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)&lt;BR /&gt;------------------------------------------------------------------------------------------------&lt;BR /&gt;eth2 &amp;lt;igb&amp;gt; max 2 cur 2&lt;BR /&gt;05:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)&lt;BR /&gt;------------------------------------------------------------------------------------------------&lt;BR /&gt;eth3 &amp;lt;igb&amp;gt; max 2 cur 2&lt;BR /&gt;07:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)&lt;BR /&gt;------------------------------------------------------------------------------------------------&lt;BR /&gt;eth4 &amp;lt;igb&amp;gt; max 2 cur 2&lt;BR /&gt;09:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)&lt;/P&gt;&lt;P&gt;core interfaces queue irq rx packets tx packets&lt;BR /&gt;------------------------------------------------------------------------------------------------&lt;BR /&gt;0 eth4 eth4-TxRx-0 57 25769 23193&lt;BR /&gt;eth3 eth3-TxRx-0 53 1545150 904071&lt;BR /&gt;eth2 eth2-TxRx-0 49 433865741 466353128&lt;BR /&gt;eth1 eth1-TxRx-0 45 911210633 1500606188&lt;BR /&gt;Mgmt Mgmt-TxRx-0 63 9716772 2463400&lt;BR /&gt;4 eth4 eth4-TxRx-1 68 622046 662303&lt;BR /&gt;eth3 eth3-TxRx-1 67 952119 1662619&lt;BR /&gt;eth2 eth2-TxRx-1 66 390618898 446742240&lt;BR /&gt;eth1 eth1-TxRx-1 65 942002645 425528973&lt;BR /&gt;Mgmt Mgmt-TxRx-1 64 1238135 17131300&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the data for CPU usage for a day. It shows that CPU4 is utilised a lot less than CPU0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mq_cpu.JPG" style="width: 325px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/9188i4C5B1702DC99B8CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="mq_cpu.JPG" alt="mq_cpu.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/597"&gt;@Timothy_Hall&lt;/a&gt;&amp;nbsp;probably has the best idea why this could be happening &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 08:25:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Uneven-use-of-MultiQueue-CPU-cores/m-p/102775#M8075</guid>
      <dc:creator>Borut</dc:creator>
      <dc:date>2020-11-20T08:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Uneven use of MultiQueue CPU cores</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Uneven-use-of-MultiQueue-CPU-cores/m-p/102807#M8079</link>
      <description>&lt;P&gt;Elephant flow hitting CPU 0 maybe?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 16:29:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Uneven-use-of-MultiQueue-CPU-cores/m-p/102807#M8079</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-11-20T16:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Uneven use of MultiQueue CPU cores</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Uneven-use-of-MultiQueue-CPU-cores/m-p/102906#M8098</link>
      <description>&lt;P&gt;To my knowledge Multi-Queue uses a hash of various packet header fields to select which eligible SND core should handle all packets for the life of that connection.&amp;nbsp; Once that selection is made, all packets of that connection will always be handled by that specific SND core.&amp;nbsp; If your connections are not sufficiently diverse as far as IP addresses and port numbers, similar connections may tend to congregate on a single SND core driving up its load; this will be much more noticeable with only 2 SND cores.&amp;nbsp; Because there is no way to know whether the new connection will be an elephant flow it is possible for lots of non-diverse ones to end up on the same core.&amp;nbsp; I don't think there is much you can do about this unless you want to move from the default 2/6 split to 4/4, and I'm not sure the remaining 4 Firewall Worker cores will be able to handle the load.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are some other known situations that can cause a significant imbalance between the SND cores like this one that was already fixed in the release you are running:&lt;/P&gt;
&lt;P&gt;&lt;A class="cp_link sc_ellipsis" href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk165853&amp;amp;partition=Advanced&amp;amp;product=IPSec" target="_blank"&gt;sk165853: High CPU usage on one CPU core when the number of Remote Access users is high&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Nov 2020 15:30:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Uneven-use-of-MultiQueue-CPU-cores/m-p/102906#M8098</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2020-11-22T15:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Uneven use of MultiQueue CPU cores</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Uneven-use-of-MultiQueue-CPU-cores/m-p/102942#M8105</link>
      <description>&lt;P&gt;We are experiencing some elephant flows through the VPN's but they're not consistent. The CPU consumption difference however, is.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 08:04:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Uneven-use-of-MultiQueue-CPU-cores/m-p/102942#M8105</guid>
      <dc:creator>Borut</dc:creator>
      <dc:date>2020-11-23T08:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Uneven use of MultiQueue CPU cores</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Uneven-use-of-MultiQueue-CPU-cores/m-p/102943#M8106</link>
      <description>&lt;P&gt;Thanks Timothy&lt;/P&gt;&lt;P&gt;That's a promising SK. There is indeed a lot of VPN traffic right now due to Covid situation. Absolutely worth trying changing the kernel parameter according to the SK. Will schedule a maintenance window with the customer to try. Will update with the findings.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 08:07:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Uneven-use-of-MultiQueue-CPU-cores/m-p/102943#M8106</guid>
      <dc:creator>Borut</dc:creator>
      <dc:date>2020-11-23T08:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Uneven use of MultiQueue CPU cores</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Uneven-use-of-MultiQueue-CPU-cores/m-p/104116#M8220</link>
      <description>&lt;P&gt;The procedure form the SK worked. The multiqueue cores are now almost identically utilized.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Borut&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 08:47:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Uneven-use-of-MultiQueue-CPU-cores/m-p/104116#M8220</guid>
      <dc:creator>Borut</dc:creator>
      <dc:date>2020-12-03T08:47:50Z</dc:date>
    </item>
  </channel>
</rss>

