Re: new cluser ceph osd perf = 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For me, the perf stats are non-zero only for those OSD's that are
currently writing. The others that are idle/reading show zero.  (I
have a recovery going on, lots of PG's being moved to two new disks.
The two new ones have stats, all the others show zero.)

-- linas

On Fri, Nov 29, 2024 at 3:10 AM Eugen Block <eblock@xxxxxx> wrote:
>
> I tried to get the counters, then I was pointed to enabling the module:
>
> # ceph osd perf
> osd  commit_latency(ms)  apply_latency(ms)
>   11                   0                  0
>    8                   0                  0
>    6                   0                  0
>    1                   0                  0
>    0                   0                  0
>    2                   0                  0
>    3                   0                  0
>    4                   0                  0
>    5                   0                  0
>
> # ceph osd perf counters get 0
> Error ENOTSUP: Module 'osd_perf_query' is not enabled/loaded (required
> by command 'osd perf counters get'): use `ceph mgr module enable
> osd_perf_query` to enable it
>
> After enabling it, I get values:
>
> # ceph osd perf
> osd  commit_latency(ms)  apply_latency(ms)
>   11                 184                184
>    8                   8                  8
>    6                  17                 17
>    1                   4                  4
>    0                   3                  3
>    2                  72                 72
>    3                   9                  9
>    4                  33                 33
>    5                 166                166
>
> # ceph osd perf query add all_subkeys
>
> added query all_subkeys with id 0
>
> # ceph osd perf counters get 0
> +----------------+------------------------------+---------+-----------+--------+-------+------------------------------+---------+-----------+----------+
> |  CLIENT_ID     |       CLIENT_ADDRESS         |POOL_ID  |NAMESPACE
> |OSD_ID  |PG_ID  |        OBJECT_NAME           |SNAP_ID  |WRITE_OPS
> |READ_OPS  |
> +----------------+------------------------------+---------+-----------+--------+-------+------------------------------+---------+-----------+----------+
> |client.2624154  | IP:0/47925986   |   18    |           |  11    |
> 18.0  |data_loggenerations_metadata  |  head   |    0      |   6      |
> |client.2624154  | IP:0/47925986   |   19    |           |  2     |
> 19.1  |          notify.0            |  head   |    0      |   6      |
> ...
>
> Zitat von Janne Johansson <icepic.dz@xxxxxxxxx>:
>
> > I see the same on a newly deployed 17.2.8 cluster.
> > all empty perf values.
> >
> > Den tors 28 nov. 2024 kl 23:45 skrev Marc <Marc@xxxxxxxxxxxxxxxxx>:
> >>
> >>
> >>
> >> My ceph osd perf are all 0, do I need to enable module for this?
> >> osd_perf_query? Where should I find this in manuals? Or do I just
> >> need to wait?
> >>
> >>
> >> [@ target]# ceph osd perf
> >> osd  commit_latency(ms)  apply_latency(ms)
> >>  25                   0                  0
> >>  24                   0                  0
> >>  23                   0                  0
> >>  22                   0                  0
> >>  21                   0                  0
> >>  20                   0                  0
> >>  19                   0                  0
> >>  18                   0                  0
> >> _______________________________________________
> >> ceph-users mailing list -- ceph-users@xxxxxxx
> >> To unsubscribe send an email to ceph-users-leave@xxxxxxx
> >
> >
> >
> > --
> > May the most significant bit of your life be positive.
> > _______________________________________________
> > ceph-users mailing list -- ceph-users@xxxxxxx
> > To unsubscribe send an email to ceph-users-leave@xxxxxxx
>
>
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx



-- 
Patrick: Are they laughing at us?
Sponge Bob: No, Patrick, they are laughing next to us.
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux