how to view multiple image statistics with command “ceph daemon /var/run/ceph/rbd-$pid.asok perf dump”

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

 



Hi everyone,  I have a problem。
I want to see statistics of more than one image, but show only one image

Here are the steps:

I create two images:
[root@node173 ~]# rbd -p test ls
test_10G
test_20G

I use iscsi-tgtd to mount out this two images,and iscsi-tgtd config file file like this:

include /etc/tgt/conf.d/*.conf
<target  iqn.2015-04.tdsstore.hg20.com:iscsi>
     bs-type rbd
     driver iscsi
     <backing-store test/test_10G>
          lun 1
          scsi_sn tds42702544
          scsi_id fc5ad8a1-d6e2-4795-b81b-7c1163efb78a
     </backing-store>
     <backing-store test/test_20G>
          lun 2
          scsi_sn tds42702577
          scsi_id fc5ad8a1-d6e2-4795-b81b-7c1163efb78x
     </backing-store>
</target>

When I restarted service of iscsi-tgtd,a file of rbd-9067.asok generated in directory "/var/run/ceph"

Finally, I run "ceph daemon /var/run/ceph/rbd-9067.asok perf dump".
But,It only reported test_10G,test_20G reports are not generated.
Here is the report of the Executive "ceph daemon /var/run/ceph/rbd-9067.asok perf dump"
[root@node173 ~]# ceph daemon /var/run/ceph/rbd-9067.asok perf dump
{
    "librbd--test/test_10G@": {
        "rd": 0,
        "rd_bytes": 0,
        "rd_latency": {
            "avgcount": 0,
            "sum": 0.000000000
        },
        "wr": 0,
        "wr_bytes": 0,
        "wr_latency": {
            "avgcount": 0,
            "sum": 0.000000000
        },
        "discard": 0,
        "discard_bytes": 0,
        "discard_latency": {
            "avgcount": 0,
            "sum": 0.000000000
        },
        "flush": 0,
        "aio_rd": 0,
        "aio_rd_bytes": 0,
        "aio_rd_latency": {
            "avgcount": 0,
            "sum": 0.000000000
        },
        "aio_wr": 0,
        "aio_wr_bytes": 0,
        "aio_wr_latency": {
            "avgcount": 0,
            "sum": 0.000000000
        },
        "aio_discard": 0,
        "aio_discard_bytes": 0,
        "aio_discard_latency": {
            "avgcount": 0,
            "sum": 0.000000000
        },
        "aio_flush": 0,
        "aio_flush_latency": {
            "avgcount": 0,
            "sum": 0.000000000
        },
        "snap_create": 0,
        "snap_remove": 0,
        "snap_rollback": 0,
        "notify": 0,
        "resize": 0,
        "readahead": 0,
        "readahead_bytes": 0
    },
    "objectcacher-librbd--test/test_10G@": {
        "cache_ops_hit": 0,
        "cache_ops_miss": 0,
        "cache_bytes_hit": 0,
        "cache_bytes_miss": 0,
        "data_read": 0,
        "data_written": 0,
        "data_flushed": 0,
        "data_overwritten_while_flushing": 0,
        "write_ops_blocked": 0,
        "write_bytes_blocked": 0,
        "write_time_blocked": 0.000000000
    },
    "objecter": {
        "op_active": 0,
        "op_laggy": 0,
        "op_send": 248236,
        "op_send_bytes": 0,
        "op_resend": 0,
        "op_ack": 16,
        "op_commit": 248220,
        "op": 248236,
        "op_r": 16,
        "op_w": 248220,
        "op_rmw": 0,
        "op_pg": 0,
        "osdop_stat": 1,
        "osdop_create": 0,
        "osdop_read": 1,
        "osdop_write": 0,
        "osdop_writefull": 0,
        "osdop_append": 0,
        "osdop_zero": 0,
        "osdop_truncate": 0,
        "osdop_delete": 0,
        "osdop_mapext": 0,
        "osdop_sparse_read": 0,
        "osdop_clonerange": 0,
        "osdop_getxattr": 12,
        "osdop_setxattr": 0,
        "osdop_cmpxattr": 0,
        "osdop_rmxattr": 0,
        "osdop_resetxattrs": 0,
        "osdop_tmap_up": 0,
        "osdop_tmap_put": 0,
        "osdop_tmap_get": 0,
        "osdop_call": 2,
        "osdop_watch": 248220,
        "osdop_notify": 0,
        "osdop_src_cmpxattr": 0,
        "osdop_pgls": 0,
        "osdop_pgls_filter": 0,
        "osdop_other": 0,
        "linger_active": 2,
        "linger_send": 2,
        "linger_resend": 0,
        "linger_ping": 248218,
        "poolop_active": 0,
        "poolop_send": 0,
        "poolop_resend": 0,
        "poolstat_active": 0,
        "poolstat_send": 0,
        "poolstat_resend": 0,
        "statfs_active": 0,
        "statfs_send": 0,
        "statfs_resend": 0,
        "command_active": 0,
        "command_send": 0,
        "command_resend": 0,
        "map_epoch": 0,
        "map_full": 0,
        "map_inc": 0,
        "osd_sessions": 1,
        "osd_session_open": 1,
        "osd_session_close": 0,
        "osd_laggy": 1
    },
    "throttle-msgr_dispatch_throttler-radosclient": {
        "val": 0,
        "max": 104857600,
        "get": 252632,
        "get_sum": 44620557,
        "get_or_fail_fail": 0,
        "get_or_fail_success": 0,
        "take": 0,
        "take_sum": 0,
        "put": 252632,
        "put_sum": 44620557,
        "wait": {
            "avgcount": 0,
            "sum": 0.000000000
        }
    },
    "throttle-objecter_bytes": {
        "val": 0,
        "max": 104857600,
        "get": 18,
        "get_sum": 4206,
        "get_or_fail_fail": 0,
        "get_or_fail_success": 18,
        "take": 0,
        "take_sum": 0,
        "put": 13,
        "put_sum": 4206,
        "wait": {
            "avgcount": 0,
            "sum": 0.000000000
        }
    },
    "throttle-objecter_ops": {
        "val": 0,
        "max": 1024,
        "get": 18,
        "get_sum": 18,
        "get_or_fail_fail": 0,
        "get_or_fail_success": 18,
        "take": 0,
        "take_sum": 0,
        "put": 18,
        "put_sum": 18,
        "wait": {
            "avgcount": 0,
            "sum": 0.000000000
        }
    }
}

There is a report only test_10G , the report of test_20G was not find。
how to view multiple image statistics  with command “ceph daemon /var/run/ceph/rbd-$pid.asok perf dump”
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[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