On 28/03/13 12:01, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wednesday, 2013-03-27 at 22:45 +1100, Basil Chupin wrote:
I used a stopwatch to check how long it took to copy a file to (a) a partition formatted in ntfs on an external USB3 HDD and (b) how long to copy to the same HDD but to a partition formatted in ext4.
I copied a 11.437GB file to the ntfs partition using 3 methods and the results were:
1. copy using cp command................. 4 min 59.1 sec
2. copy using mc................................ 6 min 29.3 sec
3. copy using Dolphin......................... 5 min 13 sec
Then I copied the same file to the ext4 formatted partition and the results were:
1. using cp command....................... 2 min 17.3 sec
2. using mc...................................... 2 min 18.1 sec
3. using Dolphin............................... 2 min 18.2 sec
The results are not surprising at all. It is about what I expected. Or we executed, most of all have told you about the same things :-)
It is very simple: writing files on ntfs on Linux is slow because it uses more cpu. It does not matter to you why exactly - if it does matter, then try to understand all that talk about userspace vs kernelspace and single-double-triple buffering and reverse-engineering.
Why different copy programs behave differently means that they do the copy differently. We would need a dev looking at the code to learn why some are more affected than others by this operation. It is curious, though.
Repeat the above test having in another terminal "top" running and see what it shows...
To see how much each of the 8 cores are being worked? OK, I'll try that later.
What is missing in my explanation of the situation to keep the issue of USB2 being brought up?
Somewhere you mentioned that you did not have/see this issue when you used USB2 or some similar words. We said that using USB2, as it is slow itself, you do not hit the problem that you see in your table of ntfs-3g being slow.
Ah, so that is what those references to USB2 were all about :-) . ================= Actually, there may be more to all of this than meets the eye - to use an old cliche. I bought the Seagate because I bought a 2TB WD just before Christmas and I could NOT copy files to it without getting errors - with the screen going blood red in mc and the HDD being unmounted. These errors occurred when copying to either the ext4 or the ntfs partitions on that WD. The errors I would get were: "kernel I/O error (5)" most of the times but there were other very similar ones. And after battling these hassles for 3 months I got fed up, swore never to buy another WD HDD and went out and bought the Seagate a couple of days ago. BC -- Using openSUSE 12.3 x86_64 KDE 4.10.1 & kernel 3.8.4-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org