Speaker
Pedro Falcato
(SUSE Labs)
Description
Transparent Huge Page placement has historically been (and is) quite simplistic and overeager. This normally results in users turning off THP completely, or for selected workloads using any number of available toggles.
I'd like to discuss realistic ways in which we could meaningfully improve this, including past ideas such as thp=auto.
Several relevant aspects would include:
- adapting THP placement based on filesystem/storage needs
- adapting THP placement based on userspace memory accesses
- adjusting and improving expectations on MADV_COLLAPSE
- getting rid of hard-to-tune heuristics like max_ptes_none & others
Author
Pedro Falcato
(SUSE Labs)