<?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: Would a checkpoint gateway start dropping traffic when it is constantly at 100 percent cpu? in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/Would-a-checkpoint-gateway-start-dropping-traffic-when-it-is/m-p/97195#M19092</link>
    <description>&lt;P&gt;Like everyone else said it kind of depends, assuming that all CPUs are 100% (so both SND/IRQ and Firewall Worker cores are fully saturated) the buffers between the different components would start to fill up, and if they overflow packets would either start to be lost, or in some cases start causing a "backup" into the prior buffer component which could then overflow.&amp;nbsp; Note that while many of the buffers listed below can have their sizes increased from the default, generally doing so is NOT desirable as it is merely addressing a symptom of the problem (queue overflows), rather than dealing with the actual cause (queue not being emptied fast enough by the receiving component).&lt;/P&gt;
&lt;P&gt;As a thought experiment, here is where I'd say the buffer points are that could overflow for a packet traversing a very busy firewall.&amp;nbsp; I'm sure I'm missing a bunch but these are the ones I can think of off the top of my head:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;NIC hardware buffer for receiving frames&lt;/LI&gt;
&lt;LI&gt;Gaia RX ring buffer (rx-ringsize)&lt;/LI&gt;
&lt;LI&gt;CoreXL Firewall Worker input queue (enqueue) on firewall worker from SND (fwmultik_input_queue_len) - This queue can be actively managed by Priority Queues when utilization hits 100% as noted earlier&lt;/LI&gt;
&lt;LI&gt;CoreXL Firewall Worker internal buffers between chain modules and such (I'm assuming...)&lt;/LI&gt;
&lt;LI&gt;CoreXL Firewall Worker dequeue back to SND which probably has an input buffer (I'm assuming, can't find reference to this)&lt;/LI&gt;
&lt;LI&gt;Gaia TX ring buffer (tx-ringsize, sim_requeue_enabled)&lt;/LI&gt;
&lt;LI&gt;NIC hardware buffer for transmission&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Only the&amp;nbsp;CoreXL Firewall Worker input queue has active management available via Priority Queues, all other queues are just FIFO to my knowledge.&amp;nbsp; If the RX ring buffer is full and the NIC tries to put a new frame into it, certain NIC/driver combos will simply hold the frame and try again waiting for a ring buffer slot to open instead of just dropping it with a ++RX-DRP.&amp;nbsp; However this "hold" behavior can cause a backup into the NIC receive buffer, thus causing it to overflow (++RX-OVR) but the actual cause is a full RX ring buffer.&amp;nbsp; This specific "backup" condition is indicated by both RX-DRP and RX-OVR being incremented together in "lock-step" as mentioned in my book.&amp;nbsp; Most problems with loss tend to occur on the RX side with the first three components of the above list when bottlenecks occur, which then severely limits the speed at which packets can be pumped into the TX side components (last three items on the above list), so they don't tend to have problems in this area.&lt;/P&gt;
&lt;P&gt;However buffering problems on the TX side are not completely unheard of, see&amp;nbsp;&lt;A class="cp_link sc_ellipsis" href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk75100&amp;amp;partition=Advanced&amp;amp;product=SecureXL" target="_blank" rel="noopener" data-hasqtip="5" aria-describedby="qtip-5"&gt;sk75100: The 'ifconfig' / 'netstat' commands show that "TX drops" counter on the interface grows rapidly under load when SecureXL is enab&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Sep 2020 14:58:16 GMT</pubDate>
    <dc:creator>Timothy_Hall</dc:creator>
    <dc:date>2020-09-21T14:58:16Z</dc:date>
    <item>
      <title>Would a checkpoint gateway start dropping traffic when it is constantly at 100 percent cpu?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Would-a-checkpoint-gateway-start-dropping-traffic-when-it-is/m-p/97096#M19081</link>
      <description>&lt;P&gt;So ive never seen a constant 100 percent cpu utilisation on our gateways (if it happens it happens for 1 minut max and that too on our 1100 appliances only) , what if there is constant 100 % utilisation? Will it start dropping traffic as it can no longer utilise cpu properly or does something else happen? just curious to know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Sep 2020 17:20:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Would-a-checkpoint-gateway-start-dropping-traffic-when-it-is/m-p/97096#M19081</guid>
      <dc:creator>kb1</dc:creator>
      <dc:date>2020-09-20T17:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Would a checkpoint gateway start dropping traffic when it is constantly at 100 percent cpu?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Would-a-checkpoint-gateway-start-dropping-traffic-when-it-is/m-p/97124#M19083</link>
      <description>&lt;P&gt;Depends precisely on why it’s happening, but it’s a possibility.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 00:35:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Would-a-checkpoint-gateway-start-dropping-traffic-when-it-is/m-p/97124#M19083</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-09-21T00:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Would a checkpoint gateway start dropping traffic when it is constantly at 100 percent cpu?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Would-a-checkpoint-gateway-start-dropping-traffic-when-it-is/m-p/97149#M19087</link>
      <description>&lt;P&gt;It really depends - e.g. in case of a DDoS, the WAN IF will drop packets. On the other hand, you can select what IPS should do if the GW is under heavy load: Either drop or do no inspection...&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 07:46:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Would-a-checkpoint-gateway-start-dropping-traffic-when-it-is/m-p/97149#M19087</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2020-09-21T07:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Would a checkpoint gateway start dropping traffic when it is constantly at 100 percent cpu?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Would-a-checkpoint-gateway-start-dropping-traffic-when-it-is/m-p/97166#M19089</link>
      <description>&lt;P&gt;Yes, it would start dropping traffic. The trick is to start dropping the right traffic, have a look at sk105762.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 09:33:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Would-a-checkpoint-gateway-start-dropping-traffic-when-it-is/m-p/97166#M19089</guid>
      <dc:creator>Benedikt_Weissl</dc:creator>
      <dc:date>2020-09-21T09:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Would a checkpoint gateway start dropping traffic when it is constantly at 100 percent cpu?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Would-a-checkpoint-gateway-start-dropping-traffic-when-it-is/m-p/97170#M19090</link>
      <description>&lt;P&gt;To prevent DoS flooding in general, follow&amp;nbsp;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk112454" target="_blank" rel="noopener"&gt;sk112454 - How to configure Rate Limiting rules for DoS Mitigation&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 10:03:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Would-a-checkpoint-gateway-start-dropping-traffic-when-it-is/m-p/97170#M19090</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2020-09-21T10:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Would a checkpoint gateway start dropping traffic when it is constantly at 100 percent cpu?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Would-a-checkpoint-gateway-start-dropping-traffic-when-it-is/m-p/97195#M19092</link>
      <description>&lt;P&gt;Like everyone else said it kind of depends, assuming that all CPUs are 100% (so both SND/IRQ and Firewall Worker cores are fully saturated) the buffers between the different components would start to fill up, and if they overflow packets would either start to be lost, or in some cases start causing a "backup" into the prior buffer component which could then overflow.&amp;nbsp; Note that while many of the buffers listed below can have their sizes increased from the default, generally doing so is NOT desirable as it is merely addressing a symptom of the problem (queue overflows), rather than dealing with the actual cause (queue not being emptied fast enough by the receiving component).&lt;/P&gt;
&lt;P&gt;As a thought experiment, here is where I'd say the buffer points are that could overflow for a packet traversing a very busy firewall.&amp;nbsp; I'm sure I'm missing a bunch but these are the ones I can think of off the top of my head:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;NIC hardware buffer for receiving frames&lt;/LI&gt;
&lt;LI&gt;Gaia RX ring buffer (rx-ringsize)&lt;/LI&gt;
&lt;LI&gt;CoreXL Firewall Worker input queue (enqueue) on firewall worker from SND (fwmultik_input_queue_len) - This queue can be actively managed by Priority Queues when utilization hits 100% as noted earlier&lt;/LI&gt;
&lt;LI&gt;CoreXL Firewall Worker internal buffers between chain modules and such (I'm assuming...)&lt;/LI&gt;
&lt;LI&gt;CoreXL Firewall Worker dequeue back to SND which probably has an input buffer (I'm assuming, can't find reference to this)&lt;/LI&gt;
&lt;LI&gt;Gaia TX ring buffer (tx-ringsize, sim_requeue_enabled)&lt;/LI&gt;
&lt;LI&gt;NIC hardware buffer for transmission&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Only the&amp;nbsp;CoreXL Firewall Worker input queue has active management available via Priority Queues, all other queues are just FIFO to my knowledge.&amp;nbsp; If the RX ring buffer is full and the NIC tries to put a new frame into it, certain NIC/driver combos will simply hold the frame and try again waiting for a ring buffer slot to open instead of just dropping it with a ++RX-DRP.&amp;nbsp; However this "hold" behavior can cause a backup into the NIC receive buffer, thus causing it to overflow (++RX-OVR) but the actual cause is a full RX ring buffer.&amp;nbsp; This specific "backup" condition is indicated by both RX-DRP and RX-OVR being incremented together in "lock-step" as mentioned in my book.&amp;nbsp; Most problems with loss tend to occur on the RX side with the first three components of the above list when bottlenecks occur, which then severely limits the speed at which packets can be pumped into the TX side components (last three items on the above list), so they don't tend to have problems in this area.&lt;/P&gt;
&lt;P&gt;However buffering problems on the TX side are not completely unheard of, see&amp;nbsp;&lt;A class="cp_link sc_ellipsis" href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk75100&amp;amp;partition=Advanced&amp;amp;product=SecureXL" target="_blank" rel="noopener" data-hasqtip="5" aria-describedby="qtip-5"&gt;sk75100: The 'ifconfig' / 'netstat' commands show that "TX drops" counter on the interface grows rapidly under load when SecureXL is enab&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 14:58:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Would-a-checkpoint-gateway-start-dropping-traffic-when-it-is/m-p/97195#M19092</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2020-09-21T14:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Would a checkpoint gateway start dropping traffic when it is constantly at 100 percent cpu?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Would-a-checkpoint-gateway-start-dropping-traffic-when-it-is/m-p/97203#M19093</link>
      <description>Thank you everyone</description>
      <pubDate>Mon, 21 Sep 2020 16:43:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Would-a-checkpoint-gateway-start-dropping-traffic-when-it-is/m-p/97203#M19093</guid>
      <dc:creator>kb1</dc:creator>
      <dc:date>2020-09-21T16:43:03Z</dc:date>
    </item>
  </channel>
</rss>

