diff --git a/yaml-base/iozone-base.yaml b/yaml-base/iozone-base.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4545964e9acca1ef73f354688cf5edc08590fd18 --- /dev/null +++ b/yaml-base/iozone-base.yaml @@ -0,0 +1,62 @@ +project: "iozone3_430" # 工程名称 +test_type: "iozone" +# base_path: "/root/kytuning/run/iozone" +log_file: "{base_path}/kytuning.log" +log_leve: "debug" + +tool_tgz: "{base_path}/tools/iozone3_430.tar" +tool_dir: "{base_path}/iozone3_430" +tool_decompression: "tar -xvf {tool_tgz} -C {base_path}" + +maxiterations: 1 + + +# rpm_list: +# - "numactl" +# - "jemalloc" + +# configs: +# - name: "vm.swappiness" +# desc: "the vm.swapiness" +# get : "sysctl -a | grep vm.swappiness | awk '{print $3}'" +# set : "sysctl -w vm.swappiness={value}" +# value: 20 + +testcase: + - name: "half" + clean: "" + build: "make -C src/current linux" + run: + pre_cmd: "mkdir result; {command}" + command: "./src/current/iozone -i 0 -i 1 -i 2 -s {FUNC_IOZONE_MEMSIZE} -r 16m -f {FUNC_IOZONE_FILE} -Rb ./result/iozone_{FUNC_IOZONE_MEMSIZE}.xls | tee ./result/iozone_{FUNC_IOZONE_MEMSIZE}_console.log" + c_param: {FUNC_IOZONE_MEMSIZE: "half", FUNC_IOZONE_FILE: ""} + schemeflag: 0 + # configs: + # - name: "kernel.sched_migration_cost_ns" + # desc: "context switch" + # get : "sysctl -n kernel.sched_migration_cost_ns" + # set : "sysctl -n kernel.sched_migration_cost_ns={value}" + # type: "continuous" + # values: + # - 100000 + # - 500000 + # - 100000 + # items: + + - name: "full" + clean: "" + build: "" + run: + pre_cmd: "mkdir result; {command}" + command: "./src/current/iozone -i 0 -i 1 -i 2 -s {FUNC_IOZONE_MEMSIZE} -r 16m -f {FUNC_IOZONE_FILE} -Rb ./result/iozone_{FUNC_IOZONE_MEMSIZE}.xls | tee ./result/iozone_{FUNC_IOZONE_MEMSIZE}_console.log" + c_param: {FUNC_IOZONE_MEMSIZE: "full", FUNC_IOZONE_FILE: ""} + schemeflag: 0 + + - name: "double" + clean: "make -C src/current clean" + build: "" + run: + pre_cmd: "mkdir result; {command}" + command: "./src/current/iozone -i 0 -i 1 -i 2 -s {FUNC_IOZONE_MEMSIZE} -r 16m -f {FUNC_IOZONE_FILE} -Rb ./result/iozone_{FUNC_IOZONE_MEMSIZE}.xls | tee ./result/iozone_{FUNC_IOZONE_MEMSIZE}_console.log" + c_param: {FUNC_IOZONE_MEMSIZE: "double", FUNC_IOZONE_FILE: ""} + schemeflag: 0 \ No newline at end of file