Something Windows _really_ sucks at
Sep. 29th, 2011 11:22 pmI'm copying files from a my networked hard drive to a USB stick.
It tells me it's going to take about 7 hours. For 3 Gig of data.
I copy it from the networked drive to my C drive. This takes about 4 minutes.
I then start copying it to the USB stick. This is varying between 8 minutes and 45 minutes, depending on whether it's copying a big file (fast) or lots of little files (slow).
Now, what the hell is the problem with copying files from the network to a USB stick that suddenly adds all of that time on? Why do the latencies multiply?
It tells me it's going to take about 7 hours. For 3 Gig of data.
I copy it from the networked drive to my C drive. This takes about 4 minutes.
I then start copying it to the USB stick. This is varying between 8 minutes and 45 minutes, depending on whether it's copying a big file (fast) or lots of little files (slow).
Now, what the hell is the problem with copying files from the network to a USB stick that suddenly adds all of that time on? Why do the latencies multiply?
no subject
Date: 2011-09-29 10:41 pm (UTC)I find copying smaller batches of files goes a lot quicker than if I copy them all at once.
no subject
Date: 2011-09-30 06:52 am (UTC)no subject
Date: 2011-09-29 11:07 pm (UTC)no subject
Date: 2011-09-30 06:53 am (UTC)no subject
Date: 2011-09-29 11:42 pm (UTC)no subject
Date: 2011-09-30 06:53 am (UTC)no subject
Date: 2011-09-30 09:28 am (UTC)Network -> PC is faster. So the USB driver should never be kept waiting.
(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:no subject
Date: 2011-09-30 12:38 am (UTC)no subject
Date: 2011-09-30 06:53 am (UTC)no subject
Date: 2011-09-30 07:29 am (UTC)Although I have noticed that it's usually faster for me to pull files off my external onto the harddrive and then on from there to a stick than it is to pull them directly from the external onto the stick - as in, combined times, still faster to do two transfers. But that's with two USB connected thingies.
(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:no subject
Date: 2011-09-30 08:32 am (UTC)This is apparently to be fixed in win 8.
While I do not know the root cause I suspect it is an issue called "pipelining". This is when a copying program fills buffers inefficiently and the "pauses" come to take up more than the "copying".
no subject
Date: 2011-09-30 08:58 am (UTC)copying to your harddrive is i/o used once
copying from your harddrive is i/o used once
Copying to you stick from the network is i/o being used simultaneously for two tasks.
Same basic I/O connects most of your peripheries. This isn't just windows this is all computers... *sigh*
no subject
Date: 2011-09-30 09:02 am (UTC)no subject
Date: 2011-09-30 09:04 am (UTC)Experiment 1: A tells B contents of page 1. B writes it down and checks it with A. Then B tells C contents of page 2. C writes it down and checks it with B.
Experiment 2: A tells B contents of page 3, meanwhile B is also telling C the contents of page 4. B is writing page 3 down, C is writing down page 4. Both are checking with their sources.
Compare the times of the experiment... Experiment 2 usually ends with people yelling at each other and cheating just to get the page copied down before the end of the tutorial.
no subject
Date: 2011-09-30 09:58 am (UTC)(no subject)
From:(no subject)
From:no subject
Date: 2011-09-30 09:17 am (UTC)no subject
Date: 2011-09-30 10:03 am (UTC)What i do not know is the underlying mechanism as the memory in USB should theoretically be very good at random access.
(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:no subject
Date: 2011-09-30 11:25 am (UTC)no subject
Date: 2011-09-30 11:40 am (UTC)(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:(no subject)
From:no subject
Date: 2011-09-30 01:42 pm (UTC)no subject
Date: 2011-09-30 01:51 pm (UTC)(no subject)
From:Turn on write caching, and copy from local disk not network
Date: 2011-09-30 02:01 pm (UTC)Re: Turn on write caching, and copy from local disk not network
Date: 2011-09-30 02:03 pm (UTC)no subject
Date: 2011-09-30 06:38 pm (UTC)Meanwhile, copying to disk and then to USB both use buffered I/O, so the actual reads and writes are happening in a smaller number of larger chunks, and a lot less time is wasted on latency.
no subject
Date: 2011-10-01 04:42 pm (UTC)Various 1GB AVIs that simply will not copy this way but which were fine the other way round from SAMBA to Windows.