aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiao Yang <xiaox.yang@intel.com>2019-07-05 16:15:51 +0800
committerPhilip Li <philip.li@intel.com>2019-07-05 18:55:20 +0800
commitfb5a203a43d948212470081a7b2e8b066f55e0e7 (patch)
tree92ae8d2b5d622875aacca898f8eb4d569ba18f84
parent1c1996715727a5843f3497c99f36605309b385cc (diff)
downloadlkp-tests-fb5a203a43d948212470081a7b2e8b066f55e0e7.tar.gz
README.md: add doc to explain how to run job by specifying disk partitions
fix the following issues by specifying disk partitions: -------------------------------------------- due to not enough HDD disks need: 1, has: 0 due to not enough SSD disks need: 1, has: 0 -------------------------------------------- Signed-off-by: Xiao Yang <xiaox.yang@intel.com> Reviewed-by: "Huang, Ying" <ying.huang@intel.com> Signed-off-by: Philip Li <philip.li@intel.com>
-rw-r--r--README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8603f1df..8ed667d3 100644
--- a/README.md
+++ b/README.md
@@ -41,6 +41,25 @@
lkp run ./hackbench-50%-threads-socket.yaml
```
+## Run your own disk partitions
+
+Specify disk partitions by defining hdd_partitions/sdd_partitions in host file
+named with local hostname and then lkp split-job will write the disk partitions
+information to split job file automatically.
+
+Please note that disk partitions may be formatted/corrupted to run job.
+
+```
+ echo "hdd_partitions: /dev/sda /dev/sdb" >> lkp-tests/hosts/$(hostname | sed -r 's/-[0-9]+$//g' | sed -r 's/-[0-9]+-/-/g')
+ lkp split-job lkp-tests/jobs/blogbench.yaml
+ # output is:
+ # lkp-tests/jobs/blogbench.yaml => ./blogbench-1HDD-ext4.yaml
+ # lkp-tests/jobs/blogbench.yaml => ./blogbench-1HDD-xfs.yaml
+ # ...
+ lkp install ./blogbench-1HDD-ext4.yaml
+ lkp run ./blogbench-1HDD-ext4.yaml
+```
+
## Run your own benchmarks
To run your own benchmarks that are not part of lkp-tests, you can use mytest job.