Hi, It has been observed that rsync push mode is much slower when compared to pull (On Identical scenarios). Building/receiving file list takes almost same time. But data transfer is much slower, whose transfer ratios are ranging from 1:3 to 1:5. On pull operation data transfer speed is consistently around 3.5 MB/Sec and it reached 10 MB/Sec. However, on push the maximum it could reach is around 2 MB/Sec and hogs around 1MB/Sec. Why is this difference? Please help me on this... Thanks and Regards, BSR -------------- next part -------------- HTML attachment scrubbed and removed
On Wed, 23 Aug 2006, Srinivasa Battula wrote:> It has been observed that rsync push mode is much slower when compared > to pull (On Identical scenarios). Building/receiving file list takes > almost same time. But data transfer is much slower, whose transfer > ratios are ranging from 1:3 to 1:5. On pull operation data transfer > speed is consistently around 3.5 MB/Sec and it reached 10 MB/Sec. > However, on push the maximum it could reach is around 2 MB/Sec and hogs > around 1MB/Sec. Why is this difference? Please help me on this...Do these identical scenarios also include changing the sender and receiver for both push and pull ? That would be required to dismiss the network configuration/environment as the possible cause. Kind regards, -- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]
Source and Target remain same. The way rsync is being invoked is different. First time, I have run rsync in pull mode, which means that rsync daemon runs on source and target (client) pulls it. Second time, daemon runs on target and client runs on source intern source pushing the data. Please find the commands below for more clarity: PULL mode: Daemon command: "C:\Program Files\InMage Systems\FileRep\inmsync.exe" --daemon --no-detach "--config=/cygdrive/C/Program Files/InMage Systems/Application Data/daemon.conf" --port=874 --port=874 Client command: "c:\Program Files\InMage Systems\FileRep\inmsync.exe" --port=874 --block-size=8192 --timeout=2400 -vvv --super -r -z -u -c -l --safe-links -A -o -g -D -t -x --stats --progress 10.0.0.49::job_1 /cygdrive/E/H PUSH mode: Daemon command remains same as above. (This time it runs on target) Client Command: "c:\Program Files\InMage Systems\FileRep\inmsync.exe" --port=874 --block-size=8192 --timeout=2400 -vvv --super -r -z -u -c -l --safe-links -A -o -g -D -t -x --stats --progress /cygdrive/H 10.0.1.50::job_3 In push mode, please observe that client command is trying to push data from H:\ to e:\ drive on 10.0.1.50. -----Original Message----- From: Dag Wieers [mailto:dag@wieers.com] Sent: Wednesday, August 23, 2006 5:44 PM To: Srinivasa Battula Cc: rsync@lists.samba.org Subject: Re: Rsync push is slower compared to pull version=3.1.4 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on horsea.3ti.be Return-Path: dag@wieers.com X-OriginalArrivalTime: 23 Aug 2006 12:14:15.0324 (UTC) FILETIME=[A697B5C0:01C6C6AD] On Wed, 23 Aug 2006, Srinivasa Battula wrote:> It has been observed that rsync push mode is much slower whencompared> to pull (On Identical scenarios). Building/receiving file list takes > almost same time. But data transfer is much slower, whose transfer > ratios are ranging from 1:3 to 1:5. On pull operation data transfer > speed is consistently around 3.5 MB/Sec and it reached 10 MB/Sec. > However, on push the maximum it could reach is around 2 MB/Sec andhogs> around 1MB/Sec. Why is this difference? Please help me on this...Do these identical scenarios also include changing the sender and receiver for both push and pull ? That would be required to dismiss the network configuration/environment as the possible cause. Kind regards, -- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]
On Wed, 23 Aug 2006, Srinivasa Battula wrote:> On Wed, 32 Aug 2006, Dag Wieers wrote: > > On Wed, 23 Aug 2006, Srinivasa Battula wrote: > > > > > It has been observed that rsync push mode is much slower when compared > > > to pull (On Identical scenarios). Building/receiving file list takes > > > almost same time. But data transfer is much slower, whose transfer > > > ratios are ranging from 1:3 to 1:5. On pull operation data transfer > > > speed is consistently around 3.5 MB/Sec and it reached 10 MB/Sec. > > > However, on push the maximum it could reach is around 2 MB/Sec and hogs > > > around 1MB/Sec. Why is this difference? Please help me on this... > > > > Do these identical scenarios also include changing the sender and > > receiver > > for both push and pull ? That would be required to dismiss the network > > configuration/environment as the possible cause. > > Source and Target remain same. The way rsync is being invoked is > different.My question implied to urge you to test with the sender and receiver switched. And compare those results as well. You should end up with 4 sets of transfer speed data. Analysing that should make clear if pulling/pushing is the cause, or if it is the network environment (sender/receiver). Also make sure that the tests are not influenced by other factors (eg. other people doing exactly the same test as yours on the same network/system :)). Doing the tests multiple times during the day may make it more convincing to state your case. Kind regards, -- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]