From owner-freebsd-bugs@freebsd.org Wed Oct 10 17:35:38 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6944E10B7220 for ; Wed, 10 Oct 2018 17:35:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 060A789F70 for ; Wed, 10 Oct 2018 17:35:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id BB7AB10B721D; Wed, 10 Oct 2018 17:35:37 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9797A10B721C for ; Wed, 10 Oct 2018 17:35:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 26A5689F6B for ; Wed, 10 Oct 2018 17:35:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6E0C522314 for ; Wed, 10 Oct 2018 17:35:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9AHZaI3015035 for ; Wed, 10 Oct 2018 17:35:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9AHZaRM015034 for bugs@FreeBSD.org; Wed, 10 Oct 2018 17:35:36 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 232153] Processes without explicit cpuset only use half the SMP threads (on a Ryzen) Date: Wed, 10 Oct 2018 17:35:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vangyzen@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Oct 2018 17:35:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232153 Eric van Gyzen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vangyzen@FreeBSD.org --- Comment #1 from Eric van Gyzen --- I'm not seeing this behavior on my Ryzen 7 2700X running r339207 (77 commits beyond 12.0-ALPHA8). I ran this to get constant high load: make -C /usr/src/lib/clang/libllvm -j16 I see all 16 CPU threads getting scheduled: last pid: 78555; load averages: 16.45, 14.08, 8.70 up 1+15:21:55 12:3= 2:09 155 processes: 18 running, 137 sleeping CPU 0: 95.3% user, 0.0% nice, 4.7% system, 0.0% interrupt, 0.0% idle CPU 1: 98.8% user, 0.0% nice, 1.2% system, 0.0% interrupt, 0.0% idle CPU 2: 94.5% user, 0.0% nice, 4.7% system, 0.8% interrupt, 0.0% idle CPU 3: 98.0% user, 0.0% nice, 2.0% system, 0.0% interrupt, 0.0% idle CPU 4: 96.1% user, 0.0% nice, 3.9% system, 0.0% interrupt, 0.0% idle CPU 5: 98.8% user, 0.0% nice, 1.2% system, 0.0% interrupt, 0.0% idle CPU 6: 98.0% user, 0.0% nice, 2.0% system, 0.0% interrupt, 0.0% idle CPU 7: 94.1% user, 0.0% nice, 5.9% system, 0.0% interrupt, 0.0% idle CPU 8: 96.9% user, 0.0% nice, 3.1% system, 0.0% interrupt, 0.0% idle CPU 9: 97.6% user, 0.0% nice, 2.4% system, 0.0% interrupt, 0.0% idle CPU 10: 96.1% user, 0.0% nice, 3.5% system, 0.4% interrupt, 0.0% idle CPU 11: 97.2% user, 0.0% nice, 2.8% system, 0.0% interrupt, 0.0% idle CPU 12: 93.3% user, 0.0% nice, 6.7% system, 0.0% interrupt, 0.0% idle CPU 13: 98.8% user, 0.0% nice, 1.2% system, 0.0% interrupt, 0.0% idle CPU 14: 96.9% user, 0.0% nice, 2.0% system, 1.2% interrupt, 0.0% idle CPU 15: 98.0% user, 0.0% nice, 2.0% system, 0.0% interrupt, 0.0% idle Mem: 3296M Active, 6227M Inact, 109M Laundry, 20G Wired, 1202M Free ARC: 15G Total, 8637M MFU, 4731M MRU, 676K Anon, 603M Header, 1344M Other 12G Compressed, 19G Uncompressed, 1.57:1 Ratio Swap: 8192M Total, 8192M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMM= AND 78537 vangyzen 1 87 0 232M 207M CPU2 2 0:07 99.81% c++ 78546 vangyzen 1 86 0 214M 189M CPU8 8 0:06 99.66% c++ 78467 vangyzen 1 95 0 252M 228M CPU5 5 0:13 99.61% c++ 78552 vangyzen 1 84 0 195M 170M RUN 10 0:05 99.11% c++ 78474 vangyzen 1 94 0 229M 204M CPU1 1 0:12 98.53% c++ 78549 vangyzen 1 85 0 211M 186M CPU9 9 0:06 98.34% c++ 78528 vangyzen 1 88 0 238M 214M CPU3 3 0:07 98.34% c++ 78531 vangyzen 1 87 0 234M 210M CPU15 15 0:07 97.68% c++ 78543 vangyzen 1 86 0 216M 191M CPU13 13 0:06 97.66% c++ 78519 vangyzen 1 89 0 265M 240M CPU12 12 0:08 97.49% c++ 78498 vangyzen 1 91 0 254M 229M CPU11 11 0:10 97.25% c++ 78522 vangyzen 1 89 0 256M 232M CPU14 14 0:08 97.22% c++ 78540 vangyzen 1 86 0 218M 193M CPU6 6 0:06 97.05% c++ 78525 vangyzen 1 88 0 235M 210M CPU4 4 0:07 96.88% c++ 78534 vangyzen 1 87 0 233M 209M CPU0 0 0:07 93.82% c++ 78555 vangyzen 1 83 0 188M 163M CPU7 7 0:04 92.36% c++ I did not explicitly set a cpuset. Maybe try updating? I imagine the ALPHA9 builds are running now. --=20 You are receiving this mail because: You are the assignee for the bug.=