[ODE] (no subject)

Russ Smith russ at q12.org
Thu Nov 8 20:40:02 MST 2001


> Well, I ran it and this is what I got:
> grabStackPtr, simLoop :0x68bff40
> and
> grabStackPtr, dInternalStepIsland_x2 :0x68be1ec
> 
> shul

that's not a lot of stack being used. i ran the test myself - with
double precision, the boxstack demo rarely uses more that 10k of stack,
even with up to 50 boxes. but i wasn't stacking them carefully and
they were falling all over the place.

a better test is test_chain1. with 50 spheres in the chain, most of
which are sitting on the ground, the total constraint dimension
count is M=228, and i got 506620 bytes of stack being used (500k).
so:
  stack space ~= 9.7457 M^2

implying about one double precision number per M^2 slots plus a few
M-sized vectors. so ODE's stack usage is reasonable.

russ.

--
Russell Smith
http://www.q12.org



More information about the ODE mailing list