Tag Archives: memory

Memcached for small objects

Memcached quite often ends up as a store for very small objects (small key and some integer value), though it isn’t really designed to do this kind of work by default. Current memory management is based on slabs (200 of … Continue reading

Posted in misc | Tagged , , | 6 Comments

mmap()

I’ve seen quite some work done on implementing mmap() in various places, including MySQL. mmap() is also used for malloc()’ing huge blocks of memory. mmap() data cache is part of VM cache, not file cache (though those are inside kernels … Continue reading

Posted in mysql | Tagged , , , | 4 Comments

Wasting InnoDB memory

I usually get strange looks when I complain about memory handling inside InnoDB. It seems as if terabytes of RAM are so common and cheap, that nobody should really care about memory efficiency. Unfortunately for me, I do. Examples: The … Continue reading

Posted in mysql | Tagged , | 10 Comments