LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   disabling transparent_hugepage or setting /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none to 0 RHEL 7.3 (Maipo) (https://www.linuxquestions.org/questions/linux-kernel-70/disabling-transparent_hugepage-or-setting-sys-kernel-mm-transparent_hugepage-khugepaged-max_ptes_none-to-0-rhel-7-3-maipo-4175632455/)

narasimha rao 06-22-2018 05:58 AM

disabling transparent_hugepage or setting /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none to 0 RHEL 7.3 (Maipo)
 
Hello

in our application we are seeing more memory consumption by process when transparent huge pages are enabled.

when it is not enabled heap memory usage is around 90 MB

but when it is enabled heap memory usage is growing till 280 MB with few hours.

Also when huge pages are enabled but /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none is set to 0 usage is around 130 MB

so is it better
1. to disable the usage of huge pages by setting /sys/kernel/mm/transparent_hugepage/enabled to never
or
2. minimize huge page usage by setting 0 to /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none

can you please suggest

if any of the above mentioned approach is taken what would be the side effects.

there was no performance impact on maximum load which we test and support and want to check any particular scenario where there could be impact on performance ?

appreciate your help

TB0ne 06-23-2018 04:12 PM

Quote:

Originally Posted by narasimha rao (Post 5870490)
Hello

in our application we are seeing more memory consumption by process when transparent huge pages are enabled. when it is not enabled heap memory usage is around 90 MB but when it is enabled heap memory usage is growing till 280 MB with few hours. Also when huge pages are enabled but /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none is set to 0 usage is around 130 MB

so is it better
1. to disable the usage of huge pages by setting /sys/kernel/mm/transparent_hugepage/enabled to never
or
2. minimize huge page usage by setting 0 to /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none

can you please suggest if any of the above mentioned approach is taken what would be the side effects. there was no performance impact on maximum load which we test and support and want to check any particular scenario where there could be impact on performance ?

There is very little we can help with or suggest. You say this is your application...we have no idea what it is, who wrote it, what it does, or for how many users, and what else runs on that server. You then say there is no performance impact.

So if you have no performance issues....why does it matter? There are far too many variables to guess at. And, since you're using RHEL 7.3, you can ask Red Hat to look at system reports and advise you on the best course of action. You are PAYING for RHEL, right????

Or is this a homework question?


All times are GMT -5. The time now is 08:11 AM.