I recently bought new USB 3.0 flash drive (write speed: 110 MB/s, read speed: 190 MB/s). And I have Dell XPS 13 (it has SSD and USB 3.0).
My problem is speed of copying files to the USB flash stick.
When I formatted it to FAT32 or EXT2, EXT3, EXT4, the speed was around 100 MB/s. But with NTFS it's only around 20-30 MB/s.
But I don't think the problem is writing data to the USB stick. It seems the problem is reading from SSD when I'm copying files to the NTFS drive. Because when I look to the indicator-multiload, the read speed is around 30 MB/s, but the write is around 100 MB/s (see the graph: http://ubuntuone.com/3zHzUFfR9QGjeV62Qpq6va).
Another proof is simple program that I wrote in Java, which only read data from SSD and write them to USB stick. The speed with this program was also around 100 MB/s.
Does anybody know, how to improve native copying (cp command) to get the full speed with NTFS drive?
Thank you very much!
PS: I'm new Ubuntu user.
I test it now with 3.9 GB file:
CTRL+C/CTRL+V in Nautilus: 1:58 (34 MB/s) Command "cp": 1:39 (40 MB/s) Java program: 0:44 (90 MB/s)
If anyone wants to try it. Here is the program (for Java 7), that I used (source + compiled): http://ubuntuone.com/0KQgANrgN17izZm5fDPayJ
To test it, just
cd to the
bin folder and run:
java NtfsCopy source destination
to see the usage.
NOTICE: Please notice that this program has not been tested, so use it at your own risk. To check if the file was copied correctly, use
sha1sum or something similar.