7 ms·
Does MariaDB (and other MySQL variants) suffer from this issue?
by mikey_p 16y ago
Does MariaDB (and other MySQL variants) suffer from this issue?
- nwmcsween 16y agoIt's an operating system issue - specifically how Linux handling of NUMA is generally broken.
- timthorn 16y agoI'm not sure I agree; the application can be written with an understanding of how best to utilise the memory architecture, but the OS must manage memory for the common case unless instructed otherwise. I'm not commenting on Linux's handling of NUMA - rather that applications shouldn't assume that a generic OS can provide an optimal hardware abstraction. All memory is equal - but some memory is more equal than others.
- JoachimSchipper 16y agoYes, the OS must assume the common case. However, by the time one node has 90% of its memory in-use and the other node has 1% of its memory in use, it's clear that this is not the common case, and this should be handled more gracefully.
- oozcitak 16y agoThe article states that the default NUMA policy is to allocate memory in the same node the thread is going to run on. Which is logical considering non-local memory access is more costly than local memory access. The problem appears when one process requests more memory than a single node can provide. Can the Linux kernel detect this usage and adjust accordingly?