Re: Performance problems

New Message Reply Date view Thread view Subject view Author view

Fischler (src++at++rose)
Fri, 9 Jun 1995 14:36:37 -0700


+>---- On Jun 7, 10:02am, F. KUIJPER 446/3H06/2-5 wrote:
> Subject: Performance problems
->I'm having problems with getting good performance from my Performer
->based simulation application.
->My application is rather complex: about 20 processes running in a process
->share group (including the Performer APP process). Concerning the overall
->application performance, things are OK. One of the processes computes a dynamic
->model of a vehicle and it shows perfect real-time behaviour at a rate
->of 200 Hz.
->
->Description of my visual design:
->- Performer is run in APPCULL_DRAW
->- APPCULL runs with a non-degrading prio at its own isolated CPU
->- DRAW runs with a non-degrading prio at its own isolated CPU
->- Graphics are drawn into a GLX window, using 8-bit multisampling
-> (pfuGLXWinopen is used to open the window)
->
->Description of the problem:
->Running the application on a 8 CPU Onyx (IRIX 5.3, Performer 1.2)
->with RE2, 4RM, everything seems fine: 60 Hz most of the time. UNTIL
->you start to touch the system. Scrolling an X-Window on the system
->will essentially STOP the Performer application... Avarage frame rate
->drops below 10 Hz, even down to 1 Hz. Sometimes (when heavily
->scrolling an X-window e.g.) I see the visual process wait for half a
->second or more.

Drawing in X on the same graphics pipe as your real-time
will disrupt the system - which is what happens when you
scroll your windows. The graphics pipe is thrashing between
X and our performder drawing. Even so though, the above sounds
obviously extreme (1 Hz ???).

Is the performer application using X or IRIS GL input handling ?
There can be performance problems with IRIS GL input handling
when your mouse is outside the window. If it is X input handling,
then that should not be running in the draw process but in an
asynchrounous process.

->Question:
->Is there anyone who has an idear where to look for the source of my
->performance troubles? What are the Performer processes waiting for???
->
->Statistics problems too...
->Getting up a statistics graph would help me. Unfortunately, I can't
->get the stats display up too. Initially, I used a GL window to draw.
->The stats worked OK then. Eversince I work with a GLX window,
->statistics display is a crashing action.

This surprises me. Please give me more information.
You are running Performer 1.2 MR?
>From what process are you calling pfDrawChanStats().
Does the crash happen is Performer is not MP.
What kind of crash? Core dump? Can you send me a stack trace?
A small example program would be great! :-)

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Graphics Dev.
src++at++sgi.com  (415) 390 - 1002  FAX: (415) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:35 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.