PHIGSMON = CPU hog ??

PHIGSMON = CPU hog ??

Post by Joachim Wesn » Wed, 15 Mar 1995 19:29:56



Hi,
another question regarding PHIGS-SI (under Linux). When I open a "default
workstation" via open_phigs, also the monitor-task phigsmon is started to
handle expose events and the like. (I know I can avoid this using open_xphigs,
but I would like to not bother with that for the moment).

The bad thing bad thing is, that (only under Linux ?) phigsmon seems n
endless loop to do this and so steels up to 100% CPU time, running at quite
a high priority, clearly slowing down all other task on the system.
Renicing that task helps a lot without a noticable lag in windows update, but I
really wonder if this behaviour is intended or is due to an error in Linux or
incompatibilities with phigsmon running under X11R6 or what ???? (No other
incompatibilities found yet)

Greetings

Joachim

 
 
 

PHIGSMON = CPU hog ??

Post by Michael J Donah » Fri, 17 Mar 1995 03:55:59




>Hi,
>another question regarding PHIGS-SI (under Linux). When I open a "default
>workstation" via open_phigs, also the monitor-task phigsmon is started to
>handle expose events and the like. (I know I can avoid this using open_xphigs,
>but I would like to not bother with that for the moment).

>The bad thing bad thing is, that (only under Linux ?) phigsmon seems n
>endless loop to do this and so steels up to 100% CPU time, running at quite
>a high priority, clearly slowing down all other task on the system.
>Renicing that task helps a lot without a noticable lag in windows update, but I
>really wonder if this behaviour is intended or is due to an error in Linux or
>incompatibilities with phigsmon running under X11R6 or what ???? (No other
>incompatibilities found yet)

I don't use PHIGS, so this may not be relevant, but I haven't been
able to get select() to function properly under Linux.  I have a
program that forks the event loop off in a child process, and tries to
use select() to know when to wake up (for inter-process communication
and to handle events).  Since select() doesn't work right, I end up
looping constantly through the event loop, which just burns CPU
cycles.  Your problem may be similar.

-mike


 
 
 

PHIGSMON = CPU hog ??

Post by Karl Schul » Sun, 19 Mar 1995 00:45:23



Quote:> Hi,
> another question regarding PHIGS-SI (under Linux). When I open a "default
> workstation" via open_phigs, also the monitor-task phigsmon is started to
> handle expose events and the like. (I know I can avoid this using open_xphigs,
> but I would like to not bother with that for the moment).

> The bad thing bad thing is, that (only under Linux ?) phigsmon seems n
> endless loop to do this and so steels up to 100% CPU time, running at quite
> a high priority, clearly slowing down all other task on the system.
> Renicing that task helps a lot without a noticable lag in windows update, but I
> really wonder if this behaviour is intended or is due to an error in Linux or
> incompatibilities with phigsmon running under X11R6 or what ???? (No other
> incompatibilities found yet)

I'm a bit fuzzy on the PHIGS-SI nowadays, but I remember seeing this
problem once before.  If you look at the source code for phigsmon, you'll
see a number of #ifdefs that control code generation for different
flavors of IPC to be used between the phigsmon process and the application
process.  Try using differnt settings (in the makefile) and recompiling
phigsmon and perhaps the PHIGS lib.  This particular code is very OS-dependent.
It is pretty common for distributors of the PHIGS-SI to not
set up these particular defines correctly.  I can't tell you the right settings
because I do not work with Linux.
 
 
 

1. syslogd being a CPU hog --- why?

I have a redhat 5.2 system that is receiving syslog messages from several
other systems at that rate of about
1 message / second.  According to top, syslogd is consuming about 95% of my
CPU (400 Mhz Pentium something).
I've straced the process and the syslogd process is spending 99% of it's
time in the fsync call.  What have
I set up wrong, or what do I need to fix to correct this CPU hog?  Please
respond to the newsgroup as well

Benny Jones

2. mail delivering problem

3. Proccesses that hog CPU time. Help!

4. Cable TV Montgomery Expressnet problems

5. login delay due to sed hogging up all CPU (3.1.1)

6. portableity and bc

7. Xsun hogging cpu

8. HP JetDirect Data Loss

9. hogging the cpu

10. Looking for CPU Hog / performance utility

11. detecting CPU hogs

12. ircii for Linux hogs CPU, solution

13. Need help: Kppp hogs the CPU.