WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-27-2008, 09:14 AM
Mike Konstant Mike Konstant is offline
Member
 
Join Date: Jun 2008
Posts: 5
Question fps performance caused by garbage collection?

Dear Vizard Users,

I am a new user to this group so appoligize in advance if I break protocol.

I am running a virtual reality simulation under Vizard Development Edition 101-89172709 Version 3.00.2701. The simulation works fine most of the time however once and a while the frame rate drops from 60fps down to 20-30ftps with no direct association with the users actions. Has anyone experience such intermittent performance? Can anyone suggest what approach should be taken to trackdown such a problem? More details of what I am facing is given below, for anyone interested;

The computer system is a NVIDIA NFORCE 680i LT SLI Intel Pentium III (2GB RAM) motherboard with a GeForce 8800 GTX card.

The python program running the simulation is multi-threaded. The simulation has static and dynamic objects in the environment. Below is a description of some testing I performed.
Test 1.
Ran simulator from IDE without the dynamic objects; no fps problem
Ran simulator from IDE with the dynamic objects; fps problem after 5 min
Test 2.
Repeated Test 1. Same results
Test 3.
Reset computer
Repeated Test 1. Same results.
Test 4.
Repeated Test 1, but also
Ran simulator from IDE again with the dynamic objects; no fps problem
Test 5.
Ran simulator from ouside IDE without dynamic objects; no fps problem
Ran simulator from ouside IDE with dynamic objects; no fps problem

As illustrated above, replicating this problem is a challenge and I can only guess that it may be cause by memory problems and perhaps related to garbage collection? Could this be a hardware issue? Any insight related to such symptoms would be greatly appreciated.

My current course of action is to eliminate portions of the simulator code until I get a configuration where the fps never drop. I hope I'm lucky and isolate the rogue code responsible for consuming the CPU time and causing the frame rate to underperform. (By the way, I have tried changing the vizard.exe priority to real-time, that just crashes the simiulator)

Mike
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Improve performance with large number of onthefly objects? Fox5 Vizard 7 04-28-2008 06:19 PM
massive performance hit for stereo mode Matt Vizard 3 03-30-2004 08:32 PM
Improving Performance lucalatini Vizard 1 02-10-2004 12:31 PM


All times are GMT -7. The time now is 07:40 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC