From owner-freebsd-bugs@freebsd.org Wed Sep 23 13:43:58 2015 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48484A06B24 for ; Wed, 23 Sep 2015 13:43:58 +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 mx1.freebsd.org (Postfix) with ESMTPS id 1B0E915EC for ; Wed, 23 Sep 2015 13:43:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t8NDhvbw080541 for ; Wed, 23 Sep 2015 13:43:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 203284] arm64: bogus CPU % accounting in top Date: Wed, 23 Sep 2015 13:43:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2015 13:43:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203284 Bug ID: 203284 Summary: arm64: bogus CPU % accounting in top Product: Base System Version: 11.0-CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: emaste@freebsd.org a.out is a CPU-bound process that spins at 100% reading and writing memory in a loop, with 32 copies running in parallel on the 48-core system, so I'd expect to see all of them reporting 100% CPU. A snapshot of top looks like: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 822 root 1 103 0 1030M 1024M CPU2 2 34:38 1779.83% a.out 819 root 1 103 0 1030M 1026M CPU17 17 34:41 458.17% a.out 817 root 1 103 0 1030M 1026M CPU44 44 34:41 444.14% a.out 815 root 1 103 0 1030M 1026M CPU42 42 34:41 444.14% a.out 806 root 1 103 0 1030M 1012M CPU38 38 34:44 356.67% a.out 807 root 1 103 0 1030M 1013M CPU30 30 34:44 356.24% a.out 812 root 1 103 0 1030M 1021M CPU5 5 34:41 31.81% a.out 837 root 1 20 0 7660K 1896K CPU25 25 3:16 1.63% top 809 root 1 103 0 1030M 1020M CPU32 32 34:41 0.00% a.out 814 root 1 103 0 1030M 1021M CPU26 26 34:40 0.00% a.out 811 root 1 103 0 1030M 1020M CPU45 45 34:40 0.00% a.out 810 root 1 103 0 1030M 1016M CPU24 24 34:40 0.00% a.out 805 root 1 103 0 1030M 995M CPU29 29 34:38 0.00% a.out 820 root 1 103 0 1030M 1016M CPU33 33 34:38 0.00% a.out 821 root 1 103 0 1030M 1020M CPU8 8 34:37 0.00% a.out 818 root 1 103 0 1030M 1005M CPU19 19 34:37 0.00% a.out 808 root 1 103 0 1030M 1005M CPU36 36 34:36 0.00% a.out Sometimes many process report 400% or so, sometimes only a few. -- You are receiving this mail because: You are the assignee for the bug.