[MB-8456] [Doc'd] Update Documentation with the recommendation that THP should be disabled on Couchbase nodes. Created: 12/Jun/13 Updated: 20/Jun/13 Resolved: 20/Jun/13
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Nodes on which THP(Transparent Huge Pages) are enabled, we are seeing high swap usage and severe timeouts in ns_server. This may get much worse under memory pressure. So ns_server had to restart whole bunch of services because of random timeouts and in the end it reached max restart intensity and therefore terminated.
So by default THP must be disabled and this information needs to be documented.
|Comment by kzeller [ 18/Jun/13 ]|
This request to document is coming outside of Couchbase. It is not clear to me whether this is something we should recommend or not (disable THP)
Let me know if this is something we recommend or not. If we do want to recommend it, has this option been tested?
|Comment by Aleksey Kondratenko [ 18/Jun/13 ]|
It's not quite outside. I have no idea if we tested this much, but we have seen at least one customer who had issues with transparent hugepages and issues stopped without.
This matches some of our developer testing.
So yes I want us to strongly recommend disabling transparent hugepages.
Text can be something like that:
RHEL6 and other newer distributions running on physical hardware are known to have transparent hugepages feature enabled. Which is in general a measurable performance boost. However under some conditions which Couchbase Server is known to trigger it may cause severe delays in page allocations. Therefore we strongly recommend everyone with that feature to disable it.
|Comment by kzeller [ 20/Jun/13 ]|
Added to RN 2.1.0:
<issue type="cb" ref="
RHEL6 and other newer Linux distributions running on physical hardware are known to have transparent
hugepages feature enabled. In general this can provide a measurable performance boost.
However under some conditions that Couchbase Server is known to trigger, this
it may cause severe delays in page allocations. Therefore we strongly recommend you disable this feature with Couchbase Server.