zephyr/tests/drivers/disk/disk_performance
Tomasz Bursztyka 8a322cb56d tests/disk: Add NVMe disk to disk_performance
On Qemu x86_64 it is possible to emulate an NVMe controller and disk on
the PCIe bus, so let's add this case here to verify how the newly added
NVMe controller and disk driver perform, relatively to the host.
This will prove to be useful to evaluate the optimization to be made, or
the possible regression that could happen on future changes.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2023-04-07 13:28:47 +02:00
..
boards tests/disk: Add NVMe disk to disk_performance 2023-04-07 13:28:47 +02:00
src tests/disk: Add NVMe disk to disk_performance 2023-04-07 13:28:47 +02:00
CMakeLists.txt
Kconfig
README.txt
prj.conf
testcase.yaml tests/disk: Add NVMe disk to disk_performance 2023-04-07 13:28:47 +02:00

README.txt

Disk Performance Test
##################

This test is intended to test the performance of disk devices under Zephyr. It
was tested with SD cards, but can be used for other disk devices as well.
The test has the following phases:

* Setup test: simply sets up the disk, and reads data such as the sector count
  and sector size

* Sequential read test: This test performs sequential reads, first only over one
  sector, than over multiple sequential sectors.

* Random read test: This test performs random reads across the disk, each one
  sector in length.

* Sequential write test: This test performs sequential writes, first only over
  one sector, than over multiple sequential sectors.

* Random write test: This test performs random writes across the disk, each one
  sector in length