I did more tests this morning on my laptop tracing the callers of __alloc_pages_nodemask() and I noticed that pretty much all the time it is called by the i915 shrinker. So I tried to disable it and I have to say that on my laptop (at least) the system is always very responsive now even when the system is swapping out pages and I generate a lot of I/O.
Hi Seth, sorry for my late response.
I did more tests this morning on my laptop tracing the callers of __alloc_ pages_nodemask( ) and I noticed that pretty much all the time it is called by the i915 shrinker. So I tried to disable it and I have to say that on my laptop (at least) the system is always very responsive now even when the system is swapping out pages and I generate a lot of I/O.
I've uploaded this test kernel here (5.4.0- 24.28+lp1861359 v1): /kernel. ubuntu. com/~arighi/ LP-1861359/
https:/
Can you do one more test with it and verify if it does some improvements also in your case?
Probably it's not yet a valid solution, but if it works it would tell us that the problem is exactly there. Thanks!