Code

Added ASLR info to README
authorKim Jones <kim-marie.jones@intel.com>
Tue, 14 Jun 2016 07:21:23 +0000 (08:21 +0100)
committerKim Jones <kim-marie.jones@intel.com>
Thu, 28 Jul 2016 12:58:03 +0000 (13:58 +0100)
Applied an old version the last time; reverted and reapplying new
version.

Signed-off-by: Kim Jones <kim-marie.jones@intel.com>
README

diff --git a/README b/README
index 19014bccd24bf2dd704bc5f08a091a2a6105f619..6460078221659ed643d025d7c991e0314ff5e4f2 100644 (file)
--- 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