[mcclim-devel] CPU usage > 95% when running McCLIM apps

Paolo Amoroso amoroso at mclink.it
Mon Jan 3 09:03:53 UTC 2005


When I run a McCLIM application, according to `top' CPU usage is
constantly above 95% or so, and the KDE System Monitor reports about
50% for CPU 1.  Here is a typical `top' entry when running the CLIM
Listener:

top - 09:52:31 up 3 min,  1 user,  load average: 0.37, 0.23, 0.10
Tasks:  78 total,   2 running,  76 sleeping,   0 stopped,   0 zombie
Cpu(s): 14.3% us, 36.0% sy,  0.0% ni, 49.7% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:   2075012k total,   301272k used,  1773740k free,    11244k buffers
Swap:  2004420k total,        0k used,  2004420k free,   165556k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 2728 paolo     25   0 1284m  37m  45m S 99.9  1.8   0:18.87 cmucl
[...]

When only the CMUCL toplevel is running, it is below 1%.  Why is CPU
usage so high with McCLIM applications?  Is it real or some sort of
measuring artifact?

I use the latest McCLIM CVS sources with CMUCL Snapshot 2004-12 under
Slackware Linux 10.0.  My PC is a 2.8 GHz Pentium IV with 2 GB of RAM.


Paolo
-- 
Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film



More information about the mcclim-devel mailing list