LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-24-2019, 02:38 PM   #1
andy713
Member
 
Registered: Sep 2009
Location: Florida
Distribution: Slackware64
Posts: 46

Rep: Reputation: 0
How to really disable huge pages?


Running vmware, kcompactd0 uses 100% of one CPU and the VM is basically hung until it finishes. I set transparent_hugepage=never in the kernel command line but after I rebooted I still see it running. AnonHugePages is 0kB in /proc/meminfo. It doesn't appear to offer a "really never" option, but how can I make that happen? The VM is configured for 4 GB of RAM on a 16 GB system so it shouldn't have to compact pages. This is using Slackware kernel 4.19.32.
 
Old 04-24-2019, 03:19 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
I'm not sure the issue actually has to do with transparent huge pages. We already set the default to "madvise", so THP would not be used unless vmware requested it, and if it were actually a source of trouble then I don't think they'd be doing that. I am seeing a few other similar reports, and it's possible that a newer kernel could contain a fix.

Also, you might try booting with slub_max_order=0 to see if that helps at all.
 
1 members found this post helpful.
Old 04-25-2019, 09:05 AM   #3
andy713
Member
 
Registered: Sep 2009
Location: Florida
Distribution: Slackware64
Posts: 46

Original Poster
Rep: Reputation: 0
Setting slub_max_order=0 seems to have knocked it down some more, but I still saw it briefly pop up on top a few times. At least it's livable right now for what I'm doing, which I suppose means I'm not trying hard enough.
 
  


Reply



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
The Libreboot C201 from Minifree is really really really ridiculously open source jeremy Linux - News 0 12-09-2016 10:51 AM
Huge amount of "PHP Notice:" -> huge logs Braynid Linux - Software 4 03-18-2008 06:35 AM
Data extraction from a really, really huge file. thekillerbean Linux - Software 4 04-09-2006 04:18 AM
Huge Huge Problem With Forums!!! The_Insomniac Linux - General 1 06-07-2004 08:15 AM
Firewall help (noob really really huge noob) ProtoformX Linux - Networking 1 03-29-2004 12:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:58 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
Open Source Consulting | Domain Registration