On Fri, 13 May 2022 09:29:07 +0800 maobibo <maobibo@xxxxxxxxxxx> wrote: > > > >> and/or changelogging. > > Sorry for the late response, the mail is filtered and I did not notice that. The result is not so obvious after bandwidth is improved between nodes, it is only about 1% improvement for specint2006 for 32 core on my box. > > > > Now I do not see negative effective about this patch unless user wants to keep some cores separated from khugepaged daemon process. > > Can we provide an extra parameter to let khugepaged daemon scheduling binded to node or freely? If can, I will provide updated patch. It has always surprised me that we have a single khugepaged thread. If we had a thread per node, you'd be all fixed up, yes? Ditto ksmd.