From: luo rixin Date: Tue, 11 Oct 2022 07:44:05 +0000 (+0800) Subject: src/vstart.sh: correct top_cpu's value X-Git-Tag: v18.1.0~1012^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F48437%2Fhead;p=ceph.git src/vstart.sh: correct top_cpu's value Signed-off-by: luo rixin --- diff --git a/src/vstart.sh b/src/vstart.sh index 7aab8c5a1d6..bc4e0afe5ef 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -969,7 +969,7 @@ start_osd() { local extra_seastar_args if [ "$ceph_osd" == "crimson-osd" ]; then bottom_cpu=$(( osd * crimson_smp )) - top_cpu=$(( bottom_cpu + crimson_smp )) + top_cpu=$(( bottom_cpu + crimson_smp - 1 )) # set a single CPU nodes for each osd extra_seastar_args="--smp $crimson_smp --cpuset $bottom_cpu-$top_cpu" if [ "$debug" -ne 0 ]; then