From: Kim Jones Date: Tue, 14 Jun 2016 07:21:23 +0000 (+0100) Subject: Added ASLR info to README X-Git-Tag: collectd-5.7.0~73^2~10 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f7a72570f9b5c0779c6c41d42aaf0d5f0dc1fb07;p=collectd.git Added ASLR info to README Applied an old version the last time; reverted and reapplying new version. Signed-off-by: Kim Jones --- 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