From owner-freebsd-stable Thu Aug 23 9:28:56 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by hub.freebsd.org (Postfix) with ESMTP id CFB6C37B421; Thu, 23 Aug 2001 09:28:47 -0700 (PDT) (envelope-from mike@sentex.net) Received: from simoeon.sentex.net (pyroxene.sentex.ca [199.212.134.18]) by smtp1.sentex.ca (8.11.6/8.11.6) with ESMTP id f7NGSiY43941; Thu, 23 Aug 2001 12:28:44 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <5.1.0.14.0.20010823121939.03e928f0@marble.sentex.ca> X-Sender: mdtpop@marble.sentex.ca X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 23 Aug 2001 12:23:15 -0400 To: Brian McGovern , freebsd-qa@FreeBSD.ORG From: Mike Tancsa Subject: Re: top takes excessively long time to start on RC1.... Cc: freebsd-stable@FreeBSD.ORG In-Reply-To: <200108231604.f7NG45j01008@bmcgover-pc.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG What if you start it with top -u ? Also, did you in make.conf adjust # top(1) uses a hash table for the user names. The size of this hash # can be tuned to match the number of local users. The table size should # be a prime number approximately twice as large as the number of lines in # /etc/passwd. The default number is 20011. # #TOP_TABLE_SIZE= 101 # At 12:04 PM 8/23/01 -0400, Brian McGovern wrote: >I've run in to a rather disturbing problem. > >When running a fresh install of 4.4RC1 (not an upgrade), I try to run top. It >takes approximately 1 minute, 29 seconds to begin to display data. > >The machine is a pretty typical P3 with an Intel card, 3 IDE disks and 2 >SCSI disks. > >systat -vmstat takes ~2 seconds to start (not bad). > >With multiple windows open, it appears that starting top isn't bogging >the system down (it stays mostly idle). There are no more/less interrupts, >top and systat don't show anything becoming a CPU hog, no drop in memory, etc. > >Subsequent invocations (2nd, 3rd, 4th, etc.) after stopping the first take as >long. Parallel invocations take about 55 seconds to start displaying data. > >In looking at the top display, it appears (when running two) that one is in >the RUN state, and the other in the select state. This may be a clue. > > -Brian > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message