Copy Methods

English support for the software AllSync
Post Reply
vp
Posts: 40
Joined: 22 Jun 2005, 20:03

Copy Methods

Post by vp »

I have been using AllSync for a few days, and the backups are really slow. My needs are as follows: I am backing up a remote site (over VPN) to a local hard drive (let's call it "task X"), and I am also backing up a local drive to a NAS on the local network (let's call it "task Y"), both with copy method B, which is the default for Windows 2000.

I think I could save a lot of time by unchecking the "Overwrite file if the content of the files is different" option. With this option enabled, AllSync must scan each entire file for differences, wasting precious time. If the program doesn't check contents, each file check will take almost no time, no matter how large the file is, unless it actually must be copied.

Is the above theory correct?

Second, your statistics show that copy method B takes significantly longer than the others over a network. I don't want to lose all interactivity, so I don't want to use method A. I also noticed that method C takes longer than the others with a USB stick.

Which method do you recommend (i.e. which is fastest) for "task X", and which for "task Y"?

Assuming you're going to say method C, what settings should I use? Of course no pause, but what would be the optimal data packet size?

Thanks
Administrator
Site Admin
Posts: 4047
Joined: 04 Oct 2004, 18:38
Location: Thailand
Contact:

Re: Copy Methods

Post by Administrator »

If the program doesn't check contents, each file check will take almost no time, no matter how large the file is, unless it actually must be copied. Is the above theory correct?
Yes.

Which method do you recommend (i.e. which is fastest) for "task X", and which for "task Y"?
For "Task Y" i would use Copy method C. For "Task X" i don't know. You have to test the VPN with Copy method B and C.
Assuming you're going to say method C, what settings should I use? Of course no pause, but what would be the optimal data packet size?
To find out the optimal data packet size you must do some copy tests with your connection (VPN, USB, Wireless...)
vp
Posts: 40
Joined: 22 Jun 2005, 20:03

Post by vp »

Can you provide more technical information about copy methods A, B and C?
Administrator
Site Admin
Posts: 4047
Joined: 04 Oct 2004, 18:38
Location: Thailand
Contact:

Post by Administrator »

which technical informations do you mean? the name of the used APIs?
vp
Posts: 40
Joined: 22 Jun 2005, 20:03

Post by vp »

Yes, that would help. I'd like to do research on which method would work better for me in various situations. Thanks!
Administrator
Site Admin
Posts: 4047
Joined: 04 Oct 2004, 18:38
Location: Thailand
Contact:

Post by Administrator »

copy methode A uses the API "copyfile"

copy methode B uses the API "copyfileex"

copy methode C uses the API "CreateFile"


more infos about the APIs:

http://msdn.microsoft.com/library/defau ... ctions.asp
Last edited by Administrator on 04 Jul 2005, 14:30, edited 1 time in total.
vp
Posts: 40
Joined: 22 Jun 2005, 20:03

Post by vp »

Thanks!
vp
Posts: 40
Joined: 22 Jun 2005, 20:03

Post by vp »

What is the maximum packet size possble? What is the significance of this number, and are there limitations to packet size based on protocol or other parameters?
Administrator
Site Admin
Posts: 4047
Joined: 04 Oct 2004, 18:38
Location: Thailand
Contact:

Post by Administrator »

vp wrote:What is the maximum packet size possble?
At this time its limited to a max. value of 999.999 bytes. If you need more.
What is the significance of this number,
This number specify the data packet size used to read from the source file to the memory and then write from the memory to the destination file.
and are there limitations to packet size based on protocol or other parameters?
Maybe, i think a packet size of 999.999 bytes will not very usefull with a slow modem connection of 64kb....you have to do some copy tests to find the optimal packet size.
vp
Posts: 40
Joined: 22 Jun 2005, 20:03

Post by vp »

The Ethernet maximum packet size is 1500, so is it perhaps pointless (or even counter-productive) to set the value any higher than that if transferring between computers?
Administrator
Site Admin
Posts: 4047
Joined: 04 Oct 2004, 18:38
Location: Thailand
Contact:

Post by Administrator »

Maybe...have you tested this value (compared with the standard value)? Any differences?
vp
Posts: 40
Joined: 22 Jun 2005, 20:03

Post by vp »

Give me some time and we'll see...
Post Reply