LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-22-2018, 05:58 AM   #1
narasimha rao
LQ Newbie
 
Registered: Jun 2018
Posts: 2

Rep: Reputation: Disabled
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
 
Old 06-23-2018, 04:12 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 20,664

Rep: Reputation: 5078Reputation: 5078Reputation: 5078Reputation: 5078Reputation: 5078Reputation: 5078Reputation: 5078Reputation: 5078Reputation: 5078Reputation: 5078Reputation: 5078
Quote:
Originally Posted by narasimha rao View Post
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?

Last edited by TB0ne; 06-23-2018 at 04:39 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] disabling transparent_hugepage or setting /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none to 0 RHEL 7.3 (Maipo) narasimha rao Linux - Software 1 06-23-2018 02:57 PM
sched_deadline behaviour when a real time process is throttled, with setting of /proc/sys/kernel/sched_rt_runtime_us is 950000 barz_83_LQ Linux - Newbie 0 11-18-2017 02:45 PM
system not display /sys/ folder....in kernel compile how to enable sys in menuconfig dashang.trivedi Linux - Kernel 1 07-14-2011 05:00 AM
rhel kernel: Disabling IRQ #233 _linux Linux - Newbie 1 05-18-2010 10:06 AM
Disabling modules at startup with SYS V Linux harisund Linux - Newbie 1 09-22-2005 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration