[PATCH] UBI: Block: Add blk-mq support

Richard Weinberger richard at nod.at
Mon Nov 3 10:22:27 PST 2014


Am 03.11.2014 um 14:58 schrieb Ezequiel Garcia:
> On 11/03/2014 02:03 AM, Ming Lei wrote:
>> On Sun, Nov 2, 2014 at 9:00 PM, Richard Weinberger <richard at nod.at> wrote:
>>> Convert the driver to blk-mq.
>>
>> It is always helpful to include some performance comparison data(
>> randrw, rw) between blk-mq and non-mq.
>>
> 
> UBI block support is read-only for now so you'll be able to run read
> tests only.
> 
> Richard: If at all possible, it would be interested to so some
> performance tests on *real* devices, not only RAM-based ones.

Sure. There you go:

nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
nand: Micron NAND 256MiB 3,3V 8-bit
nand: 256MiB, SLC, page size: 2048, OOB size: 64

root at debian-armhf:~# dd if=/dev/ubiblock0_0 of=/dev/zero bs=1M
243+1 records in
243+1 records out
255080448 bytes (255 MB) copied, 4.39295 s, 58.1 MB/s

vs.

root at debian-armhf:~# dd if=/dev/ubiblock0_0 of=/dev/zero bs=1M
243+1 records in
243+1 records out
255080448 bytes (255 MB) copied, 2.87676 s, 88.7 MB/s

Thanks,
//richard

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20141103/b8d074fb/attachment.sig>


More information about the linux-mtd mailing list