koder aka kdanilov | fd2cfa5 | 2015-05-20 03:17:42 +0300 | [diff] [blame] | 1 | {% extends "base.html" %} |
| 2 | {% block content %} |
| 3 | |
| 4 | {% if ceph_summary is not None or OS_summary is not None %} |
| 5 | <h4>Summary</h4> |
| 6 | <table style="width: auto;" class="table table-bordered table-striped"> |
| 7 | {% if ceph_summary is not None %} |
| 8 | <tr> |
| 9 | <td>OSD count</td><td>{{ceph_summary.osd_count}}</td> |
| 10 | <td>Total Ceph disks count</td><td>{{ceph_summary.OSD_hdd_count}}</td> |
| 11 | </tr> |
| 12 | {% endif OS_summary is not None %} |
| 13 | <td>Compute count</td><td>{{OS_summary.compute_count}}</td> |
| 14 | {% endif %} |
| 15 | </table> |
| 16 | {% endif %} |
| 17 | |
| 18 | {% if perf_summary is not None %} |
| 19 | <table><tr><td> |
| 20 | <H4>Random direct performance,<br>4KiB blocks</H4> |
| 21 | {% make_table(2, 'style="width: auto;" class="table table-bordered table-striped"', |
| 22 | "Operation", "IOPS", |
| 23 | Read, {{perf_summary.direct_iops_r_max[0]}} ~ {{perf_summary.direct_iops_r_max[1]}}%, |
| 24 | Write, {{perf_summary.direct_iops_w_max[0]}} ~ {{perf_summary.direct_iops_w_max[1]}}%) %} |
| 25 | </td><td> </td><td> |
| 26 | <H4>Random direct performance,<br>16MiB blocks</H4> |
| 27 | {% make_table(2, 'style="width: auto;" class="table table-bordered table-striped"', |
| 28 | "Operation", "BW MiBps", |
| 29 | Read, {{perf_summary.bw_read_max[0]}} ~ {{perf_summary.bw_read_max[1]}}%, |
| 30 | Write, {{perf_summary.bw_write_max[0]}} ~ {{perf_summary.bw_write_max[1]}}%) %} |
| 31 | </td><td> </td><td> |
| 32 | <H4>Maximal sync random write IOPS<br> for given latency, 4KiB</H4> |
| 33 | {% make_table(2, 'style="width: auto;" class="table table-bordered table-striped">', |
| 34 | "Latency ms", "IOPS", |
| 35 | 10, {{perf_summary.rws4k_10ms}}, |
| 36 | 30, {{perf_summary.rws4k_30ms}}, |
| 37 | 100, {{perf_summary.rws4k_100ms}}) %} |
| 38 | </td></tr></table> |
| 39 | <br> |
| 40 | |
| 41 | {% make_table_nh(2, "", |
| 42 | {{perf_summary.rand_read_iops}}, {{perf_summary.rand_write_iops}}, |
| 43 | {{perf_summary.rand_read_bw}}, {{perf_summary.rand_write_bw}}) %} |
| 44 | {% endif %} |
| 45 | |
| 46 | {% endblock %} |