mirror of
https://github.com/m5stack/zephyr.git
synced 2026-05-20 10:57:03 -07:00
8a322cb56d
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>
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