11

I am trying to duplicate a folder (around 1GB) in the same directory and the copy rate is quite slow (getting around 600kbps).

I can download large files from the Internet faster than that (2/3 MBps).

Any thoughts?

enter image description here

Note: I am using Windows 7 Professional.

Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311
Mahes
  • 261

4 Answers4

16

This is normal, you are reading and writing to the same physical disk and it can be even worse if you have a lot of files in a single directory.

12

Small files hurt performance. A big file that you download only needs a single file table entry and is only written. But copying 20.000 files; besides reading + writing, also need to modify 20.000 file table entries. And as commented, even the free space table and disk fragmentation also come into play. Your copy dialog seems completely normal to me, I would worry if it mentions hours for a prolonged time...

5

if the OS has to call 'CreateFile()' a lot things can get a bit bloody and sometimes nasty. in any case, try to disable the 8.3 filename creation since the "make long names short" is kind of bad for the performance. if you have a lot of similar named files which are pretty pretty pretty similar when truncated to 8.3 then you will trigger the 8.3 algorithm very often:

  1. take the long version and truncate it to 8.3 chars
  2. is there any other file with that name already?
    1. nope? cool. insert it as an attribute in the MFT
    2. yes? darn, shorten it to 7chars and append a number. check again 2.

if that loop gets repeated often (there is a limit, but it runs several times for each NEW filename coming in) you will notice really bad speed when it comes to move / create a lot of new files.

read more at http://msdn.microsoft.com/en-us/library/aa365247(v=vs.85).aspx#short_vs._long_names

aside from that (just as the other answers already said): explorer has a lot do in the sense of creating icons and holding information about the files for that new directory.

akira
  • 63,447
4
  1. Open "My Computer" or "Computer" from your (Start) Menu or Button.
  2. Right-click the external Hard disk drive from the list and select "properties"
  3. Click the "Hardware" tab.
  4. Highlight the drive your having problems with from the drive list and click on "Properties".
  5. Click on the "Policies" tab.
  6. You will see two radio buttons - "Optimize for quick removal" and "optimize for performance".
  7. If not selected, select .."Optimize for performance" and click on "OK" (external.hard drive drive) If running Vista or Windows 7 also check "enable write caching on the disk"(Internal hard drives).
  8. Click on "OK" and exit.. make sure it's done on both hard drives
Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311