>>Yes, that sounds reasonable to me. It would be great if we can get that >>working >>without the need to configure something (grub.conf, fstab, ...)
Ok, I'll try to improve my patch in this direction . ----- Mail original ----- De: "dietmar" <diet...@proxmox.com> À: "aderumier" <aderum...@odiso.com>, "pve-devel" <pve-devel@pve.proxmox.com> Envoyé: Vendredi 13 Mai 2016 07:29:39 Objet: Re: [pve-devel] [PATCH 1/2] add hugepages option > a simple > > echo x > > /sys/devices/system/node/nodeX/hugepages/hugepages-1048576kB/nr_hugepages > echo x > > /sys/devices/system/node/nodeX/hugepages/hugepages-2048kB/nr_hugepages > > is enough (need to be done for each numa node) > > freehuges can be checked > > cat > /sys/devices/system/node/node0/hugepages/hugepages-1048576kB/free_hugepages > cat /sys/devices/system/node/node0/hugepages/hugepages-2048kB/free_hugepages > > > Like this, user can if he want reserved hugepages at boot (sysctl or kernel > options in grub). > And if he don't define hugepages or define not enough hugepages > (free_hugepages counter), > we can try to allocate them for him. Yes, that sounds reasonable to me. It would be great if we can get that working without the need to configure something (grub.conf, fstab, ...) _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel