<?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: Memory understanding in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Memory-understanding/m-p/204639#M38591</link>
    <description>&lt;P&gt;Total memory is not just free plus used, but also includes shared and buff/cache.&lt;BR /&gt;Note that buff/cache is memory that is allocated for something else currently, but can be allocated to another purpose if required.&lt;BR /&gt;To determine percentage of free memory available, therefore, use available divided by free.&lt;/P&gt;
&lt;P&gt;In the context of fw ctl pstat, I'm not sure what Virtual Memory refers to.&lt;BR /&gt;There's no mention of it in the documentation in current versions, which suggests you might be doing this on an older version of code.&lt;/P&gt;
&lt;P&gt;Kernel memory refers to the amount of memory used by various gateway functions that must be done in the kernel (versus, say, a specific userspace process you'd see with ps or top output).&lt;BR /&gt;Anything in kernel memory cannot be "swapped" out as a result of more memory being required by a userspace process.&lt;BR /&gt;If a kernel process needs more memory and doesn't have it, a kernel panic will occur.&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jan 2024 11:50:17 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2024-01-31T11:50:17Z</dc:date>
    <item>
      <title>Memory understanding</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Memory-understanding/m-p/204050#M38490</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;Could you please explain next things:&lt;/P&gt;&lt;P&gt;1) I have HA cluster and&amp;nbsp;free -k -t command shows:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;total&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;used&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; free&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; shared&amp;nbsp; &amp;nbsp; &amp;nbsp;buff/cache&amp;nbsp; available&lt;BR /&gt;Mem: 130515764&amp;nbsp; 31369656&amp;nbsp; 81154516&amp;nbsp; 7876&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;17991592&amp;nbsp; &amp;nbsp; 95544868&lt;BR /&gt;Swap: 33554300&amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 33554300&lt;BR /&gt;Total: 164070064&amp;nbsp; &amp;nbsp;31369656 114708816&lt;/P&gt;&lt;P&gt;And I don't understand why used+free!=total. How can I find out the persentage of free memory based on this data?&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2) Also I don't understand following:&lt;/P&gt;&lt;P&gt;fw ctl pstat&lt;/P&gt;&lt;P&gt;Virtual System Capacity Summary:&lt;BR /&gt;Physical memory used: 20% (22050 MB out of 108338 MB) - below watermark&lt;BR /&gt;Kernel memory used: 2% (2260 MB out of 108338 MB) - below watermark&lt;BR /&gt;Virtual memory used: 16% (20689 MB out of 124907 MB) - below watermark&lt;BR /&gt;Used: 19510 MB by FW, 1152 MB by zeco&lt;BR /&gt;Concurrent Connections: 51356 (Unlimited)&lt;BR /&gt;Aggressive Aging is enabled, not active&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I understand, virtual memory - is an area of memory on HDD which is used when RAM (physical memory) runs out. But there is a lot of space - 80%..why virtual memory is used?&lt;/P&gt;&lt;P&gt;What is kernel memory? I know about FW and OS memory in CP, but not about kernel..&lt;/P&gt;&lt;P&gt;I will be very grateful for clarifications!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; thank you&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 13:21:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Memory-understanding/m-p/204050#M38490</guid>
      <dc:creator>emilli_xill</dc:creator>
      <dc:date>2024-01-24T13:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Memory understanding</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Memory-understanding/m-p/204639#M38591</link>
      <description>&lt;P&gt;Total memory is not just free plus used, but also includes shared and buff/cache.&lt;BR /&gt;Note that buff/cache is memory that is allocated for something else currently, but can be allocated to another purpose if required.&lt;BR /&gt;To determine percentage of free memory available, therefore, use available divided by free.&lt;/P&gt;
&lt;P&gt;In the context of fw ctl pstat, I'm not sure what Virtual Memory refers to.&lt;BR /&gt;There's no mention of it in the documentation in current versions, which suggests you might be doing this on an older version of code.&lt;/P&gt;
&lt;P&gt;Kernel memory refers to the amount of memory used by various gateway functions that must be done in the kernel (versus, say, a specific userspace process you'd see with ps or top output).&lt;BR /&gt;Anything in kernel memory cannot be "swapped" out as a result of more memory being required by a userspace process.&lt;BR /&gt;If a kernel process needs more memory and doesn't have it, a kernel panic will occur.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 11:50:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Memory-understanding/m-p/204639#M38591</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2024-01-31T11:50:17Z</dc:date>
    </item>
  </channel>
</rss>

