]> www.infradead.org Git - mtd-utils.git/commit
mtd-tests: flash_speed: Benchmark continuous reads
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 26 Aug 2024 09:46:29 +0000 (11:46 +0200)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Tue, 8 Oct 2024 06:15:00 +0000 (08:15 +0200)
commit452e706ad5a47ca32c411946c9773814ce14549c
tree83cdae1dffba12bb49704e6dbe8635322bf0d7af
parent472335f7c6f13f6c82b2bb53dd0780901dbeacda
mtd-tests: flash_speed: Benchmark continuous reads

Currently the read throuput test tries:
- 1 page
- 2 pages
- 1 block (64 or more pages, usually)

But it might be interesting to see how the speed gradually increases,
eg. testing all number of pages from 1 to maybe 16, and then
arbitrarilly 32 and 64.

Let's add a -C parameter to enable this additional test.

The 2-page read/write tests are also moved under this new option.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
tests/mtd-tests/flash_speed.c