public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH mtd-utils 00/10] New options for hardening continuous read support
@ 2024-08-26  9:46 Miquel Raynal
  2024-08-26  9:46 ` [PATCH mtd-utils 01/10] nand-utils: nanddump: Use a specific variable for the buffer size Miquel Raynal
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: Miquel Raynal @ 2024-08-26  9:46 UTC (permalink / raw)
  To: David Oberhollenzer
  Cc: Richard Weinberger, Vignesh Raghavendra, Tudor Ambarus,
	Pratyush Yadav, Michael Walle, linux-mtd, Julien Su, Alvin Zhou,
	Thomas Petazzoni, Miquel Raynal

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


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-10-08  8:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-26  9:46 [PATCH mtd-utils 00/10] New options for hardening continuous read support Miquel Raynal
2024-08-26  9:46 ` [PATCH mtd-utils 01/10] nand-utils: nanddump: Use a specific variable for the buffer size Miquel Raynal
2024-08-26  9:46 ` [PATCH mtd-utils 02/10] nand-utils: nanddump: Explicitely use the page size when relevant Miquel Raynal
2024-08-26  9:46 ` [PATCH mtd-utils 03/10] nand-utils: nanddump: Add support for testing continuous reads Miquel Raynal
2024-08-26  9:46 ` [PATCH mtd-utils 04/10] mtd-tests: nandbiterrs: Store the chunks size in an intermediate variable Miquel Raynal
2024-08-26  9:46 ` [PATCH mtd-utils 05/10] mtd-tests: nandbiterrs: Add support for testing continuous reads Miquel Raynal
2024-08-26  9:46 ` [PATCH mtd-utils 06/10] mtd-tests: flash_speed: Drop an apparently useless block Miquel Raynal
2024-08-26  9:46 ` [PATCH mtd-utils 07/10] mtd-tests: flash_speed: Clarify the number of pages in each set while measuring Miquel Raynal
2024-08-26  9:46 ` [PATCH mtd-utils 08/10] mtd-tests: flash_speed: Generalize read_eraseblock_by_2pages() Miquel Raynal
2024-08-26  9:46 ` [PATCH mtd-utils 09/10] mtd-tests: flash_speed: Drop read_eraseblock_by_page() Miquel Raynal
2024-08-26  9:46 ` [PATCH mtd-utils 10/10] mtd-tests: flash_speed: Benchmark continuous reads Miquel Raynal
2024-10-08  7:00 ` [PATCH mtd-utils 00/10] New options for hardening continuous read support David Oberhollenzer
2024-10-08  8:35   ` Miquel Raynal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox