0

I want to find the bottleneck for a slow rsync.

I see these parts (on byte flow order):

  • IO on source
  • CPU on source
  • Network
  • CPU on destination
  • IO on destination

How can I debug this?

guettli
  • 3,591
  • 17
  • 72
  • 123
  • 1
    you forgot CPU in your list – Dennis Nolte Jan 08 '16 at 10:59
  • 1
    Also the number of files/inodes. In my experience, if I first (programmatically) TAR a folder with many files, rsync will be much, much faster. Same with scp etc. – JayMcTee Jan 08 '16 at 11:16
  • @JayMcTee thank you for your hint. We could use a overlay filesystem for those parts which hardly ever change: one layer the static tar, and the next layer the rare changes. I guess it should be possible to mount a tar .... – guettli Jan 11 '16 at 08:25
  • Yes the number of files/inodes does matter. In my question I don't want to change the layout of the directory tree. – guettli Jan 22 '16 at 09:48

0 Answers0