BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] khugepaged + vmware = massive CPU load
- Subject: [Discuss] khugepaged + vmware = massive CPU load
- From: dsr at randomstring.org (Dan Ritter)
- Date: Fri, 11 Dec 2015 06:42:14 -0500
- In-reply-to: <22122.13681.176279.74573@snorkack.blazemonger.com>
- References: <22122.13681.176279.74573@snorkack.blazemonger.com>
On Thu, Dec 10, 2015 at 09:31:13PM -0500, Daniel Barrett wrote: > > I just spent 3 weeks trying to solve a performance problem that showed > up when I upgraded to Ubuntu 15.10 (from 14.04). Here are the details > in case anybody else runs into it. ... > I don't understand much about khugepaged except that it's supposed to > be (ironically) a performance optimization: > > http://www.phoronix.com/scan.php?page=article&item=linux_transparent_hugepages > > Can anybody explain what might have been happening here, and whether I > am losing anything important by disabling transparent hugepages? Normally your system keeps track of memory in 4KB pages. They're analogous to filesystem blocks. Performance is improved when you can satisfy memory allocation requests with less overhead, so hugepages were created. A hugepage is a 2MB page. In the 2.x kernel series where they were invented, hugepages had to be turned on explicitly (there's a sysctl) and applications had to request them. Transparent hugepages are an attempt to extend the benefits of the reduced overhead even to applications that don't ask for them. Guess what? This doesn't always work. I have no transparent hugepages in use on any of the systems I work on, and explicit hugepages are enabled for database servers and some similar heavy lifters. You aren't missing anything by turning them off. -dsr-
- Follow-Ups:
- [Discuss] khugepaged + vmware = massive CPU load
- From: shankar.viswan at gmail.com (Shankar Viswanathan)
- [Discuss] khugepaged + vmware = massive CPU load
- From: dbarrett at blazemonger.com (Daniel Barrett)
- [Discuss] khugepaged + vmware = massive CPU load
- From: greg at freephile.com (Greg Rundlett (freephile))
- [Discuss] khugepaged + vmware = massive CPU load
- References:
- [Discuss] khugepaged + vmware = massive CPU load
- From: dbarrett at blazemonger.com (Daniel Barrett)
- [Discuss] khugepaged + vmware = massive CPU load
- Prev by Date: [Discuss] khugepaged + vmware = massive CPU load
- Next by Date: [Discuss] khugepaged + vmware = massive CPU load
- Previous by thread: [Discuss] khugepaged + vmware = massive CPU load
- Next by thread: [Discuss] khugepaged + vmware = massive CPU load
- Index(es):