From nobody Tue Oct 01 00:19:29 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XHdq52CFrz5XtDs for ; Tue, 01 Oct 2024 00:19:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XHdq46t8sz4jFg for ; Tue, 1 Oct 2024 00:19:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727741969; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I+y9xUP4RlJVF7JSKAnZmfY0xYu1EA9bF/+Uo4rbw58=; b=mkBmzF3mCLlljXIQsXdKMUrYQXCB9HznARqkv4OxSSHAjsSwdjGBWsIygjSBg97YL+Ka9+ MEAtzJBUB1nQLQyinnZcOHEylm5VtsSlt905CFePlqmbVRRc0Npq5/iPAzw9+PijWMln1R b/5N3wkcbIuyryDlAaXNwd2jkAxrfSoH5jw4zIeYxYJs7fxrHfzxpRtTjQxh/UVXi2HHNv DpOxGoEu5hRtUvqG6YSh6U6JZR8k9uVN1fFNNtbt0kYPF1Bv86HV2Sf22JBGA2lhFK/KPZ XG4/EdDVOzRqRTLMCLUPusrijiugiRN7/wSa4f/eGtfsl5DfpVDmS5N5Aldv5A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727741969; a=rsa-sha256; cv=none; b=kci30MrNMy798rnmqll3001mi1pxDBbMTxGYST9rpkMvkaC/Vt+cOr7w/V19HFGZT+nZfQ WbVkI30v95JsTywmt+Ra/TPcDF54Yhqz/s1+LeQCa25XOs3V0+ipqw+V/2DsdnEeql4ep7 tzvXriFBRVxmQYSFkau9KNshZFqpCD5QMVX7Dh3bKfWkIa0bCj2kELhtxIXekHjW/lySUf 9p5xS/TKHpxwtd856BI6RBAI+IOrFrXQ4qLuq269xiK3LOgqfFwSMHEq12zmwTmDa5406t WV8qxkjZvUsGfWC612VbzldA+Iw8qeuTDWot/wtIZYAf+5u1s8+csSQ7nuXw1A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XHdq46TYvzFVd for ; Tue, 1 Oct 2024 00:19:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4910JS0r098535 for ; Tue, 1 Oct 2024 00:19:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4910JSSn098534 for bugs@FreeBSD.org; Tue, 1 Oct 2024 00:19:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 279308] mdmfs does not work as documented Date: Tue, 01 Oct 2024 00:19:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rozhuk.im@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279308 --- Comment #11 from Ivan Rozhuk --- (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.=