dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* drm/ttm: port ttm pools to NUMA aware lru_list
@ 2025-06-05  6:19 Dave Airlie
  2025-06-05  6:19 ` [PATCH 1/5] mm/list_lru: export list_lru_add Dave Airlie
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Dave Airlie @ 2025-06-05  6:19 UTC (permalink / raw)
  To: dri-devel; +Cc: Christian Koenig, Matthew Brost

(RH email ate this the first time).

This is a bit of a tangent before continuing the tangent that is memcg aware pools.

The pools code is already NUMA aware, but it rolls it's own numa awareness, and
in order to move towards memcg awareness, I think a first step is porting the pool
code to lru_list and making the current shrinker NUMA aware. Once this is done
then the next step should be to make the pools/shrinker memcg aware.

I've done light testing of this on a single node rx7900xt and a 4 node MI300A,
and it seems to operate the way I'd expect, but just wanted to get some feedback on
the idea and if anyone can spot any big problems with the strategy.

Thanks,
Dave.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-06-05 22:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-05  6:19 drm/ttm: port ttm pools to NUMA aware lru_list Dave Airlie
2025-06-05  6:19 ` [PATCH 1/5] mm/list_lru: export list_lru_add Dave Airlie
2025-06-05  6:19 ` [PATCH 2/5] ttm/pool: port to list_lru Dave Airlie
2025-06-05 22:40   ` Dave Chinner
2025-06-05  6:19 ` [PATCH 3/5] ttm/pool: drop numa specific pools Dave Airlie
2025-06-05  6:19 ` [PATCH 4/5] ttm/pool: make pool shrinker NUMA aware Dave Airlie
2025-06-05  6:19 ` [PATCH 5/5] ttm/pool: track allocated_pages per numa node Dave Airlie
2025-06-05  8:34 ` drm/ttm: port ttm pools to NUMA aware lru_list Christian König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).