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

From: Richard Weinberger
Date: Mon Nov 03 2014 - 13:22:38 EST


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@xxxxxx> 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@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@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

Attachment: signature.asc
Description: OpenPGP digital signature