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

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.

主站蜘蛛池模板: 朝阳县| 镶黄旗| 永安市| 洪湖市| 长兴县| 仙居县| 洛川县| 镇平县| 碌曲县| 蒲江县| 元朗区| 阿尔山市| 西充县| 贺州市| 云安县| 甘孜县| 吉木乃县| 泸州市| 中江县| 巴塘县| 浦城县| 平遥县| 馆陶县| 浪卡子县| 玛多县| 应用必备| 鄂伦春自治旗| 安顺市| 营山县| 确山县| 延津县| 马鞍山市| 建水县| 嘉善县| 罗江县| 依兰县| 和静县| 永州市| 双城市| 凤山县| 岳普湖县|