[pve-devel] [PATCH manager] ceph osd: ui: show PGs per OSD
Aaron Lauterer
a.lauterer at proxmox.com
Wed Feb 15 10:20:21 CET 2023
On 2/15/23 07:18, Thomas Lamprecht wrote:
> Am 14/02/2023 um 17:14 schrieb Aaron Lauterer:
>> Seems like the `osd df tree` call is about 25% slower, plus minus.
>>
>> Tested on our AMD test cluster that is currently set up with 3 nodes with 4 OSDs each. 50k iterations.
>>
>> root at jura1:~# ./bench.pl
>> Rate osd-df-tree osd-tree
>> osd-df-tree 9217/s -- -27%
>> osd-tree 12658/s 37% --
>> root at jura1:~# ./bench.pl
>> Rate osd-df-tree osd-tree
>> osd-df-tree 9141/s -- -25%
>> osd-tree 12136/s 33% --
>> root at jura1:~# ./bench.pl
>> Rate osd-df-tree osd-tree
>> osd-df-tree 9940/s -- -23%
>> osd-tree 12987/s 31% --
>> root at jura1:~# ./bench.pl
>> Rate osd-df-tree osd-tree
>> osd-df-tree 8666/s -- -20%
>> osd-tree 10846/s 25% --
>> root at jura1:~#
>
> Many thanks for the insight, so significantly more than noise but far from problematic.
Yep, and we don't call it all the time, AFAIU when opening the OSD panel and on
manual "Reload"s.
I took another look at the Ceph API but couldn't find a call that might give us
that information as well to check if it would be cheaper to call.
More information about the pve-devel
mailing list