Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

From
Glauber Costa <hidden>
Date
2013-01-10 07:14:20
Also in
linux-acpi, linux-mm, linux-s390, linux-sh, lkml, sparclinux
Reply to
Tang Chen, 2013-01-10
On 01/10/2013 06:17 AM, Tang Chen wrote:
quoted
quoted
Note: if the memory provided by the memory device is used by the
kernel, it
can't be offlined. It is not a bug.
Right.  But how often does this happen in testing?  In other words,
please provide an overall description of how well memory hot-remove is
presently operating.  Is it reliable?  What is the success rate in
real-world situations?
We test the hot-remove functionality mostly with movable_online used.
And the memory used by kernel is not allowed to be removed.
Can you try doing this using cpusets configured to hardwall ?
It is my understanding that the object allocators will try hard not to
allocate anything outside the walls defined by cpuset. Which means that
if you have one process per node, and they are hardwalled, your kernel
memory will be spread evenly among the machine. With a big enough load,
they should eventually be present in all blocks.

Another question I have for you: Have you considering calling
shrink_slab to try to deplete the caches and therefore free at least
slab memory in the nodes that can't be offlined? Is it relevant?
Thread (67 messages) 67 messages, 6 authors, last reply 2013-02-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help