]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
script/run-cbt.sh: set fs.aio-max-nr for seastar 31667/head
authorKefu Chai <kchai@redhat.com>
Fri, 15 Nov 2019 09:55:53 +0000 (17:55 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 15 Nov 2019 09:56:00 +0000 (17:56 +0800)
commit4436807e24fca1d7394a8071784116c927bf18b8
tree8e19307dbfd802e6dd2f4f729c4646076715761c
parent3948df8b10f5518f53a377436464a964d48bd548
script/run-cbt.sh: set fs.aio-max-nr for seastar

seastar requires 11027 for each reactor, so we need at least

fs.aio-max-nr = 11027 * n_osd

but to make it simple and to take the needs of other applications using
aio on the machine, we increase the number of io context to 32768,
and always set this setting no matter if we are starting a vstart
cluster with classic osd or crimson osd

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/script/run-cbt.sh