[CentOS] Rsync: how big is the traffic?

Fri Mar 26 03:16:30 UTC 2010
Jobst Schmalenbach <jobst at barrett.com.au>

> sent 7050494 bytes  received 394481 bytes  23823.92 bytes/sec


bandwidth actually is b/s, so your bandwidth is 23823.92 bytes/sec
as shown in the output from rsync.

As for the total file size you have uploaded or downloaded
this can very much differ from the actual file size on the system
because rsync compresses the data while in transfer.

On top of all this rsync uses up bandwidth for itself for
the administration for the process. So if you do not compress
you will have more data transfered simply because rsync needs
to find out about the files on both ends, further it needs to
create dirs etc.

so the total that was actuallty send an received is the sum
of both items above.


jobst

On Fri, Mar 26, 2010 at 10:11:31AM +0800, Fajar Priyanto (fajarpri at arinet.org) wrote:
> Hi guys,
> Can pls help me interpret the result of this rsync? I can't tell how
> much bandwidth the rsync traffic takes.
> Is it "Total transferred file size" or at the bottom "sent and
> received bytes"? Thank you.
> 
> **start** Fri Mar 26 10:01:01 SGT 2010
> Number of files: 183773
> Number of files transferred: 146
> Total file size: 14709183792 bytes
> Total transferred file size: 406655731 bytes
> Literal data: 1765746 bytes
> Matched data: 404889985 bytes
> File list size: 5024820
> File list generation time: 27.024 seconds
> File list transfer time: 0.000 seconds
> Total bytes sent: 7050494
> Total bytes received: 394481
> 
> sent 7050494 bytes  received 394481 bytes  23823.92 bytes/sec
> total size is 14709183792  speedup is 1975.72
> **end** Fri Mar 26 10:06:33 SGT 2010
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 
In the choice between changing one's mind and proving there's no need to do so, most people get busy on the proof -- John Kenneth Galbraith, economist (1909-2006)

  | |0| |   Jobst Schmalenbach, jobst at barrett.com.au, General Manager
  | | |0|   Barrett Consulting Group P/L & The Meditation Room P/L
  |0|0|0|   +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia