Eh, 'other seven CPU:s'.
/ Per Hedbor ()
Previous text:
2004-02-03 12:33: Subject: Re: Default backend and thread backends?
But of course. Consider, however, a eight CPU system, where the other four CPU:s also have LOCK# high. You then have to wait for at least 7 memory latency delays, which is almost forever with modern CPU:s.
Also, the memory access that is accompanied by LOCK tends to involve physical RAM, not cache (since reading the data from the processor local cache would defeat the purpose), which on a P4 takes _at least_ 200 cycles.
Now, consider having a LOCK for each reference count change in pike (this is basically what hubbe implemented). You get severe slowdowns.
/ Per Hedbor ()