MBUF statistics

Borja Marcos borjamar at sarenet.es
Tue Feb 15 14:34:24 PST 2005


> 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.




More information about the freebsd-hackers mailing list