Skip to content

Commit

Permalink
Revert "DOCSP-43585-disable-thp-command-fix (#10239)" (#10272)
Browse files Browse the repository at this point in the history
This reverts commit b8d0ebe.
  • Loading branch information
mdb-ashley authored Nov 15, 2024
1 parent b8d0ebe commit f858722
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/includes/steps-enable-thp-systemd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@
.. code-block:: sh
:copyable: true
cat /sys/kernel/mm/transparent_hugepage/disabled && cat /sys/kernel/mm/transparent_hugepage/defrag && cat /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none && cat /proc/sys/vm/overcommit_memory
cat /sys/kernel/mm/transparent_hugepage/enabled && cat /sys/kernel/mm/transparent_hugepage/defrag && cat /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none && cat /proc/sys/vm/overcommit_memory
On Red Hat Enterprise Linux and potentially other Red Hat-based
derivatives, you may instead need to use the following:

.. code-block:: sh
cat /sys/kernel/mm/redhat_transparent_hugepage/disabled && cat /sys/kernel/mm/redhat_transparent_hugepage/defrag && cat /sys/kernel/mm/redhat_transparent_hugepage/khugepaged/max_ptes_none && cat /proc/sys/vm/overcommit_memory
cat /sys/kernel/mm/redhat_transparent_hugepage/enabled && cat /sys/kernel/mm/redhat_transparent_hugepage/defrag && cat /sys/kernel/mm/redhat_transparent_hugepage/khugepaged/max_ptes_none && cat /proc/sys/vm/overcommit_memory
The output should resemble the following:

Expand Down

0 comments on commit f858722

Please sign in to comment.