lkml.org 
[lkml]   [2014]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 0/4] hugetlb: add hugepagesnid= command-line option
    From
    Date
    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



    \
     
     \ /
      Last update: 2014-02-11 05:41    [W:3.883 / U:0.112 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site