[clean-list] Concurrent/parallel threads in CLEAN

John van Groningen johnvg at cs.ru.nl
Thu May 14 17:45:12 MEST 2009


Hi Marko,

>Just wondering: What is too slow to support a shared heap? Two times slower? Ten times?

This depends on the processor and how many locks are necessary. Using a
locked instruction only if a thunk has to be evaluated, will probably
increase the exection time about 30 to 50 percent on current Intel Core ..
and AMD processors. On these processors a locked instructions takes at least
about 20 clock cycles. On a Pentium 4 processor however this is about a 100
clock cycles.

Kind regards,

John van Groningen



More information about the clean-list mailing list