Actions
Feature #14705
closed[PATCH] eval.c (ruby_setup): disable THP on Linux
Status:
Closed
Assignee:
-
Target version:
-
Description
Transparent Huge Pages (THP) decrease the effectiveness of
CoW-friendly GC because it decreases page granularity. That is,
a forked process dirtying one bit of CoW-shared memory can
trigger a copy of a huge page (2MB on x86-64) instead of a smaller,
standard page (4K).
I think this is fairly obvious choice to make since we already
decide to support bitmap marking GC for CoW-friendliness.
Will commit in a few days if no response.
Files
Actions
Like0
Like0