From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mogw0934.ocn.ad.jp (mogw0934.ocn.ad.jp [153.149.227.40]) by dpdk.org (Postfix) with ESMTP id 2FBC51C6B6 for ; Tue, 15 May 2018 03:21:25 +0200 (CEST) Received: from mf-smf-ucb022c2 (mf-smf-ucb022c2.ocn.ad.jp [153.153.66.140]) by mogw0934.ocn.ad.jp (Postfix) with ESMTP id 6EA1F68002A; Tue, 15 May 2018 10:21:24 +0900 (JST) Received: from ntt.pod01.mv-mta-ucb030 ([153.149.230.164]) by mf-smf-ucb022c2 with ESMTP id IOeQfFwZiQtJhIOeafPn8c; Tue, 15 May 2018 10:21:24 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.166]) by ntt.pod01.mv-mta-ucb030 with id mRMQ1x0063c2f7501RMQGJ; Tue, 15 May 2018 01:21:24 +0000 Received: from localhost.localdomain (p5164-ipngn8501marunouchi.tokyo.ocn.ne.jp [153.214.228.164]) by smtp.ocn.ne.jp (Postfix) with ESMTPA; Tue, 15 May 2018 10:21:24 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: ferruh.yigit@intel.com, spp@dpdk.org Cc: Yasufumi Ogawa Date: Tue, 15 May 2018 10:21:12 +0900 Message-Id: <20180515012113.8842-2-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180515012113.8842-1-ogawa.yasufumi@lab.ntt.co.jp> References: <20180515012113.8842-1-ogawa.yasufumi@lab.ntt.co.jp> Subject: [spp] [PATCH 1/2] docs: add instruction for disabling ASLR X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2018 01:21:26 -0000 From: Yasufumi Ogawa Signed-off-by: Yasufumi Ogawa --- 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 +`_ +. + +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 +`_ +. + +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