<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Kernel on Netdata</title><link>https://www.netdata.cloud/tags/kernel/</link><description>Recent content in Kernel on Netdata</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 04 May 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://www.netdata.cloud/tags/kernel/index.xml" rel="self" type="application/rss+xml"/><item><title>Unlock the Secrets of Kernel Memory Usage</title><link>https://www.netdata.cloud/blog/unlock-the-secrets-of-kernel-memory-usage/</link><pubDate>Thu, 04 May 2023 00:00:00 +0000</pubDate><guid>https://www.netdata.cloud/blog/unlock-the-secrets-of-kernel-memory-usage/</guid><description>&lt;p>&lt;img src="../2023-05-04-unlock-the-secrets-of-kernel-memory-usage/img/stacked-netdata.png" alt="stacked-netdata">&lt;/p>
&lt;p>The &lt;code>mem.kernel&lt;/code> chart in Netdata provides insight into the memory usage of &lt;a href="https://www.netdata.cloud/academy/what-are-the-differences-between-bpf-and-ebpf-an-overview/">various kernel subsystems&lt;/a> and mechanisms. By understanding these dimensions and their technical details, you can monitor your system&amp;rsquo;s kernel memory usage and identify potential issues or inefficiencies. Monitoring these dimensions can help you ensure that your system is running efficiently and provide valuable insights into the performance of your kernel and memory subsystem.&lt;/p>
&lt;p>&lt;img src="../2023-05-04-unlock-the-secrets-of-kernel-memory-usage/img/mem-kernel.png" alt="mem-kernel">&lt;/p>
&lt;!-- truncate -->
&lt;h2 id="slab">Slab&lt;/h2>
&lt;p>The &lt;a href="https://en.wikipedia.org/wiki/Slab_allocation">slab allocator&lt;/a> is a memory management mechanism introduced by Jeff Bonwick in 1994 to manage &lt;a href="https://www.netdata.cloud/vsphere-monitoring/">memory allocation&lt;/a> for kernel objects. The main purpose of the slab allocator is to reduce memory fragmentation and improve the speed of memory allocation/deallocation. The slab allocator groups objects of the same size into &amp;ldquo;slabs&amp;rdquo; and caches the objects to speed up future allocations.&lt;/p></description></item></channel></rss>