Control Network bandwidth I/O with rsync

| April 13, 2011 | 0 Comments

Copying few 100 GB data from one system to another system using rsync can cause lots of issues:

  • Clog network
  • Cause very High CPU on system
  • Can result in higher bandwidth utilization that allow
  • Can potential make you NFS mounts stale due to High CPU on NFS server.

This is becauseĀ  rsync does a lots of disk I/O and network I/O. So its important to control the network bandwidth so that the entire system doesn’t die or become unresponsive?

Limit Nework I/O bandwidth

The –bwlimit option limit I/O bandwidth. You need to set bandwidth using KBytes per second. For example, limit I/O banwidth to 1000KB/sĀ  almost 10MB/s

rsync -avz --bwlimit=1000 /path/to/source/ remoteservername:/path/to/destination/

 



  • Digg
  • Facebook
  • Twitter
  • Google Bookmarks
  • LinkedIn
  • RSS

No related posts.

Category: Software, Technology

Leave a Reply

*