News for hackers. Stuff that matters.
Re:Mysql "Swap Insanity" by timthorn on Wednesday September 29, 2010 @03:59AM (#1738655)
I'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.
Re:Mysql "Swap Insanity" by JoachimSchipper on Wednesday September 29, 2010 @05:45AM (#1738796)
Yes, 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.