summaryrefslogtreecommitdiff
path: root/ubifs-utils/mkfs.ubifs/defs.h
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2022-11-10 16:59:38 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-11-18 20:44:46 +0100
commita61e2d93c7cbfe3d9311349ad789b9e4e9a16105 (patch)
treebadac9c379fa6d1a236cd6207701f07ccaca8bad /ubifs-utils/mkfs.ubifs/defs.h
parentac03af0f56c4d9cffb56b958f38b57dc832340fe (diff)
mtd-utils: flash_speed: Measure read while write latency
The Read While Write (RWW) feature allows to perform reads from the flash array into cache while a program (from cache) or an erase operation happens, provided that the two areas are located on different banks. The main benefit is the possible reduced latency when requesting to read a page while a much longer operation is ongoing, like a write or an erase. We can try to compare the positive impact of such a feature by enhancing the flash_speed test tool with the following test: - Measure the time taken by an eraseblock write in parallel with an eraseblock read. - Measure when the read operation ends. - Compare the two to get the latency saved with the RWW feature. To be sure the mtd_write actually starts (and acquires the necessary locks) before the mtd_read does, we use SCHED_FIFO at rather high (arbitrary) priorities, respectively 42 and 41. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubifs-utils/mkfs.ubifs/defs.h')
0 files changed, 0 insertions, 0 deletions