From: ogawa.yasufumi@lab.ntt.co.jp
To: ferruh.yigit@intel.com, spp@dpdk.org
Cc: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
Subject: [spp] [PATCH 1/2] docs: add instruction for disabling ASLR
Date: Tue, 15 May 2018 10:21:12 +0900 [thread overview]
Message-ID: <20180515012113.8842-2-ogawa.yasufumi@lab.ntt.co.jp> (raw)
In-Reply-To: <20180515012113.8842-1-ogawa.yasufumi@lab.ntt.co.jp>
From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
docs/guides/setup/getting_started.rst | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/docs/guides/setup/getting_started.rst b/docs/guides/setup/getting_started.rst
index 75dc68d..d9ecc6e 100644
--- a/docs/guides/setup/getting_started.rst
+++ b/docs/guides/setup/getting_started.rst
@@ -110,6 +110,30 @@ For 1GB, the size of hugepage must be specified.
nodev /mnt/huge_1GB hugetlbfs pagesize=1GB 0 0
+Disable ASLR
+~~~~~~~~~~~~
+
+SPP is a DPDK multi-process application and there are a number of
+`limitations
+<https://dpdk.org/doc/guides/prog_guide/multi_proc_support.html#multi-process-limitations>`_
+.
+
+Address-Space Layout Randomization (ASLR) is a security feature for
+memory protection, but may cause a failure of memory
+mapping while starting multi-process application as discussed in
+`dpdk-dev
+<http://dpdk.org/ml/archives/dev/2014-September/005236.html>`_
+.
+
+ASLR can be disabled by assigning `kernel.randomize_va_space` to `0`,
+or be enabled by assigning to `2`.
+
+.. code-block:: console
+
+ # disable ASLR
+ $ sudo sysctl -w kernel.randomize_va_space=0
+
+
Install DPDK and SPP
--------------------
--
2.17.0
next prev parent reply other threads:[~2018-05-15 1:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-15 1:21 [spp] [PATCH 0/2] Revise setup manual ogawa.yasufumi
2018-05-15 1:21 ` ogawa.yasufumi [this message]
2018-05-15 1:21 ` [spp] [PATCH 2/2] docs: revise getting started guide ogawa.yasufumi
2018-05-24 13:05 ` [spp] [PATCH 0/2] Revise setup manual Ferruh Yigit
2018-05-25 20:34 ` Yasufumi Ogawa
2018-05-28 9:47 ` Yasufumi Ogawa
2018-05-28 12:26 ` Ferruh Yigit
2018-05-28 12:27 ` Ferruh Yigit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180515012113.8842-2-ogawa.yasufumi@lab.ntt.co.jp \
--to=ogawa.yasufumi@lab.ntt.co.jp \
--cc=ferruh.yigit@intel.com \
--cc=spp@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).