Issue #14705 has been reported by normalperson (Eric Wong).

----------------------------------------
Feature #14705: [PATCH] eval.c (ruby_setup): disable THP on Linux
https://bugs.ruby-lang.org/issues/14705

* Author: normalperson (Eric Wong)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
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--------------------------------
0001-eval.c-ruby_setup-disable-THP-on-Linux.patch (1.21 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>