Index: third_party/afl/src/docs/perf_tips.txt |
diff --git a/third_party/afl/src/docs/perf_tips.txt b/third_party/afl/src/docs/perf_tips.txt |
index 0821b0299c545af90ecf6f0948b6f6bb4756c9f5..3a8997a22f0e570af6e8856b065e565bd851d0de 100644 |
--- a/third_party/afl/src/docs/perf_tips.txt |
+++ b/third_party/afl/src/docs/perf_tips.txt |
@@ -167,6 +167,12 @@ There are several OS-level factors that may affect fuzzing speed: |
On other systems, the impact of CPU scaling will be different; when fuzzing, |
use OS-specific tools to find out if all cores are running at full speed. |
+ - Transparent huge pages. Some allocators, such as jemalloc, can incur a |
+ heavy fuzzing penalty when transparent huge pages (THP) are enabled in the |
+ kernel. You can disable this via: |
+ |
+ echo never > /sys/kernel/mm/transparent_hugepage/enabled |
+ |
- Suboptimal scheduling strategies. The significance of this will vary from |
one target to another, but on Linux, you may want to make sure that the |
following options are set: |