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]

 



On Wed, Feb 03, 2016 at 06:56:57PM -0800, Marc MERLIN wrote:
> Thinkpad T540p, kernel 4.4.
> 
> Writing a big file goes at an attrocious 440KB/s
> Starting win7 in virtualbox on the same laptop, mounting the same stick
> and doing the same copy, writes the same file at 23MB/s
> 
> Reading the file in virtualbox goes at 30MB/s
> Reading the file in linux goes at 36MB/s (after echo 3 > /proc/sys/vm/drop_caches)
> 
> GregKH recommended I try this:
> legolas:~# cat /sys/class/block/sdc/device/max_sectors 
> 240
> legolas:~# echo 4096 > /sys/class/block/sdc/device/max_sectors 
> 
> This made no difference in write speed.
> 
> Any idea what's going on and what should be done?
> 
> 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
turning off the 'flush' option if possible to try to match the same
Windows options.

Nice to see writes go faster on Linux :)

thanks,

greg k-h
--
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