Rsync push is slower compared to pull

Srinivasa Battula sbattula at inmage.net
Wed Aug 23 12:44:03 GMT 2006


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 at wieers.com] 
Sent: Wednesday, August 23, 2006 5:44 PM
To: Srinivasa Battula
Cc: rsync at 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 at 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 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 at wieers.com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]




More information about the rsync mailing list