Sungju's Slow Life

Sungju's Slow Life

  • Home
  • Projects
  • About
  • January 31, 2023

    How to track SLAB usage using slub_debug=U

    When there is high usage in kernel side, most common reason is high usage in SLAB. As the SLAB memory blocks are all data, it is hard to tell which parts of code was consuming this memory blocks. Fortunately, there is this kernel option slub_debug=U which is saving backtrace of the allocation and freeing calls. […]

    Reverse
    kernel, memory leak, slab, slub, vmcore
  • July 13, 2022

    Difference between ‘pgscank/s’ and ‘pgscand/s’

    In the sar output like below, there are pgscank and pgscand. In the man page, it says. This description is not much helpful to understand the difference between those two columns. These data are from kernel code which is showing in vmstat. It is basically updated when there’s memory reclaiming. If the reclaiming was happened […]

    Reverse
  • June 9, 2022

    5-level paging in KVM

    Latest kernels such as RHEL8 and above are supporting 5-level page table. You can check if this is available/enabled by looking at /boot/config-$(uname -r). If you don’t want to use 5-level page table, you can disable that by adding ‘no5lvl’ as a kernel parameter in grub file (/boot/grub2/grubenv) and reboot the system. This 5 level […]

    Reverse
    kernel, kvm, Memory
1 2 3 … 76
Next Page

Pixl Theme, Proudly Powered by WordPress

  • Follow Following
    • Sungju's Slow Life
    • Already have a WordPress.com account? Log in now.
    • Sungju's Slow Life
    • Edit Site
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar