diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-10-13 12:08:07 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-10-13 13:16:49 +0200 |
commit | a2c6bbcf2f8e32532e64350ab76609e5db3c431b (patch) | |
tree | 88dbf5217093dec7ad427bd8c360d95fcaf9f329 /tests/unittests/sysfs_mock/class/mtd/mtd0/size | |
parent | f0b32c7ba5136151a961c3a43c8ff430b33d7c33 (diff) |
mtd-tests: Read and write pages during speed tests
The speed test does reads and writes of different sizes:
- eraseblock
- page
- two pages
At least this is the theory because, as opposed to the legacy kernel
module doing the same measurement, the userspace tool uses the subpage
size (hence accessing the same page 4, 8 or 16 times depending on the
subpage setting). Of course if the controller does not support subpages,
this issue is not visible.
Use mtd.min_io_size instead for non-NOR devices in order to get the
right bandwidth (at least one that fits the logs).
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/unittests/sysfs_mock/class/mtd/mtd0/size')
0 files changed, 0 insertions, 0 deletions