From owner-freebsd-current Mon Jan 25 14:13:40 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA20675 for freebsd-current-outgoing; Mon, 25 Jan 1999 14:13:40 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA20670 for ; Mon, 25 Jan 1999 14:13:39 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id OAA14785; Mon, 25 Jan 1999 14:13:30 -0800 (PST) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma014781; Mon, 25 Jan 99 14:13:27 -0800 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id OAA18042; Mon, 25 Jan 1999 14:13:27 -0800 (PST) From: Archie Cobbs Message-Id: <199901252213.OAA18042@bubba.whistle.com> Subject: Re: kvm question In-Reply-To: from Thomas Valentino Crimi at "Jan 24, 99 05:00:26 pm" To: tcrimi+@andrew.cmu.edu (Thomas Valentino Crimi) Date: Mon, 25 Jan 1999 14:13:27 -0800 (PST) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message