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

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.

主站蜘蛛池模板: 哈巴河县| 五大连池市| 房山区| 板桥市| 宜丰县| 兴文县| 威远县| 涪陵区| 内丘县| 神农架林区| 吉木乃县| 齐河县| 民勤县| 石狮市| 皮山县| 松溪县| 普格县| 江山市| 祁阳县| 巴塘县| 卓尼县| 江油市| 开封市| 石楼县| 江口县| 保靖县| 桐庐县| 平昌县| 溧水县| 昭觉县| 湘潭市| 都江堰市| 保亭| 枞阳县| 商丘市| 巴青县| 云南省| 德令哈市| 栾城县| 沈丘县| 昆山市|