kmalloc | Fast and efficieant for small memory blocks (say less than 128 KB) |
vmalloc | Allows to allocate large memory blocks in the virtual address space, even if no contiguous address space is availabe. |
slab | Used for memory that is frequently used by the Kernel (network packets, disk buffers etc). Such memory is reused when possible, rather than freeing and reallocating them. |
dmidecode --type 17
: show information about installed memory. vmstat -s | grep 'memory\|swap'
lshw -short -C memory