Re: g_mass_storage performance on partition vs. file

2018-08-15 Thread Alan Stern
On Wed, 15 Aug 2018, Martin Hicks wrote: > On Fri, Aug 03, 2018 at 12:56:37PM -0400, Alan Stern wrote: > > On Fri, 3 Aug 2018, Martin Hicks wrote: > > > > > > > > Hi, > > > > > > I've run into a huge performance gap between running a g_mass_storage > > > gadget with the backing file pointing to

Re: g_mass_storage performance on partition vs. file

2018-08-15 Thread Martin Hicks
On Fri, Aug 03, 2018 at 12:56:37PM -0400, Alan Stern wrote: > On Fri, 3 Aug 2018, Martin Hicks wrote: > > > > > 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

Re: g_mass_storage performance on partition vs. file

2018-08-05 Thread Felipe Balbi
Hi, Martin Hicks writes: > 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 wi

Re: g_mass_storage performance on partition vs. file

2018-08-03 Thread Alan Stern
On Fri, 3 Aug 2018, Martin Hicks wrote: > > 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

g_mass_storage performance on partition vs. file

2018-08-03 Thread Martin Hicks
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 en