From owner-freebsd-xfce@FreeBSD.ORG Sun Dec 18 14:30:16 2011 Return-Path: Delivered-To: xfce@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A779C1065673 for ; Sun, 18 Dec 2011 14:30:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 970608FC17 for ; Sun, 18 Dec 2011 14:30:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBIEUF3x035079 for ; Sun, 18 Dec 2011 14:30:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBIEUFXo035076; Sun, 18 Dec 2011 14:30:15 GMT (envelope-from gnats) Date: Sun, 18 Dec 2011 14:30:15 GMT Message-Id: <201112181430.pBIEUFXo035076@freefall.freebsd.org> To: xfce@FreeBSD.org From: Rene Ladan Cc: Subject: Re: ports/163430: sysutils/xfce4-cpugraph-plugin : fix multiple CPU support X-BeenThere: freebsd-xfce@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rene Ladan List-Id: XFCE for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 14:30:16 -0000 The following reply was made to PR ports/163430; it has been noted by GNATS. From: Rene Ladan To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/163430: sysutils/xfce4-cpugraph-plugin : fix multiple CPU support Date: Sun, 18 Dec 2011 15:21:41 +0100 For some reason, on my dualcore system, the individual bars for core 0 and core 1 are in the reversed order, which can be seen by doing: # cpuset -c -l N /bin/sh subshell# while :; do :; done which puts core N on 100% load. The output of top(1), `sysctl kern.cp_times', and /compat/linux/proc/stat show the correct values, but the plugin show bar 2-N going to 100%. I see the same bug when hacking in __FreeBSD_kernel__ and changing PROC_STAT to "/compat/linux/proc/stat" in os.c. I can test this tomorrow on a hexacore box to possibly find more clues. Patch attached to upstream bug 6531: https://bugzilla.xfce.org/show_bug.cgi?id=6531