Skip to content
master
Go to file
Code
This branch is 755 commits ahead, 2 commits behind fengguang:master.

Latest commit

since "futex_requeue_pi.broadcast=0_locked=1_owner=0_timeout=5000ns" &
"futex_requeue_pi.broadcast=0_locked=1_owner=0_timeout=500000ns" has
duplicated name, we have to ignore futex's subtests.

/result/bad/kernel-selftests/kselftests-01-ucode=0xdc/lkp-skl-d05/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-7.6-kselftests/gcc-9/f37114e5b7d776688e663cfb5e2c66101473136d/1$ grep -a2 -n "broadcast=0 locked=1 owner=0 timeout=5000" kernel-selftests
2410-# 1..1
2411-# # futex_requeue_pi: Test requeue functionality
2412:# # 	Arguments: broadcast=0 locked=1 owner=0 timeout=5000ns
2413-# ok 1 futex-requeue-pi
2414-# # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0
--
2422-# 1..1
2423-# # futex_requeue_pi: Test requeue functionality
2424:# # 	Arguments: broadcast=0 locked=1 owner=0 timeout=500000ns
2425-# ok 1 futex-requeue-pi
2426-# # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0
--
2458-# 1..1
2459-# # futex_requeue_pi: Test requeue functionality
2460:# # 	Arguments: broadcast=0 locked=1 owner=0 timeout=5000ns
2461-# ok 1 futex-requeue-pi
2462-# # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0
--
2470-# 1..1
2471-# # futex_requeue_pi: Test requeue functionality
2472:# # 	Arguments: broadcast=0 locked=1 owner=0 timeout=500000ns
2473-# ok 1 futex-requeue-pi
2474-# # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0

Signed-off-by: Carel Si <beibei.si@intel.com>
Signed-off-by: Philip Li <philip.li@intel.com>
c0e6436

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
 
 
 
 
doc
 
 
etc
 
 
 
 
 
 
 
 
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
pkg
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Linux Kernel Performance tests

Getting started

	git clone https://github.com/intel/lkp-tests.git

	cd lkp-tests
	make install

	lkp help

Install packages for a job

	# browse and select a job you want to run, for example, jobs/hackbench.yaml
	ls lkp-tests/jobs
	
	# install the common dependencies for lkp
	lkp install

Run one atomic job

	lkp split-job lkp-tests/jobs/hackbench.yaml
	# output is:
	# jobs/hackbench.yaml => ./hackbench-1600%-process-pipe.yaml
	# jobs/hackbench.yaml => ./hackbench-1600%-process-socket.yaml
	# jobs/hackbench.yaml => ./hackbench-1600%-threads-pipe.yaml
	# jobs/hackbench.yaml => ./hackbench-1600%-threads-socket.yaml
	# jobs/hackbench.yaml => ./hackbench-50%-process-pipe.yaml
	# jobs/hackbench.yaml => ./hackbench-50%-process-socket.yaml
	# jobs/hackbench.yaml => ./hackbench-50%-threads-pipe.yaml
	# jobs/hackbench.yaml => ./hackbench-50%-threads-socket.yaml

	# install the remaining dependencies for the splited job
	lkp install ./hackbench-50%-threads-socket.yaml

	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.

	lkp split-job lkp-tests/jobs/mytest.yaml
	# output is:
	# jobs/mytest.yaml => ./mytest-defaults.yaml
	lkp run ./mytest-defaults.yaml -- <command> <argument> ...

Check result

	lkp result hackbench

Supported Distributions

Most test cases should install/run well in

  • Debian sid
  • Archlinux
  • CentOS7

There is however some initial support for:

  • OpenSUSE:
    • jobs/trinity.yaml
  • Fedora
  • Clear Linux(>=22640)

As for now, lkp-tests still needs to run as root.

Adding distribution support

If you want to add support for your Linux distribution you will need an installer file which allows us to install dependencies per job. For examples look at: distro/installer/* files.

Since packages can have different names we provide an adaptation mapping for a base Ubuntu package (since development started with that) to your own distribution package name, for example adaptation files see: distro/adaptation/*. For now adaptation files must have the architecture dependent packages (ie, that ends with the postfix :i386) towards the end of the adaptation file.

You will also want to add a case for your distribution on sync_distro_sources() on the file lib/install.sh.

Extra Documentation

Refer to https://github.com/intel/lkp-tests/wiki

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Linux Kernel Performance tests

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.