Messages in this thread | | | Subject | Re: [PATCH 0/4] hugetlb: add hugepagesnid= command-line option | From | Davidlohr Bueso <> | Date | Mon, 10 Feb 2014 19:58:13 -0800 |
| |
On Mon, 2014-02-10 at 15:13 -0800, Andrew Morton wrote: > On Mon, 10 Feb 2014 12:27:44 -0500 Luiz Capitulino <lcapitulino@redhat.com> wrote: > > > HugeTLB command-line option hugepages= allows the user to specify how many > > huge pages should be allocated at boot. On NUMA systems, this argument > > automatically distributes huge pages allocation among nodes, which can > > be undesirable. > > Grumble. "can be undesirable" is the entire reason for the entire > patchset. We need far, far more detail than can be conveyed in three > words, please!
One (not so real-world) scenario that comes right to mind which can benefit for such a feature is the ability to study socket/node scaling for hugepage aware applications. Yes, we do have numactl to bind programs to resources, but I don't mind having a way of finer graining hugetlb allocations, specially if it doesn't hurt anything.
Thanks, Davidlohr
| |