[Bug 277476] graphics/drm-515-kmod: amdgpu periodic hangs due to phys contig allocations

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277476

--- Comment #16 from Ivan Rozhuk <[email protected]> ---
Never see this issue on "AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx", but
always on
5950x + RX 5600 XT.
Software config identical, FBSD 14/stable.
xorg + amdgpu x driver.


To reduce freezes I use:
- picom
- cpuset to leave 8 cores free while build ports
- script that creates 16gb file on tmpfs and remove it

Script makes free ~20gb and almost no freezes until freemem > 3gb.
But after ~1 month of uptime I start see freezes even with freemem > 20gb.
Even without debug tools this was looks like memory fragmentation issue. :)


Is it possible to implement some memory defrag code in pagedaemon?
vm_page_reclaim_contig() also used by iommu, ktls and shm so improving it will
make FBSD better even for server roles.



(In reply to Josef 'Jeff' Sipek from comment #0)

Thanks for debugging!


(In reply to sigsys from comment #5)

Thanks for patch, I will test it, but it requires at least 2 weeks to make sure
that freezes go away.



(In reply to Emmanuel Vadot from comment #6)

Do you use xorg + amdgpu x driver?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.