On 3/27/19 11:59 AM, Yang Shi wrote: > In real production environment we don't know what kind of applications > would end up on PMEM (DRAM may be full, allocation fall back to PMEM) > then have unexpected performance degradation. I understand to have > mempolicy to choose to avoid it. But, there might be hundreds or > thousands of applications running on the machine, it sounds not that > feasible to me to have each single application set mempolicy to avoid it. Maybe not manually, but it's entirely possible to automate this. It would be trivial to get help from an orchestrator, or even systemd to get apps launched with a particular policy. Or, even a *shell* that launches apps to have a particular policy.