From: Alex Tomas <bzzz@tmi.comex.ru>
To: William Lee Irwin III <wli@holomorphy.com>
Cc: Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>,
David Lang <david.lang@digitalinsight.com>,
Robert Love <rml@tech9.net>, Till Immanuel Patzschke <tip@inw.de>,
lse-tech <lse-tech@lists.sourceforge.net>,
linux-kernel@vger.kernel.org
Subject: Re: [Lse-tech] Re: 15000+ processes -- poor performance ?!
Date: 19 Dec 2002 13:37:30 +0300 [thread overview]
Message-ID: <m3u1hapa51.fsf@lexa.home.net> (raw)
In-Reply-To: <20021219102720.GT31800@holomorphy.com>
>>>>> William Lee Irwin (WLI) writes:
WLI> On 19 December 2002 00:05, William Lee Irwin III wrote:
>>> Well, a better solution would be a userspace free of /proc/
>>> dependency. Or actually fixing the kernel. proc_pid_readdir()
>>> wants an efficiently indexable linear list, e.g. TAOCP's 6.2.3
>>> "Linear List Representation". At that point its expense is
>>> proportional to the buffer size and "seeking" about the list as
>>> it is wont to do is O(lg(processes)).
WLI> On Thu, Dec 19, 2002 at 01:05:03PM -0200, Denis Vlasenko wrote:
>> A short-time solution: run top d 30 to make it refresh only every
>> 30 seconds. This will greatly reduce top's own load skew.
WLI> As userspace solutions go your suggestions is just as good. The
WLI> kernel still needs to get its act together and with some
WLI> urgency.
what about retreiving info from /proc/kmem or something like? just to
avoid binary -> text(proc) -> binary
next prev parent reply other threads:[~2002-12-19 10:37 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-19 0:46 Till Immanuel Patzschke
2002-12-19 0:47 ` [Lse-tech] " Martin J. Bligh
2002-12-19 0:53 ` Till Immanuel Patzschke
2002-12-19 1:15 ` William Lee Irwin III
2002-12-19 1:12 ` David Lang
2002-12-19 1:25 ` William Lee Irwin III
2002-12-19 1:20 ` David Lang
2002-12-19 1:36 ` William Lee Irwin III
2002-12-19 1:42 ` Robert Love
2002-12-19 1:44 ` David Lang
2002-12-19 2:05 ` [Lse-tech] " William Lee Irwin III
2002-12-19 15:05 ` Denis Vlasenko
2002-12-19 10:27 ` William Lee Irwin III
2002-12-19 10:37 ` Alex Tomas [this message]
2002-12-19 10:55 ` William Lee Irwin III
2002-12-19 15:24 ` Martin J. Bligh
2002-12-19 15:15 ` Denis Vlasenko
2002-12-19 1:24 ` William Lee Irwin III
2002-12-19 0:59 ` Jeff Garzik
2002-12-19 1:11 ` William Lee Irwin III
2002-12-19 14:59 ` Denis Vlasenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3u1hapa51.fsf@lexa.home.net \
--to=bzzz@tmi.comex.ru \
--cc=david.lang@digitalinsight.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lse-tech@lists.sourceforge.net \
--cc=rml@tech9.net \
--cc=tip@inw.de \
--cc=vda@port.imtp.ilyichevsk.odessa.ua \
--cc=wli@holomorphy.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®