[clean-list] Concurrent/parallel threads in CLEAN
Marco Kesseler
m.kesseler at xs4all.nl
Thu May 14 23:40:32 MEST 2009
Hi John,
Well, that does not sound utterly unbearable.
cheers,
Marco
On May 14, 2009, at 5:45 PM, John van Groningen wrote:
>
> 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