]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Change default value of osd_pg_delete_cost 48192/head
authorAishwarya Mathuria <amathuri@redhat.com>
Tue, 20 Sep 2022 14:25:59 +0000 (19:55 +0530)
committerAishwarya Mathuria <amathuri@redhat.com>
Tue, 17 Jan 2023 15:26:50 +0000 (20:56 +0530)
commit41eb65785ddb9315d5272b42981e969302c749db
treed774faa32ad8c4af311b18dc32eef507337de68f
parent728e8ac08855d6bfec4a551e2229c679c9218e78
osd: Change default value of osd_pg_delete_cost

osd_pg_delete_cost defines the cost of the PG deletion operation.
This cost is used by WPQ to determine which operation should be dequeued. Lower the cost, higher the chance of the operation being dequeued next.
mClock scheduler uses the cost parameter in a similar way.
However, with the osd_delete_sleep_ssd and osd_delete_sleep_hdd options disabled with mClock, we noticed that PG deletion was completing much faster with mClock scheduler.
In order to achieve behavior similar to WPQ with mClock scheduler, the osd_pg_delete_cost has been increased.

Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
src/osd/OSD.cc
src/osd/OSD.h