[squeak-dev] Looking for real-world Magma application

Levente Uzonyi leves at elte.hu
Tue Nov 2 17:06:05 UTC 2010


On Tue, 2 Nov 2010, Norberto Manzanos wrote:

snip

> In a linear progression, total time for 76000 records would be 12 hours,
> which is not very good. But time doesn't grow lineary but exponentially.

I doubt it's exponential, I'm pretty sure it's just quadratic.
IIRC there's a test case in Gjallar which pushes 100000 records to the 
database. IIRC it was pretty slow, like 10 or 30 minutes, but it was based 
on Sqeuak 3.8 and was nowhere near hours, days or weeks. Now there's a 
faster VM, faster sets and dictionaries and better finalization available 
in Squeak and Magma. In december we will have even faster finalization 
available (via the new official VMs) which should improve Magma's 
performance.

> I tried with 12000 records: 5 hours 30 minutes. How must I supose it will
> take with 76000 records. 2 days?  3?
> These are not times for a process I surely will perform again as my model
> grows.
> The numbers tells, once again, that the problem is not adding the objects,
> merging or materializing them but  searching on a MagmaCollection. Time goes
> by and this problem is not solved.

Did you try profiling the code to see what causes the slowdown? Did you 
tune the garbage collector? Are you using CogVM or SqueakVM? Which image 
do you use? Can you make the code available, so others can test it too?


Levente

>
> I'm desperate.
> I have no way of persist my objects if I want to avoid everybody laughing at
> me.
>
> Norberto

snip



More information about the Squeak-dev mailing list