symbols: stop x86 only symbol to be required on ppc64el
[deb_dpdk.git] / debian / dpdk.conf
1 #
2 # The number of 2M hugepages to reserve on system boot
3 #
4 # Default is 0
5 # To e.g. let it reserve 64x 2M Hugepages set:
6 # NR_2M_PAGES=64
7
8 #
9 # The number of 1G hugepages to reserve on system boot
10 #
11 # Default is 0
12 # To e.g. let it reserve 2x 1G Hugepages set:
13 # NR_1G_PAGES=2
14
15 #
16 # Dropping slab and pagecache can help to successfully allocate hugepages,
17 # especially later in the lifecycle of a system.
18 # This comes at the cost of loosing all slab and pagecache on (re)start
19 # of the dpdk service - therefore the default is off.
20 #
21 # Default is 0
22 # Set to 1 to enable it
23 #DROPCACHE_BEFORE_HP_ALLOC=0
24
25 # The DPDK library will use the first mounted hugetlbfs.
26 # The init scripts try to ensure there is at least one default hugetlbfs
27 # mountpoint on start.
28 # If you have multiple hugetlbfs mountpoints for a complex (e.g. specific numa
29 # policies) setup it should be controlled by the admin instead of this init
30 # script. In that case specific mountpoints can be provided as parameters to
31 # the DPDK library.
32
33 # Hardware may support other granularities of hugepages (like 4M). But the
34 # larger the hugepages the earlier those should be allocated.
35 # Note: the dpdk init scripts will report warnings, but not fail if they could
36 # not allocate the requested amount of hugepages.
37 # The more or the larger the hugepages to be allocated are, the more it is
38 # recommended to do the reservation as kernel commandline arguments.
39 # To do so edit /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT
40 # and add [hugepagesz=xx] hugepages=yy ...
41 #
42 # Kernel commandline config:
43 # hugepagesz sets the size for the next hugepages reservation (default 2M)
44 # hugepages  reserves the given number of hugepages of the size set before
45 #
46 # After modifying /etc/default/grub, the command "update-grub" has to be
47 # run in order to re-generate the grub config files. The new values will
48 # be used after next reboot.
49 #
50 # example:
51 # GRUB_CMDLINE_LINUX_DEFAULT="... hugepages=16 hugepagesz=1G hugepages=2"
52 #
53 # If the system supports it, this will reserve 16x 2M pages and 2x 1G pages.
54 #