On 3/22/22 19:37, Jinoh Kang wrote:
In my experience on Linux pre-faulting the memory this way reduce the overhead greatly, while the benefit of explicit huge pages management over this is not apparent. That shows stark difference from my experience. In my case, memset()-ing yielded no significant improvement in performance (the faults moves from blitting to zeroing).
Did you have transparent huge pages enabled?