hugeadm: show amount of system memory in explain output

    
hugeadm: add check_user function to warn if user is not in hugetlb_shm_group


hugeadm: support --pool-size-min DEFAULT:2G syntax
    
Allow the user to allocate x G, M or K of hugepages using the default huge
page size, rather than having to specify page size and number of pages (both
of which of course still work too). Mixture of explicit page sizes and page
counts with memory sizes and default page sizes respectively should also
work.
    
i.e., the following...
   
hugeadm --pool-size-min 2M:1024
hugeadm --pool-size-min DEFAULT:2G
hugeadm --pool-size-min 2M:2G
hugeadm --pool-size-min DEFAULT:1024
    
...should all be functionally equivalent on a box with a default huge page
size of 2M (such as my x86_64 test rig here).

--------
    
hugeadm: add support for setting hugetlb_shm_group

--------

hugeadm: add support for setting recommended shmmax value
    
- print notice in --explain output about current shmmax value
- add --set-recommended-shmmax switch, which (after huges pages
  are configured) sets shmmax to a value equal to the sum of the
  maximum space that has been allocated for huge pages

-- 
Jarod Wilson
ja...@redhat.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to