From 9e3e5d435e39270e65f953b6a7c1b2c55aed0d65 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 29 Jun 2019 23:15:34 +0800 Subject: [PATCH] doc/dev/crimson.rst: update with stuff related to seastar options Signed-off-by: Kefu Chai --- doc/dev/crimson.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/dev/crimson.rst b/doc/dev/crimson.rst index 4d5683876c3..29c72001428 100644 --- a/doc/dev/crimson.rst +++ b/doc/dev/crimson.rst @@ -92,9 +92,19 @@ using ``vstart.sh``, ``--redirect-output`` redirect the stdout and stderr of service to ``out/$type.$num.stdout``. +``--osd-args`` + pass extra command line options to crimson-osd or ceph-osd. It's quite + useful for passing Seastar options to crimson-osd. + So, a typical command to start a single-crimson-node cluster is:: - MGR=1 MON=1 OSD=1 MDS=0 RGW=0 ../src/vstart.sh -n -x --without-dashboard --memstore --crimson --nodaemon --redirect-output + MGR=1 MON=1 OSD=1 MDS=0 RGW=0 ../src/vstart.sh -n -x --without-dashboard --memstore \ + --crimson --nodaemon --redirect-output \ + --osd-args "--memory 4G --smp 1 --cpuset 0" + +Where we assign 4 GiB memory, a single thread running on core-0 to crimson-osd. +Please refer ``crimson-osd --help-seastar`` for more Seastar specific command +line options. You could stop the vstart cluster using:: -- 2.39.5