From owner-freebsd-current Mon Jan 25 10:21:32 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA19276 for freebsd-current-outgoing; Mon, 25 Jan 1999 10:21:32 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from po8.andrew.cmu.edu (PO8.ANDREW.CMU.EDU [128.2.10.108]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA19265 for ; Mon, 25 Jan 1999 10:21:26 -0800 (PST) (envelope-from tcrimi+@andrew.cmu.edu) Received: (from postman@localhost) by po8.andrew.cmu.edu (8.8.5/8.8.2) id NAA06170; Mon, 25 Jan 1999 13:21:17 -0500 (EST) Received: via switchmail; Mon, 25 Jan 1999 13:21:16 -0500 (EST) Received: from po6.andrew.cmu.edu via qmail ID ; Mon, 25 Jan 1999 13:20:39 -0500 (EST) Received: from unix15.andrew.cmu.edu via qmail ID ; Sun, 24 Jan 1999 17:00:26 -0500 (EST) Received: from mms.4.60.Jun.27.1996.03.02.53.sun4.51.EzMail.2.0.CUILIB.3.45.SNAP.NOT.LINKED.unix15.andrew.cmu.edu.sun4m.54 via MS.5.6.unix15.andrew.cmu.edu.sun4_51; Sun, 24 Jan 1999 17:00:26 -0500 (EST) Message-ID: Date: Sun, 24 Jan 1999 17:00:26 -0500 (EST) From: Thomas Valentino Crimi To: julian@whistle.com (Julian Elischer), Archie Cobbs Subject: Re: kvm question Cc: wollman@khavrinen.lcs.mit.edu, current@FreeBSD.ORG In-Reply-To: <199901242130.NAA21377@bubba.whistle.com> References: <199901242130.NAA21377@bubba.whistle.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Excerpts from FreeBSD-Current: 24-Jan-99 Re: kvm question by Archie Cobbs@whistle.com > 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 may never fully die to support 3rd party software, but that is no reason to not upgrade the userland we do have control over so that ps and top will work under any kernel upgrade. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message