problem with shared heap?

Vlad Dumitrescu (EAW) Vlad.Dumitrescu@REDACTED
Thu Mar 6 12:44:51 CET 2003


Hi,

> You misinterpreted me, (or I didn't make myself clear). I 
> don't expect 
> it to be faster in all cases, but I wouldn't expect to see any cases 
> where a shared heap performed worse than without it. Maybe on 
> par, but 
> not worse. Hence my question, will there be cases where using 
> a shared 
> heap will degrade performance?

The answer is yes. For example in cases where many processes are spawned which create a lot of garbage and then die. In the normal heap case, the cleanup is almost instantaneous. With a shared heap, garbage collections need to be done.

regards,
Vlad



More information about the erlang-questions mailing list