From nobody Fri Jan 19 08:22:01 2024 X-Original-To: freebsd-amd64@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 4TGXfN21bDz588xv for ; Fri, 19 Jan 2024 08:22:20 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-23.consmr.mail.gq1.yahoo.com (sonic311-23.consmr.mail.gq1.yahoo.com [98.137.65.204]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TGXfL3hQ8z4KmF for ; Fri, 19 Jan 2024 08:22:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="qzn/Fc83"; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.204 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1705652536; bh=iyjhzUx6p93tH9VKcmenEOB2GzDSIAJGZGcTuEUpi2g=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=qzn/Fc832hdrqQ2wa+dusUnI90kKImZZlkDNOxupTtrGd6XisqJuI7mk0uUocSisbVBCdqCeqFU/DbPUkqPlcsWEHZwCDwne3aRVmY0sXXr14Qk2PUK3BBK9U0XWNx3cGT+qbst+QhJk1ohSQ/kU8KwLDGxbx/4wUlg/erZwS7uHBFSa140H81LHfK/DBfVtCylzdzGs03BRaZqk0TeVR70KGDKE3W+cWkcM/n4Sv6Xxa7+IBb9gIKforh2ZcvmWrWYHeU3rHrYJHLfIy+cUBBVygvajjIGlYZEbQKtH2U7fDqlOsy5tKu09H55Z3+2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szxXzoVSZ.xstREXZRH_dGUBvJBDKlfSOs7oCnVWSurObuiia2fCuN qzSr.ALJIQzEgWdyUD2A0GbQOuYwlcHlNsiWw62qxEOG5xan7JYpUzNssXbuMAPY.vm1v3iS7isP cR3qRlezr.IYNQsr.Y2RrVrFQrtkOxGMezQQOa9_4nX.EMPuYO_1tI_oQy.Tl6cYAM_Wcx_uA8ZJ cq6E0J3sK.JuAf8en8tymZFS_Nby4oKVEPFQrx.oALuqtFfqIPuXv920CwQumEe._iUnTylP6qAW d3leoKM9rKjDrixbN1D6YQJBvSgtp1Dw058uM9jpU20r3ofES1.TnoiGpJNULkXGW29fwlqctP4H EsCbsUMDw1s2Fwj52KEjtEcQTw3D6cRdHLo_tFZeKul7dZlpDI8WqTYG2kOIxzuo4sv9Xk4Wm2n6 lY54fDe49NZgAwWHeJu0FxJP0FZ0h0x2dbe0Gr_TQvC4ix_06kHvBfi2ObWSBgoo0v2W.VbbzPI7 LHqScl4488SdjNnWyBB5c1fDrQMrVxAeXZDY9cJZJ.oLsZpiArQsjcstNSMHlmDlaeeSMvhr79Fu .TAPsRMszxQFderMwXdJt1r0yvIuLO_mfK2mPgk9z2Sa_SHiirYBg0N5oc_pwAb_B18Zf9moD4JJ gvl4fnzBCVmCXNDbalieZIPKKjpoQtUIXYnRx2D3QSXQ.TY0N8jUKagP8 X-Sonic-MF: X-Sonic-ID: d5413ed0-36d4-4bdb-90cf-c8d95814b2c9 Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Fri, 19 Jan 2024 08:22:16 +0000 Received: by hermes--production-gq1-78d49cd6df-tswkb (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ad4c2cabdd8dc1f646c0e85753985d65; Fri, 19 Jan 2024 08:22:12 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: Porting FreeBSD to the AMD64 platform List-Archive: https://lists.freebsd.org/archives/freebsd-amd64 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-amd64@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: 7950X3D: using 1 hardware thread per core vs. 2 hardware threads per core: a fairly large difference Message-Id: <8001F567-7E02-43FB-8D08-D42B560369D8@yahoo.com> Date: Fri, 19 Jan 2024 00:22:01 -0800 To: freebsd-amd64@freebsd.org X-Mailer: Apple Mail (2.3774.300.61.1.2) References: <8001F567-7E02-43FB-8D08-D42B560369D8.ref@yahoo.com> X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MLMMJ_DEST(0.00)[freebsd-amd64@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.204:from]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.204:from] X-Rspamd-Queue-Id: 4TGXfL3hQ8z4KmF I do not know how much the below generalizes as I do not have access to other rather modern FreeBSD amd64 systems to test, just the 7950X3D system with 192 GiBytes of RAM. The gist: https://gist.github.com/markmi/193423c6fd6f534a72725d7d5cd0236a is an image showing performance curves for a benchmark. Each curve is for 8 hardware threads in use. The x axis is for the problem size (Bytes, logarithmic scaling). The y axis is performance (linear). (It is a mathematical definition in a mathematical approximation problem that is handled a specific way in the benchmark.) As the problem size grows signficantly larger than a RAM cache, the access pattern makes the RAM-cache become notably less effective. The benchmark variant restricts each software thread to a specific hardware thread (singleton cpuset) after the thread starts, generally avoiding losing structural information to thread migration variability in the structures used. The major performance difference ends up being tied to: 1 hardware thread per core vs. 2 hardware threads per core A quick textual summary giving a clue is: 1 per core, 8 cores: around 800*(10^6) to 850*(10^6) peak. 2 per core, 4 cores: around 500*(10^6) to 550*(10^6) peak. (same units) But far more than the peaks show large differences in the same orientation for the same caching generally. Think of an area under a curve for a size range being important for that size range. Each hardware thread does independent processing. (But the threads' results are combined to get the overall result for a problem size.) So more RAM cache sharing and other resource sharing is involved for 2 threads per core --and it has non-trivial performance consequences from the competition for shared resources. The far right of each curve [around 150*(10^6)] vs. the peaks of the curve suggest how much the RAM-caching helps the performance (or how much the processor waits for RAM when RAM-caching is not very effective vs. when RAM-caching is more effective). The RAM is DDR5-5200, 2 DIMMS per channel, 2 channels, 48 GiBytes per DIMM. Note: The benchmark can also be built to not have the CPU LockDown used, allowing general migration of software threads across the hardware threads in a cpuset. Seeing the CPU LockDown results first can help interpret the messier with-migration results. === Mark Millard marklmi at yahoo.com From nobody Fri Jan 19 14:21:43 2024 X-Original-To: amd64@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 4TGhd32MN7z56bhG for ; Fri, 19 Jan 2024 14:21:43 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TGhd30zRwz4sqD for ; Fri, 19 Jan 2024 14:21:43 +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=1705674103; 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=ON6dKrT1yvFwAtrZUydLXRGTb2PVgO7IJkCoG1BuB38=; b=nxbnH2HB2ShVdsS/g1n5NGARfiMNJvKDI0CN+dQGMEtvkS3gyLi2MLuCHb93nvPmz4Yzpm CyiReFQ/ZrOkOM+wqvUzwwr2d/zXovHWqX810QiSx/m+fEDh8TabAUfdnNNMz90rvNgGdb jJWG+qa39mtEkm7YLdy6Mf9W3QUxr8EWt0fM+tpjhCwaUjIsiXaRnExz1X0tXQdJlC6Hcd BnnOxmkIgudfXWfFbzWAhswx0PzPk0ec92OFFi2n40zI2hncNRuGAP6m/CoxfTVWgRzPxb HFd82cxBgeEo5J9jW9vy4ZDS7Q3XOawJdWZQeqGs2DDtNroJy967iaqke4ffHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705674103; a=rsa-sha256; cv=none; b=yjMGiEZoCpUMiowEfstijAP+7CQNvSuiH3DXLUPwDmZ4cWQBHc/drsZOKoZgYUvkFES0Qx 5VEpaVJQFNmOGqZ0JxqilSkAEGUy1GMSZyHjecJ1YX1+pIul2b1NLpmqL9YgTc1ryD0/Cg /24a+tyRDjnwd6TLCDshyJPnOl6srjddMTJtoZ5bG2rjSOa55nbZn0dZoZ41aCLP7/Dq45 Lgyrrmqj38i8jyXx7Y2tN1czmxJRQmyE/HcgMeZCAgnNcIFekh4FSnFwjPfQ6cMzlsiC/1 C/wJWQln/ojG+tBFlOjmNquWtQFGBfhq4XU6sXRfE0TccWS94va2RT1AMAl/Bw== 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 4TGhd305SYztZd for ; Fri, 19 Jan 2024 14:21:43 +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 40JELgrI014242 for ; Fri, 19 Jan 2024 14:21:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40JELgQ1014241 for amd64@FreeBSD.org; Fri, 19 Jan 2024 14:21:42 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: amd64@FreeBSD.org Subject: [Bug 163048] normal user cant mount ntfs-3g due to bug in mac_stub module Date: Fri, 19 Jan 2024 14:21:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: amd64 X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc short_desc bug_status 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: Porting FreeBSD to the AMD64 platform List-Archive: https://lists.freebsd.org/archives/freebsd-amd64 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-amd64@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D163048 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|amd64@FreeBSD.org |bugs@FreeBSD.org CC| |linimon@FreeBSD.org Summary|normal user cant mount |normal user cant mount |ntfs-3g |ntfs-3g due to bug in | |mac_stub module Status|In Progress |Open --- Comment #9 from Mark Linimon --- ^Triage: mark as not amd64-specific (most likely), and unmark In Progress (= no work seems to have been done). To submitters/commenters: was this problem ever fixed? --=20 You are receiving this mail because: You are the assignee for the bug.=