Hi,

I've run into a huge performance gap between running a g_mass_storage
gadget with the backing file pointing to a raw partition (/dev/mmcblk1)
vs. creating a file on an ext4 filesystem and exporting that.

With the partition I see write rates around 5MB/s, and with 
/proc/sys/vm/block_dump
enabled I can see that all writes are 512-byte single-sector writes.

Using a file within ext4fs, I get around 20MB and block_dump shows large IOs
(mostly 2048 sector).

Is there any way to get raw-partition to better use caching and not write back
every sector individually?

Thanks,
mh

-- 
Martin Hicks P.Eng.    |      m...@bork.org
Bork Consulting Inc.   |  +1 (613) 266-2296
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to