Long load time

Discuss scenes and videos made with Algodoo.

Long load time

Postby Henke103 » Fri May 06, 2011 10:43 pm

Hi I have a pretty big issue with my new scene, when I press undo or ctrl + z, it takes like a minute to undo.
I have about 2600 geometries in the scene and no lag. I have 8bg ddr3 ram and an intel i7 950 processor so there shouldn't be a problem. Can I fix this? Cause it's really enoying.
Henke103
 
Posts: 9
Joined: Tue Nov 30, 2010 11:23 pm

Re: Long load time

Postby Henke103 » Fri May 06, 2011 10:56 pm

Any ideas?
Henke103
 
Posts: 9
Joined: Tue Nov 30, 2010 11:23 pm

Re: Long load time

Postby TC42 » Sat May 07, 2011 12:04 am

Welcome to the forums!

With 2600 objects, any physics program will lag. In this case, the long wait is probably because the program probably has to re-load the scene. This would require a lot more power than simply running the sim. If I tried to load a 2600 geom sim on my PC, it might take ~10-15 minutes to load, since my PC has a fraction of the power of yours.

This is my theory about the long load times... you may want to double check with Emil to see if my explanation is correct.

My suggestion would be to reduce the number of stored undos to ~10 (usually all I need) or 20. You can do this by typing app.maxundo=10 into the console (press"~" to bring up console). App.maxundo is simply the number of actions that algodoo stores so that you can undo things. Also, try typing sim.frequency into the console. It should return
Code: Select all
value=100
     default=100

If it doesn't, please say so. Sim.frequency is the number of times that algodoo checks for collisions and performs equations per second. It is measured in Hz. So sim.frequency=100 means that algodoo is performing (in your case) thousands, maybe millions of equations 100 times per second. Increasing sim.frequency results in more lag, but a more accurate sim.

I suggest you check to see if your graphics drivers are up to date. What operating system do you use?
Image
Spambot wrote:Nowadays, memes usually are studied less in the field of biology, but more with the arena of psychology along with sociology. But, the major area of a meme, getting embraced and imitated all the time is what’s at any core connected with any meme.
User avatar
TC42
 
Posts: 984
Joined: Sun Jan 09, 2011 1:53 pm
Location: $ sudo apt get-install sandwich_

Re: Long load time

Postby electronicboy » Sat May 07, 2011 12:42 am

i believe he will be using vista or win7
Xp 64bit is fairly uncommon

What GPU have you got? And are the drivers up to date

Also, i would suggest trying to disable the cpus speedstep when using algodoo as it may be putting your cpu on a low frequency.

I feel this may have something to do with it as algodoo only uses one core and may not get the cpu to "step" up.

But it is a large scene and is to be slightly expected, no matter what how great your hardware is.
When asking for help, READ THE STICKIES!
electronicboy
 
Posts: 1694
Joined: Mon Aug 31, 2009 6:18 pm

Re: Long load time

Postby Henke103 » Sat May 07, 2011 1:53 am

I'm running Windows 7 64 bit, and yes my drivers are up to date. I have a Geforce 250 GTS so it's not the best video card and the simulation is running in 100Hz and the max undo didn't help that mutch.
Henke103
 
Posts: 9
Joined: Tue Nov 30, 2010 11:23 pm

Re: Long load time

Postby electronicboy » Sat May 07, 2011 11:44 am

Did you try turning off the "speedstep" system on your CPU?
When asking for help, READ THE STICKIES!
electronicboy
 
Posts: 1694
Joined: Mon Aug 31, 2009 6:18 pm

Re: Long load time

Postby Henke103 » Sat May 07, 2011 11:49 am

Don't know what that is
Henke103
 
Posts: 9
Joined: Tue Nov 30, 2010 11:23 pm

Re: Long load time

Postby ImaPirate » Fri Jul 29, 2011 6:24 pm

I used to get this issue but I fixed it by setting Threading.numthreads to 6 ( to match my CPU ) and it never did it again.

As for the beta, it's unstable with more than one thread and crashes.
User avatar
ImaPirate
 
Posts: 65
Joined: Mon Oct 12, 2009 6:24 pm


Return to Scenes

Who is online

Users browsing this forum: No registered users and 6 guests