aboutsummaryrefslogtreecommitdiffstats
path: root/samples/networkcapacity.yaml
blob: 1432d3a2de7d2107b4bf28377bd1dfd0cee1659a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
##############################################################################
# Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
# Sample benchmark task config file
# Measure compute capacity and scale.
# Including number of cores, number of threads, available memory size and
# cache size.

schema: "yardstick:task:0.1"

scenarios:
-
  type: NetworkCapacity
  host: node1.LF

  runner:
    type: Iteration
    iterations: 1

context:
  type: Node
  name: LF
  file: etc/yardstick/nodes/compass_sclab_virtual/pod.yaml
395'>395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644
{
  "__inputs": [
    {
      "name": "DS_YARDSTICK",
      "label": "yardstick",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "4.4.3"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    }
  ],
  "annotations": {
    "list": []
  },
  "editable": true,
  "gnetId": null,
  "graphTooltip": 0,
  "hideControls": false,
  "id": null,
  "links": [],
  "refresh": false,
  "rows": [
    {
      "collapse": false,
      "height": 702,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "yardstick",
          "fill": 0,
          "id": 1,
          "legend": {
            "alignAsTable": false,
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "rightSide": false,
            "show": true,
            "sideWidth": 220,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": true,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "16MB",
              "yaxis": 1
            }
          ],
          "spaceLength": 10,
          "span": 12,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "1KB",
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result0.Bandwidth(MBps)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "2KB",
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result1.Bandwidth(MBps)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "4KB",
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "C",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result2.Bandwidth(MBps)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "8KB",
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "D",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result3.Bandwidth(MBps)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "16KB",
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "E",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result4.Bandwidth(MBps)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "32KB",
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "F",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result5.Bandwidth(MBps)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "64KB",
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "G",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result6.Bandwidth(MBps)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "128KB",
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "H",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result7.Bandwidth(MBps)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "256KB",
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "I",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result8.Bandwidth(MBps)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "512KB",
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "J",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result9.Bandwidth(MBps)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "1MB",
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "K",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result10.Bandwidth(MBps)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "2MB",
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "L",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result11.Bandwidth(MBps)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "4MB",
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "M",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result12.Bandwidth(MBps)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "8MB",
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "N",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result13.Bandwidth(MBps)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "16MB",
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "O",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result14.Bandwidth(MBps)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "32MB",
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "P",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result15.Bandwidth(MBps)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "64MB",
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Q",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result16.Bandwidth(MBps)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": [
            {
              "colorMode": "warning",
              "fill": true,
              "line": true,
              "op": "gt",
              "value": 30
            },
            {
              "colorMode": "ok",
              "fill": true,
              "line": true,
              "op": "lt",
              "value": 30
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Memory Bandwidth- Ramspeed",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "MBs",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": 250,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "yardstick",
          "fill": 1,
          "id": 2,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "span": 12,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "dsType": "influxdb",
              "groupBy": [],
              "measurement": "opnfv_yardstick_tc069",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "Result1.Block_size(kb)"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Panel Title",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    }
  ],
  "schemaVersion": 14,
  "style": "dark",
  "tags": [
    "Compute"
  ],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now/d",
    "to": "now/d"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "opnfv_yardstick_tc069",
  "version": 4
}