Re: Writing to USB3 memory stick with 4.4 is 52 times slower than Win7 inside virtualbox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Greg,

Thanks for your quick reply.

On Wed, Feb 03, 2016 at 07:07:45PM -0800, Greg Kroah-Hartman wrote:
> > Note that I have this problem with all USB sticks, not just this one
> > stick.
> 
> What filesystem, vfat?  What is the mount options you use for it?  Try

oops, forgot that:
/dev/sdc1 on /mnt/mnt type vfat (rw,relatime,sync,uid=500,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro)

> turning off the 'flush' option if possible to try to match the same
> Windows options.

legolas:~# mount -o remount,nosync /dev/sdc1 /mnt/mnt

obviously makes things much faster, but by then the copy is acked
immediately (it's too fast to even measure the speed) but the usb key
keeps writing in the background for a while as expected.

flush option does not seem enabled.

Still, you're likely on the right track, something seems to wait for
each write to proceed before sending the next one.
Is there another option I can try?

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/                         | PGP 1024R/763BE901
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux