From owner-freebsd-current@FreeBSD.ORG Sun Mar 14 07:09:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D2CE16A4CE for ; Sun, 14 Mar 2004 07:09:38 -0800 (PST) Received: from memphis.mephi.ru (memphis.mephi.ru [194.67.67.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DF9C43D41 for ; Sun, 14 Mar 2004 07:09:37 -0800 (PST) (envelope-from timon@memphis.mephi.ru) Received: from [192.168.0.3] (ppp8-4.pppoe.mtu-net.ru [81.195.8.4]) (authenticated bits=0) by memphis.mephi.ru (8.12.6p2/8.12.6) with ESMTP id i2EF9Xxx001552 for ; Sun, 14 Mar 2004 18:09:34 +0300 (MSK) (envelope-from timon@memphis.mephi.ru) From: Artem Ignatiev To: freebsd-current@freebsd.org Content-Type: text/plain Message-Id: <1079276960.918.14.camel@timon.nist> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 14 Mar 2004 18:09:20 +0300 Content-Transfer-Encoding: 7bit Subject: broken top stats X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2004 15:09:38 -0000 Hello, I've noticed that top now is now unreliable in measuring system performance. [timon@timon timon]$ uname -mv FreeBSD 5.2-CURRENT #19: Sat Mar 13 16:27:48 MSK 2004 root@timon.nist:/usr/obj/usr/src/sys/TIMON i386 options SCHED_ULE (cvsupped just before rebuilding kernel & world) top gives weird CPU/WCPU usage: only first (rarely, first couple) of processes displayed have non-zero CPU/WCPU usage, all others have zero cpu usage, but totals, shown in second line of top output differs from sum of values in CPU column alot. Same with ps. E.g.: 51 processes: 2 running, 49 sleeping CPU: 20.2% user, 0.0% nice, 3.5% system, 2.3% interrupt, 74.0% idle Mem: 168M Active, 141M Inact, 98M Wired, 716K Cache, 60M Buf, 91M Free Swap: 231M Total, 231M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU CMD 1363 timon 77 0 49544K 42140K RUN 1:11 6.25% 6.25% mozill 890 timon 77 0 100M 83152K select 1:21 3.12% 3.12% XFree8 1344 timon 20 0 16184K 13144K kserel 1:55 0.00% 0.00% xmms 918 timon 20 0 78616K 50344K kserel 0:44 0.00% 0.00% evolut 901 timon 76 0 5556K 2604K select 0:25 0.00% 0.00% wmusic 919 timon 20 0 41304K 37836K kserel 0:21 0.00% 0.00% pan 900 timon 8 0 2196K 1616K nanslp 0:06 0.00% 0.00% wmWeat 899 timon 8 0 2196K 1616K nanslp 0:06 0.00% 0.00% wmWeat 895 timon 76 0 6552K 5872K select 0:05 0.00% 0.00% wmaker