Re: rsync via GFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Maciej Bogucki wrote:
> Dmitriy MiksIr napisał(a):
>   
>> Hi! I want to sync nodes by run rsync from GFS shared storage to node's
>> filesystem. But preparing of rsync filelist is very slow (due "stat"
>> trouble?). Is any suggestions to sync nodes or tune rsync?
>>     
>
> Hello,
>
> a) Disable quota, it will increase performance at least 2-3 times:
> gfs_tool settune /gfs quota_account 0
> b) Rsync have to create a lock for each file so You could try to
> increase /proc/cluster/lock_dlm/drop_count
> c) Mount GFS filesystem with noatime flag.
> d) Create direcotries with small number of files - stat() will be faster
>
>   

e) make snapshot, only mount snapshot on to-sync-node (and with
lock_nolock).

http://www.redhat.com/docs/manuals/csgfs/admin-guide/s1-lock-nolock.html

Disadvantage: only works for one node at a time.

f) use NFS.... ;-)


cheers,
Rainer

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux