Date: Tue, 01 Oct 2024 00:19:29 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 279308] mdmfs does not work as documented Message-ID: <bug-279308-227-AxV888nIeK@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-279308-227@https.bugs.freebsd.org/bugzilla/> References: <bug-279308-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279308 --- Comment #11 from Ivan Rozhuk <rozhuk.im@gmail.com> --- (In reply to Xin LI from comment #10) tmpfs is much faster than md, but while compiling something like chromium on desktop with md it freezes less that with tmpfs. "nomtime,pgread" makes tmpfs a better but still have freezes in apps. I has try: 1. set lowest possible prio to build process: /usr/sbin/idprio 31 /usr/bin/= nice -n 20 /usr/bin/make https://github.com/rozhuk-im/freebsd-ports/commit/0f9892b7bf8ea92be02123a5b= 75269b5877f1216 2. set highest possible for Xorg: xserver-command=3D/usr/sbin/rtprio 0 /usr/bin/nice -n -20 /usr/bin/env MESA_SHADER_CACHE_DISABLE=3D'true' /usr/local/bin/X 3. avoid caching in /tmp graphics related things: MESA_SHADER_CACHE_DISABLE=3D'true' 4. reduce mmap()/unmap() usage by malloc: malloc.conf@ -> metadata_thp:disabled,retain:true,dss:disabled,narenas:8,background_thread:= false,tcache:true,lg_tcache_max:16 5. play with memory disk and options It is still poor user experience while chromium build in progress, but a be= tter that without this steps. I do suspect that is it some memory fragmentation problem that reduce mmap() performance + amdgpu lags than freemem is at minimum level so pagedaemon pu= mp mem for amdgu from laudary and other staff with delay. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279308-227-AxV888nIeK>