[Linux-cluster] rsync via GFS
Rainer Duffner
rainer at ultra-secure.de
Mon Aug 6 10:37:13 UTC 2007
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
More information about the Linux-cluster
mailing list