[Vm-dev] Issue 99 in cog: Link LZ4 Compression

Levente Uzonyi leves at elte.hu
Sat Oct 13 15:57:43 UTC 2012


On Sat, 13 Oct 2012, Camillo Bruni wrote:

>
>>>> The larger the VM binary is, the slower it will be on today's CPUs.
>>>
>>> how come?
>>
>> It's because of the cache hierarchy. You don't have control over what will be where in a binary, or what sizes and levels of cache a CPU has. The smaller the binary is, the higher the chance that the part of the VM which needs to be used right now is in the CPU cache. I wrote about this a few years ago. I found that building all non-essential plugins as external gives ~4-5% better performance (using the Interpreter).
>
> sounds interesting, you have a link on that?

It was on this list a few years ago, but I can't find it. Doing the 
experiment yourself is rather easy to do. With a bit of googling I found 
this: 
http://stackoverflow.com/questions/2838345/when-does-code-bloat-start-having-a-noticeable-effect-on-performance


Levente

>
>


More information about the Vm-dev mailing list