Skip to contentSkip to conversation

reserving VRAM for page tables

DISCUSSION Christian König 2 participants 3 messages Dec 5, 2019 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Sorry, just forgot to add the mailing list.

Am 05.12.19 um 11:49 schrieb Christian König:

Quoted 8 lines

Hi guys,

I've seen some patches flying by to change how much VRAM is reserved for page tables in the KFD.

Would it make sense to fully move that into amdgpu_vram_mgr.c?

Regards,
Christian.

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#2 lore raw

I don't think this should go into amdgpu_vram_mgr. KFD tries to avoid running out of VRAM for page tables because we cannot oversubscribe memory within a process and we want to avoid compute processes evicting each other because that would mean thrashing. Those limitation don't apply to graphics contexts.

Regards,
  Felix

Quoted 12 lines · Christian König

Sorry, just forgot to add the mailing list.

Am 05.12.19 um 11:49 schrieb Christian König:

Quoted 8 lines

Hi guys,

I've seen some patches flying by to change how much VRAM is reserved for page tables in the KFD.

Would it make sense to fully move that into amdgpu_vram_mgr.c?

Regards,
Christian.

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#3 lore raw

Yeah, but we should try to unify the memory management.

I mean we must have a common rational on how much memory page tables are going to use.

If we allow applications to oversubscribe or not is a completely different topic.

Regards,
Christian.

Am 05.12.19 um 18:05 schrieb Felix Kuehling:

Quoted 20 lines

I don't think this should go into amdgpu_vram_mgr. KFD tries to avoid running out of VRAM for page tables because we cannot oversubscribe memory within a process and we want to avoid compute processes evicting each other because that would mean thrashing. Those limitation don't apply to graphics contexts.

Regards,
  Felix

Quoted 12 lines · Christian König

Sorry, just forgot to add the mailing list.

Am 05.12.19 um 11:49 schrieb Christian König:

Quoted 8 lines

Hi guys,

I've seen some patches flying by to change how much VRAM is reserved for page tables in the KFD.

Would it make sense to fully move that into amdgpu_vram_mgr.c?

Regards,
Christian.

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx