BmapFlasher: improve flashing speed
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 6 Nov 2012 13:41:29 +0000 (15:41 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 8 Nov 2012 08:10:40 +0000 (10:10 +0200)
commita056e571b3a67e7da92f1e2a01ecc90864ea56b4
tree262117a0903d14b5db78b4f5de71f610d5496fc5
parent4a7c10ebb691db546e513ce2af45327c99b8f21c
BmapFlasher: improve flashing speed

Improve flashing speed by switching to the 'noop' I/O scheduler for the block
device we are flashing to. This gives ~20% write speed imporvement.

Also limit the write buffering in order make the flashing - we do not need that
and we better leave the memory for other applications.

Change-Id: Ideca1b4ee786c91606e91813d2ffe451380506d3
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmaptools/BmapFlasher.py