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?

4
  • 1
    you forgot CPU in your list Jan 8, 2016 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 8, 2016 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, 2016 at 8: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, 2016 at 9:48

0

You must log in to answer this question.

Browse other questions tagged .