Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2005 23:34:21 +0100
From:      Borja Marcos <borjamar@sarenet.es>
To:        Bosko Milekic <bosko.milekic@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: MBUF statistics
Message-ID:  <ce99ff480e0189eec1c5333e839690fe@sarenet.es>
In-Reply-To: <bbebbd3d0502151427b11c3d3@mail.gmail.com>
References:  <02266ed294653cda2452e7ac0a713c2c@sarenet.es> <200502151655.09800.max@love2party.net> <bbebbd3d0502151427b11c3d3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> needs to be changed to accomodate this structure, but in addition to
> that a way to make statistics gathering cheaper would be nice, because
> currently doing a 'vmstat -z' is really terrible for performance.
> Which reminds me... those of you doing benchmarks, please don't run
> 'vmstat -z' while you're doing them, it might skew/pessimize your
> results.

	I'm reading them from a C program with sysctl() and right now it 
doesn't seem to eat a lot.

	Regarding precision, the most useful aspect of these statistics is the 
historic view, and a rough view is enough to spot sudden changes and 
trends.




	Borja.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ce99ff480e0189eec1c5333e839690fe>