Yeah I mean if you have a latency sensitive workload, you don’t want page faults and swapping to give hidden latency spikes - it kills your P99 latencies
Yeah but you can pin important pages in RAM with mlock family of syscalls and friends like move_pages for explicit page management. This is what materialize does as far as I understand it.
That seems to be contradictory, as they talk about using it to spill to disk in a simpler way. You can’t swap with mlock?
Also move_pages is about numa nodes not spilling to swap