On Mon 09-09-19 13:01:36, Michal Hocko wrote: > and that matches moments when we reclaimed memory. There seems to be a > steady THP allocations flow so maybe this is a source of the direct > reclaim? I was thinking about this some more and THP being a source of reclaim sounds quite unlikely. At least in a default configuration because we shouldn't do anything expensinve in the #PF path. But there might be a difference source of high order (!costly) allocations. Could you check how many allocation requests like that you have on your system? mount -t debugfs none /debug echo "order > 0" > /debug/tracing/events/kmem/mm_page_alloc/filter echo 1 > /debug/tracing/events/kmem/mm_page_alloc/enable cat /debug/tracing/trace_pipe > $file -- Michal Hocko SUSE Labs