]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake/AddCephTest: Specify resoureces to crimson unittest
authorluo rixin <luorixin@huawei.com>
Wed, 7 Feb 2024 03:21:50 +0000 (11:21 +0800)
committerluo rixin <luorixin@huawei.com>
Wed, 21 Feb 2024 02:36:21 +0000 (10:36 +0800)
commita1f9b59c1ad4106126f816a3ef4fdfae5df555bb
treebd3fb5e0be00917c2bde21ed3914458771781e31
parent0f660886ddae734bba9ac0071edeeef964a87684
cmake/AddCephTest: Specify resoureces to crimson unittest

When running crimson unittest, the seastar framework always
use and only use cpu0, and with many parallel crimson unittest
jobs, all the jobs are running on cpu0, the other cpu cores
can't used, make the make check run very slow, even timeout
happens. Use set_property RESOURCE_GROUPS to specify cpu resources
to crimson unittest, and accelerate make check running.

Fixes: https://tracker.ceph.com/issues/64117
Co-authored-by: Kefu Chai <tchaikov@gmail.com>
Signed-off-by: luo rixin <luorixin@huawei.com>
cmake/modules/AddCephTest.cmake