[dpdk-dev] Huge ring allocation
anupam
anupam.kapoor at gmail.com
Thu Aug 25 14:49:42 CEST 2016
>>>>> [2016-08-25T17:52:26+0530]: "Keith Wiles" (keith-wiles):
,----[ keith-wiles ]
| Another issue sometimes is huge pages are allocated after the system
| has booted, which means you need to assign the number of huge pages very
| early in the boot process. This means adding a line in the sysctrl.conf
| file instead of poking the value later.
|
| vm.nr_hugepages=XXX
`----
you might also try passing 'hugepages' option as kernel command line
parameters e.g.
'... hugepages=N '
from linux-kernel's Documentation/vm/hugetlbpage.txt we have the
following
,----[Documentation/vm/hugetlbpage.txt:69]
| The administrator can allocate persistent huge pages on the kernel boot
| command line by specifying the "hugepages=N" parameter, where 'N' = the
| number of huge pages requested. This is the most reliable method of
| allocating huge pages as memory has not yet become fragmented.
`----
---
thanks
anupam
More information about the dev
mailing list