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

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.

主站蜘蛛池模板: 红原县| 探索| 达拉特旗| 新巴尔虎右旗| 胶州市| 伊春市| 克山县| 习水县| 正阳县| 潼关县| 亳州市| 麻栗坡县| 日照市| 麟游县| 句容市| 民丰县| 虞城县| 阿鲁科尔沁旗| 赤峰市| 平昌县| 榆树市| 菏泽市| 汾西县| 都昌县| 白城市| 海宁市| 东至县| 开封县| 海林市| 淮安市| 德安县| 林甸县| 大埔区| 自贡市| 罗甸县| 华宁县| 林州市| 赣榆县| 隆昌县| 峨山| 曲松县|