From owner-freebsd-current Wed Sep 23 12:53:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA01995 for freebsd-current-outgoing; Wed, 23 Sep 1998 12:53:15 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA01954; Wed, 23 Sep 1998 12:52:58 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.9.1/8.9.1/Spinner) with ESMTP id AAA08321; Wed, 23 Sep 1998 00:46:35 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199809221646.AAA08321@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Steve Passe cc: Frank Nobis , freebsd-smp@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: Weired top display at smp current kernel from today In-reply-to: Your message of "Mon, 21 Sep 1998 09:30:29 CST." <199809211530.JAA09435@Ilsa.StevesCafe.com> Date: Wed, 23 Sep 1998 00:46:35 +0800 From: Peter Wemm Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Steve Passe wrote: > Hi, > > Running a mkae world -j4 I noticed only 50% idle time during the make. > > > > Running just two programs whit a busy loop gives that output fron top > > ... > > Is this a bug in top? Can someone reproduce that? > > > > pig is simply 'for(;;) i++;' > > > > --- > running two copies of pig: > > last pid: 22687; load averages: 1.30, 0.60, 0.27 09:25: 16 > 29 processes: 3 running, 26 sleeping > CPU states: 99.8% user, 0.0% nice, 0.2% system, 0.0% interrupt, 0.0% idle > Mem: 18M Active, 20M Inact, 50M Wired, 236M Cache, 7916K Buf, 180M Free > Swap: 300M Total, 300M Free > > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND > 22682 root 105 0 748K 240K RUN 0 0:48 99.32% 90.33% pig > 22683 root 105 0 748K 240K CPU1 1 0:46 99.39% 89.45% pig > > --- > This is with a system cvsup'ed midday yesterday. Running an ELF world? I used to see top showing itself on CPU0 or CPU1, with two processes in "RUN" state and nothing else on the other CPU. > -- > Steve Passe | powered by > smp@csn.net | Symmetric MultiProcessor FreeBSD Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message