Re: [pve-devel] [PATCH manager] ceph osd: ui: show PGs per OSD

2023-02-15 Thread Aaron Lauterer
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@jura1:~# ./bench.pl   

Re: [pve-devel] [PATCH manager] ceph osd: ui: show PGs per OSD

2023-02-14 Thread Thomas Lamprecht
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@jura1:~# ./bench.pl >    Rate osd-df-treeosd-t

Re: [pve-devel] [PATCH manager] ceph osd: ui: show PGs per OSD

2023-02-14 Thread 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@jura1:~# ./bench.pl Rate osd-df-treeosd-tree osd-df-tree 9217/s ---27% osd-tree

Re: [pve-devel] [PATCH manager] ceph osd: ui: show PGs per OSD

2023-02-14 Thread Aaron Lauterer
I compared the returned values, but did not benchmark it. I'll follow up with the results. On 2/14/23 14:19, Thomas Lamprecht wrote: On 14/02/2023 09:13, Aaron Lauterer wrote: By switching from 'ceph osd tree' to the 'ceph osd df tree' mon API equivalent , we get the same data structure with m

Re: [pve-devel] [PATCH manager] ceph osd: ui: show PGs per OSD

2023-02-14 Thread Thomas Lamprecht
On 14/02/2023 09:13, Aaron Lauterer wrote: > By switching from 'ceph osd tree' to the 'ceph osd df tree' mon API > equivalent , we get the same data structure with more information per the change looks almost too neat for using a completely different command, a bit fishy, but hey, if it works (rou

[pve-devel] [PATCH manager] ceph osd: ui: show PGs per OSD

2023-02-14 Thread Aaron Lauterer
By switching from 'ceph osd tree' to the 'ceph osd df tree' mon API equivalent , we get the same data structure with more information per OSD. One of them is the number of PGs stored on that OSD. The number of PGs per OSD is an important number, for example when trying to figure out why the perfor