lkml.org 
[lkml]   [1997]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[2.1.36] Process resource usage (and process startup problems?)
-----BEGIN PGP SIGNED MESSAGE-----

Hi. I've noticed that under 2.1.36 there doesn't appear to be any
tracking done of how much CPU time a process has used. This can be seen
by clock() always returning 0 and in, for example, a top listing whereby
none of the processes appear to be using any CPU time at all. The shell's
"time" function also fails to find anything I run using any CPU time at
all. Sadly I do know this is not the case... if only it was true. :)
I'm imagining this is related to the SMP code being overhauled in
recent kernel revisions, but haven't even thought about trying to find
it yet. Has anyone else noticed this, and if so is it something simple
like the inode chown() problem? :)

The other thing I've noticed is that sometimes the machine appears to
lockup, but stuff that is running continues to run. Newly created
processes appear to take forever to startup. Then all of a sudden the
problem goes away and things proceed at full speed. This was noticed
after firing up xdm and logging in. The .xsession appears to run at full
speed, but anything invoked by things invoked by .xsession stalls. Hmmm.
That last sentence is rather hard to parse -- an example is that my
xterms fire up on cue, but the shells and shell startup scripts halt for
a while. Maybe it's just grainy scheduling or something.

Anyway I'm not sure that's of much use but after following the traffic
on this list for a few days and reading the archives I can't see where
it's been mentioned by anyone else.

Regards,

- Andrew
- --
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ /\/\/\/\/\/\/\
/ Andrew Snare: \ \ A dirty \
/ -> earthpig@yoyo.cc.monash.edu.au \ \ book \
\ Goofey: earthpig IRC: Earthpig \ \ is seldom /
\ http://yoyo.cc.monash.edu.au/~earthpig \ \ dusty /
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ \/\/\/\/\/

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBM22mlz9oumhqYnjxAQHewgP+OiMXq1tAxjOfToHGBcpqKDIu8aGnMI68
qMHb/dcCl5Dz6w31qunc0rTCbGq/N41r2qpscafi8WaZj1gpyCVY3OR5U2DDk+BC
DWntE7sqArdSG4BkRyjvLhvJDgWbzBGc9K7Pfhe4mMK5Lq+L/PBCcv8MEZOZfqqS
IsmMULsdYj4=
=CxoE
-----END PGP SIGNATURE-----

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