Hello again, Thomas! I'm still checking the cause of inactive_file increase. I tried reading a big file on a VM and doesn't look like it's keeping ram busy.
In other hand, working for hours in my PC surely did increase my "Inactive(file)" reading from /proc/meminfo. I'm still working on it. You might be right. This might be a generalized issue with reclaim, not TTM. On Thu, Nov 26, 2026, 7:35 AM Thomas Hellström < [email protected]> wrote: > On Wed, 2026-11-25 at 16:36 -0300, Eduardo P. Gomez wrote: > > Hi Thomas, > > > > > Did you actually see any instance of remaining GPUReclaim memory > > > when OOM > > was hit? > > > > Yes. Twice actually. During a userspace memory-pressure test on my 32 > > GiB > > desktop running kernel 7.3.5 without my TTM patch, the kernel > > reported two > > global OOMs and killed kde-ram (the test I mentioned before) both > > times: > > > > 2026-11-23 21:43:51 -0300. gpu_reclaim:10045728kB global_oom > > 2026-11-23 21:44:08 -0300 gpu_reclaim:10045736kB global_oom > > > > About 9.58 GiB was still reported as reclaimable GPU memory at the > > time of > > each OOM. > > > > The full kernel log for the first event is here: > > https://paste.rs/ajafn > > Judging from the log there is also a high number of inactive_file pages > available that are not reclaimed. > > This IMO points to something odd happening with reclaim itself rather > than something specific to the ttm pool shrinker? > > Thanks, > Thomas >
