From b41a99f2b0215f576cf81f863610df3b1708984e Mon Sep 17 00:00:00 2001 From: GangCao Date: Wed, 1 Nov 2017 22:37:23 -0400 Subject: [PATCH] doc: add the example to configure different memory size A new parameter HUGEMEM added to configure the memory usage Change-Id: I2ad536520b0855e5b6ae36f5c63ace8a52705ac5 Signed-off-by: GangCao Reviewed-on: https://review.gerrithub.io/385366 Tested-by: SPDK Automated Test System Reviewed-by: Paul Luse Reviewed-by: Daniel Verkamp Reviewed-by: Ben Walker Reviewed-by: Jim Harris --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index a277abf5d..40dcc3ea6 100644 --- a/README.md +++ b/README.md @@ -167,6 +167,13 @@ This script should be run as root. sudo scripts/setup.sh ~~~ +Users may wish to configure a specific memory size. Below is an example of +configuring 8192MB memory. + +~~~{.sh} +sudo HUGEMEM=8192 scripts/setup.sh +~~~ + ## Example Code