Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

statistics page #12

Open
danone-dev opened this issue Apr 3, 2015 · 2 comments
Open

statistics page #12

danone-dev opened this issue Apr 3, 2015 · 2 comments

Comments

@danone-dev
Copy link

Do you think you will develop the statistics page at some point, or is the project on hold?

Regards,
A happy user

@snabb
Copy link
Member

snabb commented Apr 14, 2015

Unfortunately this is not currently on my calendar. I started working on this 2 years ago but I got stalled while trying to figure out which open source web graphing library to use. And then some more urgent matters took over and the feature has been postponed ever since.

@behlendorf
Copy link

behlendorf commented Nov 29, 2016

This may not be exactly what you had in mind for statistics but recent versions of ZFS on Linux have extended the zpool iostat command to report various useful statistics. This might be an easy thing to add.

Request Size Histograms

    $ zpool iostat -r
    mypool        sync_read    sync_write    async_read    async_write      scrub
    req_size      ind    agg    ind    agg    ind    agg    ind    agg    ind    agg
    ----------  -----  -----  -----  -----  -----  -----  -----  -----  -----  -----
    512             0      0      0      0      0      0    530      0      0      0
    1K              0      0    260      0      0      0    116    246      0      0
    2K              0      0      0      0      0      0      0    431      0      0
    4K              0      0      0      0      0      0      3    107      0      0
    8K             15      0     35      0      0      0      0      6      0      0
    16K             0      0      0      0      0      0      0     39      0      0
    32K             0      0      0      0      0      0      0      0      0      0
    64K            20      0     40      0      0      0      0      0      0      0
    128K            0      0     20      0      0      0      0      0      0      0
    256K            0      0      0      0      0      0      0      0      0      0
    512K            0      0      0      0      0      0      0      0      0      0
    1M              0      0      0      0      0      0      0      0      0      0
    2M              0      0      0      0      0      0      0      0      0      0
    4M              0      0      0      0      0      0    155     19      0      0
    8M              0      0      0      0      0      0      0    811      0      0
    16M             0      0      0      0      0      0      0     68      0      0
    --------------------------------------------------------------------------------

Latency Histograms

    $ zpool iostat -w
    sdb           total           disk         sync_queue      async_queue
    latency    read   write    read   write    read   write    read   write   scrub
    -------  ------  ------  ------  ------  ------  ------  ------  ------  ------
    1ns           0       0       0       0       0       0       0       0       0
    ...
    33us          0       0       0       0       0       0       0       0       0
    66us          0       0     107    2486       2     788      12      12       0
    131us         2     797     359    4499      10     558     184     184       6
    262us        22     801     264    1563      10     286     287     287      24
    524us        87     575      71   52086      15    1063     136     136      92
    1ms         152    1190       5   41292       4    1693     252     252     141
    2ms         245    2018       0   50007       0    2322     371     371     220
    4ms         189    7455      22  162957       0    3912    6726    6726     199
    8ms         108    9461       0  102320       0    5775    2526    2526      86
    17ms         23   11287       0   37142       0    8043    1813    1813      19
    34ms          0   14725       0   24015       0   11732    3071    3071       0
    67ms          0   23597       0    7914       0   18113    5025    5025       0
    134ms         0   33798       0     254       0   25755    7326    7326       0
    268ms         0   51780       0      12       0   41593   10002   10002       0
    537ms         0   77808       0       0       0   64255   13120   13120       0
    1s            0  105281       0       0       0   83805   20841   20841       0
    2s            0   88248       0       0       0   73772   14006   14006       0
    4s            0   47266       0       0       0   29783   17176   17176       0
    9s            0   10460       0       0       0    4130    6295    6295       0
    17s           0       0       0       0       0       0       0       0       0
    34s           0       0       0       0       0       0       0       0       0
    69s           0       0       0       0       0       0       0       0       0
    137s          0       0       0       0       0       0       0       0       0
    -------------------------------------------------------------------------------

Average IO latencies

    $ zpool iostat -l   
     total_wait     disk_wait    syncq_wait    asyncq_wait  scrub
     read  write   read  write   read  write   read  write   wait
    -----  -----  -----  -----  -----  -----  -----  -----  -----
        -   41ms      -    2ms      -   46ms      -    4ms      -
        -    5ms      -    1ms      -    1us      -    4ms      -
        -    5ms      -    1ms      -    1us      -    4ms      -
        -      -      -      -      -      -      -      -      -
        -   49ms      -    2ms      -   47ms      -      -      -
        -      -      -      -      -      -      -      -      -
        -    2ms      -    1ms      -      -      -    1ms      -
    -----  -----  -----  -----  -----  -----  -----  -----  -----
      1ms    1ms    1ms  413us   16us   25us      -    5ms      -
      1ms    1ms    1ms  413us   16us   25us      -    5ms      -
      2ms    1ms    2ms  412us   26us   25us      -    5ms      -
        -    1ms      -  413us      -   25us      -    5ms      -
        -    1ms      -  460us      -   29us      -    5ms      -
    196us    1ms  196us  370us    7us   23us      -    5ms      -
    -----  -----  -----  -----  -----  -----  -----  -----  -----

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants