官术网_书友最值得收藏!

Transparent huge pages

Some Linux distributions typically have a transparent huge pages feature that is enabled by default; this causes some fairly significant performance losses with Splunk Enterprise (reportedly 30% or more), so Splunk suggests this feature be disabled. The process for doing this varies between distributions and versions, so you may need to search the web for instructions for your particular distribution. The following link has instructions for Red Hat Enterprise Linux versions 6 and 7: https://access.redhat.com/solutions/46111.

The following process works for RHEL 7.5:

Check to see if THP is enabled by using (root) cat /proc/cmdline. Look for transparent_hugepage=never
 in the results.

If this is missing, edit the /etc/sysconfig/grub file and add thetransparent_hugepage=never to the GRUB_CMDLINE_LINUX entry, as follows:

GRUB_CMDLINE_LINUX="console=ttyS0,115200n8 console=tty0 net.ifnames=0 crashkernel=auto transparent_hugepage=never"

Then, run the: grub2-mkconfig -o/boot/grub2/grub.cfg command and restart the server. When it comes up, run the cat /proc/cmdline command again and verify the entry.

主站蜘蛛池模板: 城口县| 布尔津县| 秦安县| 龙山县| 永新县| 京山县| 阳春市| 崇义县| 舟曲县| 祁连县| 剑河县| 盐亭县| 公安县| 连江县| 九龙城区| 民丰县| 长宁县| 铁力市| 中宁县| 广宗县| 乐山市| 嘉祥县| 土默特右旗| 大埔县| 西城区| 逊克县| 郁南县| 永春县| 汝南县| 陆良县| 大厂| 宁化县| 太湖县| 泸定县| 孟州市| 新宁县| 丹寨县| 信宜市| 宁远县| 成都市| 雷州市|