Comments (11)
Sorry for delay.
please check whether lkp-tests/host/${HOSTNAME} exists.
- If lkp-tests/host/${HOSTNAME} exist.
You could edit hdd/ssd partitions directly to specify testing partitions. Could refer to other files under lkp-tests/hosts
liuyd@liuyd-ubuntu1804:~/lkp-tests/hosts$ cat liuyd-ubuntu1804
nr_cpu: 2
memory: 3G
hdd_partitions:
ssd_partitions:
local_run: 1
- You could specify hdd/ssd when you install job by option "--hdd/--ssd"
lkp install --hdd /dev/testing_hdd ./iozone-2HDD-ext4-kyber.yaml .
liuyd@liuyd-ubuntu1804:~/lkp-tests/hosts$ sudo lkp install --help
[sudo] password for liuyd:
Usage: lkp install [options] [<script>/]
options:
-f|--force: force to install testsuites
--hdd partition: HDD partition for IO tests
--ssd partition: SSD partition for IO tests
from lkp-tests.
Hi,
I tried these steps but did not work for me. It is giving same error. Can you provide me any other solution to fix it.
Thanks,
Ankita
from lkp-tests.
Hi, @Ankita-020696.
Sorry for the delay. After add hdd partition info into lkp-tests/host/${HOSTNAME}.
Please run "lkp split-job iozone.yaml" again.
During lkp split
, we added some info like memory, disk etc. to job.yaml.
And lkp parsed job.yaml to get needed value.
So when you edit host/${HOSTNAME}, you need split this job again to add new disk info.
Thanks.
- Edit lkp-tests/host/${HOSTNAME}
- lkp split-job iozone.yaml again (After split job, please check whether ./iozone-2HDD-ext4-kyber.yaml has hdd_partitions info)
- lkp run ./iozone-2HDD-ext4-kyber.yaml
root@lkp-boy:/home/zhangzh/lkp-tests/jobs# lkp run ./iozone-2HDD-ext4-kyber.yaml
[snip]
Traceback (most recent call last):
6: from /home/zhangzh/lkp-tests/bin/run-local:131:in<main>' 5: from /home/zhangzh/lkp-tests/lib/job.rb:691:in
expand_params'
4: from /home/zhangzh/lkp-tests/lib/job.rb:77:infor_each_in' 3: from /home/zhangzh/lkp-tests/lib/job.rb:77:in
each'
2: from /home/zhangzh/lkp-tests/lib/job.rb:78:inblock in for_each_in' 1: from /home/zhangzh/lkp-tests/lib/job.rb:694:in
block in expand_params'
/home/zhangzh/lkp-tests/lib/job.rb:669:in `run_filter': /home/zhangzh/lkp-tests/filters/disk: exitstatus 1 (Job::ParamError)
Edit host file and split again.
root@lkp-boy:/home/zhangzh/lkp-tests/jobs# lkp split-job iozone.yaml
iozone.yaml => ./iozone-2HDD-xfs-kyber.yaml
iozone.yaml => ./iozone-2HDD-ext4-kyber.yaml
iozone.yaml => ./iozone-2HDD-btrfs-kyber.yaml
root@lkp-boy:/home/zhangzh/lkp-tests/jobs# lkp run ./iozone-2HDD-ext4-kyber.yaml
ls: cannot access '/dev/vda3': No such file or directory
ls: cannot access '/dev/vda4': No such file or directory
from lkp-tests.
If you choose the way of "lkp install --hdd /dev/XXX". You need remove lkp-tests/host/${HOSTNAME} firstly.
Remove lkp-tests/host/${HOSTNAME} ==> lkp install --hdd /dev/vda1 --hdd/dev/vda2 job.yaml
==> lkp run job.yaml
from lkp-tests.
Hi, @Ankita-020696.
Sorry for the delay. After add hdd partition info into lkp-tests/host/${HOSTNAME}.
Please run "lkp split-job iozone.yaml" again.During
lkp split
, we added some info like memory, disk etc. to job.yaml.
And lkp parsed job.yaml to get needed value.
So when you edit host/${HOSTNAME}, you need split this job again to add new disk info.Thanks.
1. Edit lkp-tests/host/${HOSTNAME} 2. lkp split-job iozone.yaml again (After split job, please check whether ./iozone-2HDD-ext4-kyber.yaml has hdd_partitions info) 3. lkp run ./iozone-2HDD-ext4-kyber.yaml
root@lkp-boy:/home/zhangzh/lkp-tests/jobs# lkp run ./iozone-2HDD-ext4-kyber.yaml
[snip]
Traceback (most recent call last):
6: from /home/zhangzh/lkp-tests/bin/run-local:131:in<main>' 5: from /home/zhangzh/lkp-tests/lib/job.rb:691:in
expand_params'
4: from /home/zhangzh/lkp-tests/lib/job.rb:77:infor_each_in' 3: from /home/zhangzh/lkp-tests/lib/job.rb:77:in
each'
2: from /home/zhangzh/lkp-tests/lib/job.rb:78:inblock in for_each_in' 1: from /home/zhangzh/lkp-tests/lib/job.rb:694:in
block in expand_params'/home/zhangzh/lkp-tests/lib/job.rb:669:in `run_filter': /home/zhangzh/lkp-tests/filters/disk: exitstatus 1 (Job::ParamError)
Edit host file and split again.
root@lkp-boy:/home/zhangzh/lkp-tests/jobs# lkp split-job iozone.yaml
iozone.yaml => ./iozone-2HDD-xfs-kyber.yaml
iozone.yaml => ./iozone-2HDD-ext4-kyber.yaml
iozone.yaml => ./iozone-2HDD-btrfs-kyber.yaml
root@lkp-boy:/home/zhangzh/lkp-tests/jobs# lkp run ./iozone-2HDD-ext4-kyber.yaml
ls: cannot access '/dev/vda3': No such file or directory
ls: cannot access '/dev/vda4': No such file or directory
Hi,
1.I tried by editing {HOSTNAME}, this is giving
Command: sudo lkp run ./iozone-2HDD-ext4-kyber.yaml
rm due to not enough HDD disks
need: 2, has: 1
Traceback (most recent call last):
6: from /home/ankita/Ankita/lkp-tests/bin/run-local:131:in <main>' 5: from /home/ankita/Ankita/lkp-tests/lib/job.rb:691:in
expand_params'
4: from /home/ankita/Ankita/lkp-tests/lib/job.rb:77:in for_each_in' 3: from /home/ankita/Ankita/lkp-tests/lib/job.rb:77:in
each'
2: from /home/ankita/Ankita/lkp-tests/lib/job.rb:78:in block in for_each_in' 1: from /home/ankita/Ankita/lkp-tests/lib/job.rb:694:in
block in expand_params'
/home/ankita/Ankita/lkp-tests/lib/job.rb:669:in `run_filter': /home/ankita/Ankita/lkp-tests/filters/disk: exitstatus 1 (Job::ParamError)
- When I am using "lkp install --hdd /dev/XXX" (removed hostname), I get
rm due to not enough HDD disks
need: 2, has: 0
Traceback (most recent call last):
6: from /home/ankita/Ankita/lkp-tests/bin/run-local:131:in <main>' 5: from /home/ankita/Ankita/lkp-tests/lib/job.rb:691:in
expand_params'
4: from /home/ankita/Ankita/lkp-tests/lib/job.rb:77:in for_each_in' 3: from /home/ankita/Ankita/lkp-tests/lib/job.rb:77:in
each'
2: from /home/ankita/Ankita/lkp-tests/lib/job.rb:78:in block in for_each_in' 1: from /home/ankita/Ankita/lkp-tests/lib/job.rb:694:in
block in expand_params'
/home/ankita/Ankita/lkp-tests/lib/job.rb:669:in `run_filter': /home/ankita/Ankita/lkp-tests/filters/disk: exitstatus 1 (Job::ParamError)
Thanks
from lkp-tests.
Please share your host/${HOSTNAME}, ./iozone-2HDD-ext4-kyber.yaml and cmdline.
from lkp-tests.
host/${HOSTNAME}:
cat ankita-Inspiron-15
nr_cpu: 4
memory: 11G
hdd_partitions: 2
ssd_partitions:
local_run: 1
cat ./iozone-2HDD-ext4-kyber.yaml
#! jobs/iozone.yaml
suite: iozone
testcase: iozone
category: benchmark
disk: 2HDD
fs: ext4
iosched: kyber
iozone:
job_origin: jobs/iozone.yaml
testbox: ankita-Inspiron-15-3567
arch: x86_64
tbox_group: ankita-Inspiron-15
#! hosts/ankita-Inspiron-15
nr_cpu: 4
memory: 11G
hdd_partitions: 2
ssd_partitions:
local_run: 1
#! include/category/benchmark
kmsg:
boot-time:
uptime:
iostat:
heartbeat:
vmstat:
numa-numastat:
numa-vmstat:
numa-meminfo:
proc-vmstat:
proc-stat:
meminfo:
slabinfo:
interrupts:
lock_stat:
latency_stats:
softirqs:
bdi_dev_mapping:
diskstats:
nfsstat:
cpuidle:
cpufreq-stats:
turbostat:
sched_debug:
perf-stat:
mpstat:
perf-profile:
#! include/disk/nr_hdd
need_kconfig:
- CONFIG_BLK_DEV_SD
- CONFIG_SCSI
- CONFIG_BLOCK=y
- CONFIG_SATA_AHCI
- CONFIG_SATA_AHCI_PLATFORM
- CONFIG_ATA
- CONFIG_PCI=y
- CONFIG_BLK_DEV_DM
- CONFIG_EXT4_FS
#! include/iozone
#! include/fs/OTHERS
#! default params
kconfig: x86_64-rhel-7.6
compiler: gcc-7
Thanks
from lkp-tests.
hdd_partitions: 2
You should add real disk, not number.
e.g. hdd_partitions: /dev/vda1 /dev/vda2
Please refer other host file
e.g.
liuyd@lkp-boy:~/lkp-tests/hosts$ cat lkp-ivb-2ep1
model: Ivy Bridge-EP
nr_node: 2
nr_cpu: 48
memory: 64G
nr_hdd_partitions: 3
hdd_partitions:
/dev/disk/by-id/ata-WDC_WD1003FBYZ-010FB0_WD-WCAW36795753-part1
/dev/disk/by-id/ata-WDC_WD1003FBYZ-010FB0_WD-WCAW36795753-part2
/dev/disk/by-id/ata-WDC_WD1003FBYZ-010FB0_WD-WCAW36795753-part3
rootfs_partition: /dev/disk/by-id/ata-INTEL_SSDSC2BB800G4_PHWL42040057800RGN-part1
brand: Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
After edit host file correctly, run lkp split iozone.yaml
again.
from lkp-tests.
Hi,
This worked for me.
Thanks
from lkp-tests.
Can u tell me,
- How much size will each partition need for iozone?
- How iozone is calculating parent throughput & child throughput?
Thanks
from lkp-tests.
Hi,
How much size will each partition need for iozone?
There is no limit about disk space i think. we use iozone option '-a' to run test.
'-a' will set testing variables automatically, e.g block size.
How iozone is calculating parent throughput & child throughput?
I'm sorry, i'm not very clear about iozone itself. Maybe you shold ask iozone community.
We just enable it in LKP testing framework and analyse the regression.
from lkp-tests.
Related Issues (20)
- stats/kernel-selftests: resolve rubocop issues of VmStater class HOT 3
- stats/kernel-selftests: resolve rubocop issues of X86Stater class HOT 1
- stats/kernel-selftests: resolve rubocop issues of ResctrlStater class HOT 1
- stats/kernel-selftests: resolve rubocop issues of CapabilitiesStater class HOT 4
- stats/kernel-selftests: resolve rubocop issues of KmodStater class HOT 1
- stats/kernel-selftests: resolve rubocop issues of NetfilterStater class HOT 1
- stats/kernel-selftests: resolve rubocop issues of BpfStater class
- stats/kernel-selftests: resolve rubocop issues of VmallocStater class HOT 1
- perf-sanity-tests: analyze subtests of each perf test
- docker: support fedora:38 HOT 1
- docker: support ubuntu:22.04 HOT 1
- docker: support archlinux:base HOT 1
- locktorture: enable extra torture_type
- kunit: enable extra tests
- hwsim: resolve git clone timeout HOT 1
- Data_store error after lkp run in fedora:38 & archlinux:base docker
- Suggest using the `Closes:` tag instead of the `Link:` one HOT 2
- lkp install throws multiple errors HOT 1
- fail to install will-it-scale on fedora 38 HOT 1
- Incorrect paths and deprecated methods
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lkp-tests.