From owner-freebsd-current Thu Sep 21 19:33:20 2000 Delivered-To: freebsd-current@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 0780B37B42C for ; Thu, 21 Sep 2000 19:33:18 -0700 (PDT) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.11.0/8.9.3) with ESMTP id e8M2X7i36645; Thu, 21 Sep 2000 19:33:07 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: (from jhb@localhost) by foo.osd.bsdi.com (8.11.0/8.11.0) id e8M2VYG13520; Thu, 21 Sep 2000 19:31:34 -0700 (PDT) (envelope-from jhb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <39CA2B9C.DB675E0D@we.lc.ehu.es> Date: Thu, 21 Sep 2000 19:31:33 -0700 (PDT) Organization: BSD, Inc. From: John Baldwin To: "Jose M. Alcaide" Subject: RE: processes only consume system time ???? Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 21-Sep-00 Jose M. Alcaide wrote: > This happens with freshly built -CURRENT, on an uniprocessor machine: > > $ cat loop.c > main() { while (1); } > $ time ./loop > [ wait for ten seconds... ] > ^C > real 0m9.982s > user 0m0.000s > sys 0m5.689s > > Uh? Other utilities, such as top(1) and systat(1) show that 100% of time > is accounted to the system. I imagine that this is related to SMPng... Yes. This is a FAQ. The accounting is screwed up, and some of the statistics are wrong. Your system is scheduling processes close enough to normal that you shouldn't have any problems. > Any clues? > > Cheers, > -- JMA -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message