[PATCH mtd-utils 00/10] New options for hardening continuous read support
Miquel Raynal
miquel.raynal at bootlin.com
Mon Aug 26 02:46:19 PDT 2024
Continuous reads can significantly improve the read speed when several
sequential pages are read. Support has been (is being) contributed to
the Linux kernel and in order to test the features I had to hack in to
the mtd-utils in order to add several options.
The options are named -c, except when -c was already in-use, where I
switched to -C:
* nanddump: When asking for more than one page, we can ask to enable the
feature and compare two outputs.
* nandbiterrs: The biflips will only happen in the first page, but two
pages will be read. The returned values concern the
entire read.
* flash_test: It is interesting to see the read speed increasing with
the number of pages. The new measurements are made
optionals.
Cheers,
Miquèl
Miquel Raynal (10):
nand-utils: nanddump: Use a specific variable for the buffer size
nand-utils: nanddump: Explicitely use the page size when relevant
nand-utils: nanddump: Add support for testing continuous reads
mtd-tests: nandbiterrs: Store the chunks size in an intermediate
variable
mtd-tests: nandbiterrs: Add support for testing continuous reads
mtd-tests: flash_speed: Drop an apparently useless block
mtd-tests: flash_speed: Clarify the number of pages in each set while
measuring
mtd-tests: flash_speed: Generalize read_eraseblock_by_2pages()
mtd-tests: flash_speed: Drop read_eraseblock_by_page()
mtd-tests: flash_speed: Benchmark continuous reads
nand-utils/nanddump.c | 34 ++++++++---
tests/mtd-tests/flash_speed.c | 111 +++++++++++++++++-----------------
tests/mtd-tests/nandbiterrs.c | 35 +++++++----
3 files changed, 106 insertions(+), 74 deletions(-)
--
2.43.0
More information about the linux-mtd
mailing list