summaryrefslogtreecommitdiffstats
path: root/samples/lmbench_cache.yaml
blob: 9dc58e94d8e2077a1d668666fb22a1e60dfb1e06 (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
##############################################################################
# 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 memory cache latency using lmbench

schema: "yardstick:task:0.1"

scenarios:
-
  type: Lmbench
  options:
    test_type: "latency_for_cache"
    line_size: 128
    repetition: 1
    warmup: 0

  host: demeter.demo

  runner:
    type: Iteration
    iterations: 2
    interval: 1

  sla:
    max_latency: 35
    action: monitor

context:
  name: demo
  image: yardstick-image
  flavor: yardstick-flavor
  user: ubuntu

  servers:
    demeter:
      floating_ip: true

  networks:
    test:
      cidr: '10.0.1.0/24'