From: Kefu Chai Date: Sat, 29 Jun 2019 15:15:34 +0000 (+0800) Subject: doc/dev/crimson.rst: update with stuff related to seastar options X-Git-Tag: v15.1.0~2341^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9e3e5d435e39270e65f953b6a7c1b2c55aed0d65;p=ceph.git doc/dev/crimson.rst: update with stuff related to seastar options Signed-off-by: Kefu Chai --- 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::