From owner-freebsd-current@FreeBSD.ORG Mon Jul 7 08:46:36 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5A9837B401 for ; Mon, 7 Jul 2003 08:46:36 -0700 (PDT) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 226E143F93 for ; Mon, 7 Jul 2003 08:46:35 -0700 (PDT) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])h67FkNQ09698; Mon, 7 Jul 2003 17:46:23 +0200 (MEST) Date: Mon, 7 Jul 2003 17:46:23 +0200 (CEST) From: Harti Brandt To: Dan Nelson In-Reply-To: <20030707154235.GD71703@dan.emsphone.com> Message-ID: <20030707174510.D49607@beagle.fokus.fraunhofer.de> References: <3F08B199.3050409@comcast.net> <3F08B79B.2040805@gmx.net> <20030707002347.GC5141@aurema.com> <20030706203440.D89894@vhost101.his.com> <3F08C4FD.8010107@gmx.net> <3F09663D.9020200@gmx.net> <20030707154235.GD71703@dan.emsphone.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Matthias Andree cc: current@freebsd.org Subject: Re: /dev/shm X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: harti@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 15:46:37 -0000 Hi, I'm not sure, whether this mailing list is the correct place for linux-centered discussions. Perhaps you want to continue via private mail? Regards, harti On Mon, 7 Jul 2003, Dan Nelson wrote: DN>In the last episode (Jul 07), Matthias Andree said: DN>> Marcin Dalecki schrieb am 2003-07-07: DN>> > Matthias Andree wrote: DN>> > >Update your Linux top or run fewer processes on it then. :-> DN>> > DN>> > You know that file system name lookup is one of the most expensive DN>> > system calls under UNIX? DN>> DN>> So what? If you don't like the interface because it does ever so DN>> expensive file system lookups (I wonder what's so expensive if no DN>> disk drive latencies are involved), suggest a better one and donate DN>> an implementation. DN>> DN>> I'm sure I'd find disadvantages of non-Linux top if I only cared to DN>> look. I don't. It works when I need it, it's not in my way otherwise, DN>> that's as much as I care. DN> DN>There is already a functional non-procfs implementation that has been DN>around long before procps top: groupsys top 3.5b12 (i.e. the top that DN>all other non-Linux systems use) compiles fine on even the newest Linux DN>kernels with the attached patch. It's one of the first things I build DN>on a new Linux box. Procps top is way too slow; it takes a full 5 DN>seconds just for the first screen refresh on a mostly-idle box with 400 DN>processes. groupsys top is basically instantaneous. And don't think DN>about accidentally hitting a cursor or function key which running DN>procps top; it doesn't even use curses, so it beeps and waits 2 seconds DN>for each character in the escape sequence :) DN> DN> -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org