Thomas Valentino Crimi writes: > > Whether libkvm should even exist in a perfect world (it shouldn't) > > is an entirely different question. For now, we're stuck with it > > until somebody changes *everything* to use sysctl instead. > > Just as a question, how much of a performance difference is there > between using libkvm and sysctl? If I were looking for a way to keep > constant tabs on system performance with the minimal impact (think top, > xsysinfo, sysstat, etc), which would I want to use if any difference > exists at all? > > My suspicion would be that sysctl might actually be faster unless > libkvm mmap's /dev/kmem so then that would elimiate the need for > syscalls.
libkvm is probably faster, but it really doesn't matter because they're both probably about the same and the application for this stuff is not performance critical. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message