[CentOS] rate limiting question between two hosts

James A. Peltier jpeltier at cs.sfu.ca
Tue Oct 30 20:57:53 UTC 2007

Rogelio wrote:
> If I need to rate limit file transfers between to machines, what can I
> do at the host-level within CentOS, and what might I need to "yum
> install" in order to do?
> (For example, say I would like to rsync something, and then I would
> like to make sure that I don't exceed, say, 10 Mbs.)
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

rsync has a built in rate limiter.  See the man pages for more details

--bwlimit=KBPS          limit I/O bandwidth; KBytes per second

Other ways would be to utilize a firewall or switch with built in QoS to 
perform such tasks.  I believe Netfilter supports this type of thing.

James A. Peltier
Technical Director, RHCE
SCIRF | GrUVi @ Simon Fraser University - Burnaby Campus
Phone   : 778-782-3610
Fax     : 778-782-3045
Mobile  : 778-840-6434
E-Mail  : jpeltier at cs.sfu.ca
Website : http://gruvi.cs.sfu.ca | http://scirf.cs.sfu.ca
MSN     : subatomic_spam at hotmail.com

More information about the CentOS mailing list