lkml.org 
[lkml]   [2000]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /proc guidelines and sysctl
Hi!

> >That procps and procfs are dog slow (just read what I wrote). And (an
> >enhanced) sysctl would provide for a far faster top!
>
> Admittedly, in the case where you start top and lean on the spacebar
> it would be faster, but it seems like having top refresh 30+ times a
> second would be wasting 29+ of those refreshes.
>
> On my build machine (which, admittedly, is one of my K7s, so the
> figures are a bit skewed) top[+], when refreshing every second,
> takes 0.99% of the processor. And on the Celeron/338 I'm using as a
> workstation, it takes a princely .098% to do the same.

Probably not true, kernel cpu usage metters like to lie for exactly
this kind of applications. Hold spacebar. If you are right, it should
eat 30% of cpu, then. It does not.
Pavel
--
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents me at discuss@linmodems.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.064 / U:1.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site