Date: Thu, 23 Aug 2001 12:23:15 -0400 From: Mike Tancsa <mike@sentex.net> To: Brian McGovern <bmcgover@cisco.com>, freebsd-qa@FreeBSD.ORG Cc: freebsd-stable@FreeBSD.ORG Subject: Re: top takes excessively long time to start on RC1.... Message-ID: <5.1.0.14.0.20010823121939.03e928f0@marble.sentex.ca> In-Reply-To: <200108231604.f7NG45j01008@bmcgover-pc.cisco.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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-qa" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20010823121939.03e928f0>