Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2003 17:46:23 +0200 (CEST)
From:      Harti Brandt <brandt@fokus.fraunhofer.de>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        current@freebsd.org
Subject:   Re: /dev/shm
Message-ID:  <20030707174510.D49607@beagle.fokus.fraunhofer.de>
In-Reply-To: <20030707154235.GD71703@dan.emsphone.com>
References:  <3F08B199.3050409@comcast.net> <3F08B79B.2040805@gmx.net> <20030707002347.GC5141@aurema.com> <20030706203440.D89894@vhost101.his.com> <3F08C4FD.8010107@gmx.net> <m3el12lf91.fsf@merlin.emma.line.org> <3F09663D.9020200@gmx.net> <20030707154235.GD71703@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030707174510.D49607>