From f7a72570f9b5c0779c6c41d42aaf0d5f0dc1fb07 Mon Sep 17 00:00:00 2001 From: Kim Jones Date: Tue, 14 Jun 2016 08:21:23 +0100 Subject: [PATCH] Added ASLR info to README Applied an old version the last time; reverted and reapplying new version. Signed-off-by: Kim Jones --- README | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README b/README index 19014bcc..64600782 100644 --- a/README +++ b/README @@ -1062,6 +1062,15 @@ Build DPDK for use with collectd: - Run ldconfig to update the shared library cache. Configure collectd with DPDK: +NOTE: The Address-Space Layout Randomization (ASLR) security feature in Linux should + be disabled, in order for the same hugepage memory mappings to be present in all + DPDK multi-process applications. Note that this has security implications. + To disable ASLR: + $ echo 0 > /proc/sys/kernel/randomize_va_space + To fully enable ASLR: + $ echo 2 > /proc/sys/kernel/randomize_va_space + See http://dpdk.org/doc/guides/prog_guide/multi_proc_support.html + - Generate the build script as specified below. (i.e. run `build.sh'). - Configure collectd with the DPDK library: ./configure --with-libdpdk=/usr -- 2.30.2