[PATCH v8 0/6] elf: THP-aware load segment alignment
Wilco Dijkstra
Wilco.Dijkstra@arm.com
Thu Apr 9 13:29:46 GMT 2026
Hi HJ,
> Is it always beneficial to load every program, big or small,
> performance sensitive or non-sensitive, with THP? If it is
> the case, why bother with a tunable?
Linux reads much larger blocks from the filesystem, so yes,
it's beneficial if the binary is large enough and you have THP.
Small binaries can't really benefit.
Tunables are almost for free, it's just checking a global
variable, not a system call.
Cheers,
Wilco
More information about the Libc-alpha
mailing list