Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 2 Dec 2020 11:45:33 +0000 | From | Mel Gorman <> | Subject | Re: [PATCH -V6 RESEND 3/3] NOT kernel/numactl: Support to enable Linux kernel NUMA balancing |
| |
On Wed, Dec 02, 2020 at 04:42:34PM +0800, Huang Ying wrote: > A new API: numa_set_membind_balancing() is added to libnuma. It is > same as numa_set_membind() except that the Linux kernel NUMA balancing > will be enabled for the task if the feature is supported by the > kernel. > > At the same time, a new option: --balancing (-b) is added to numactl. > Which can be used before the memory policy options in the command > line. With it, the Linux kernel NUMA balancing will be enabled for > the process if the feature is supported by the kernel. > > Signed-off-by: "Huang, Ying" <ying.huang@intel.com> > index f3bb22b..109dd8f 100644 > --- a/numactl.8 > +++ b/numactl.8 > @@ -25,6 +25,8 @@ numactl \- Control NUMA policy for processes or shared memory > [ > .B \-\-all > ] [ > +.B \-\-balancing > +] [
--balancing is a bit vague, maybe --balance-bind? The intent is to hint that it's specific to MPOL_BIND at this time.
-- Mel Gorman SUSE Labs
| ![\](/images/icornerr.gif) |