Hello Michal, ok this might take a long time. Attached you'll find a graph from a fresh boot what happens over time (here 17 August to 30 August). Memory Usage decreases as well as cache but slowly and only over time and days. So it might take 2-3 weeks running Kernel 5.3 to see what happens. Greets, Stefan Am 10.09.19 um 13:07 schrieb Michal Hocko: > On Tue 10-09-19 11:37:19, Stefan Priebe - Profihost AG wrote: >> >> Am 10.09.19 um 11:02 schrieb Michal Hocko: >>> On Tue 10-09-19 10:38:25, Stefan Priebe - Profihost AG wrote: > [...] >>>> /sys/kernel/mm/transparent_hugepage/defrag:always defer [defer+madvise] >>>> madvise never > [...] >>> Many processes hitting the reclaim are php5 others I cannot say because >>> their cmd is not reflected in the trace. I suspect those are using >>> madvise. I haven't really seen kcompactd interfering much. That would >>> suggest using defer. >> >> You mean i should set transparent_hugepage to defer? > > Let's try with 5.3 without any changes first and then if the problem is > still reproducible then limit the THP load by setting > transparent_hugepage to defer.