[CentOS] Re: rsync and swapping

Scott Silva ssilva at sgvwater.com
Wed Jan 30 20:05:03 UTC 2008


on 1/30/2008 5:24 AM Jerry Geis spake the following:
> hi all,
> 
> I use rsync to copy/backup ALL my stuff to another disk.
> 
> When I run this seems like my machine (4 GIG ram centos 5.1)
> now begins to swap out more programs. Is there a way to reduce
> that swapping? I am running with echo 1 > /proc/sys/vm/swappiness
> 
> I simply mount /dev/sdc1 /mnt/backup; mkdir /mnt/backup/month.day.year
> then rsync -a /home /mnt/backup/mon.day.year
> 
> This is approximately 102G of data.
> 
> Thanks for any suggestions.
> 
> Jerry
Rsync's main benefit is on backups of changed files. dumping to a new 
destination every time makes rsync less efficient than just about every other 
option.
Now if you made the new directory, and hardlinked the old stuff to the new 
directory, then rsync would shine.

-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080130/173a8613/attachment.sig>


More information about the CentOS mailing list