From owner-freebsd-bugs Mon Dec 10 5:30:12 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3F3C337B405 for ; Mon, 10 Dec 2001 05:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBADU2Y26351; Mon, 10 Dec 2001 05:30:02 -0800 (PST) (envelope-from gnats) Date: Mon, 10 Dec 2001 05:30:02 -0800 (PST) Message-Id: <200112101330.fBADU2Y26351@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bruce Evans Subject: Re: bin/32667: systat waste too much time reading input Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/32667; it has been noted by GNATS. From: Bruce Evans To: "Vladimir B.Grebenschikov" Cc: Subject: Re: bin/32667: systat waste too much time reading input Date: Tue, 11 Dec 2001 00:28:30 +1100 (EST) On Mon, 10 Dec 2001, Vladimir B.Grebenschikov wrote: > Have tried also on 4.4-RELEASE - same problem > >Description: > I have found that on same, not busy system top & systat runing > simulataniosly "eat" very different amount of CPU time, like: > > CPU > 5.37% systat > 0.01% top > > triing find out what happens, I have tried to run > systat -vm 1 < /dev/null > And found that systat eats a lot of system resources during input > > WCPU CPU > 63.05% 16.36% systat This seems to be because the VM_METER sysctl is increadibly slow. It takes 13 msec here on an Athlon1600XP system with 512MB memory, but "only" 3 msec on a Celeron366 system with 256MB memory. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message