A Dimecres 28 Maig 2008, Dave Howorth va escriure:
> Leopold Palomo-Avellaneda wrote:
> > A Dimecres 28 Maig 2008, Leopold Palomo Avellaneda va escriure:
> >> A Dimarts 27 Maig 2008, Shawn (Red Mop) va escriure:
> >>> Paul pretty much covered everything I would say.   Don't do the
> >>> compression settings, as they won't help enough to be worth it in this
> >>> situation.
> >>>
> >>> "whole-file: 1" is how you tell dirvish to use --whole-file, it's in
> >>> the dirvish.conf man page.
> >>>
> >>> Let us know if this helps, and good luck.
> >>
> >> Thanks for all. Tomorrow I will see how it would be done.
> >>
> >> Regards,
> >
> > still doing the backup. :-(
> > since 1am.
>
> Your configuration is not a good one for rsync. Best is if there is any
> possibility to change it as others have suggested so either:
>
> (a) the backup disks are mounted locally (not via NFS) to your main
> server, or
> (b) the machine with the backup disks is able to have rsync installed on
> it, and enough memory for rsync to run sensibly.

The icy box _only_ offer network connection. So, maybe one option should be 
use another box (with a Linux) and this external hd connected via nfs. Then I 
could have a bot with ram and cpu to run rsync. But, by now, I couldn't.

> As it is, it looks like most time is spent transferring files, since
> your logs say "File list generation time: 882.634 seconds" and "File
> list generation time: 927.970 seconds" which is only 15 mins if my
> arithmetic is correct. Even the total bytes transferred is only 90 MB or
> so. Which points to NFS speed as the main suspect, IMHO.

yes, I agree, but let me show you some numbers. 

I have a directory with dumps of svn. The directory has a size of:
ris:/opt/backup# du -sh /srv/seg/repositori/
3,5G    /srv/seg/repositori/
ris:/opt/backup# du -s /srv/seg/repositori/
3590972 /srv/seg/repositori/

if I do I simple copy of the whole directory to the nfs unit, I got:

ris:/opt/backup# time cp -r /srv/seg/repositori /opt/backup/test/

real    18m26.502s
user    0m0.148s
sys     0m6.532s


so, it has needed 18m and 26.502 s to copy 3.5G. So, making some division:
3590972/(18*60 + 27) = 3243.8 ~ 3.5 Mb/s

> As far as I can see, you haven't posted your NFS export and mount
> settings, nor any measurement of actual network transmission rates.

the server mounts the nfs unit with:
ulises:/mnt/md1/backup  /opt/backup     nfs     
rsize=32k,wsize=32k,intr,rw,nfsvers=3,retrans=10 0 0

and the icy box export the unit:

/mnt/md1/backup X.Y.Z.K(rw,no_root_squash,sync)

> Those would be useful to help diagnosis further. It may be possible to
> speed up NFS but your backups will never be as fast as they could be
> while you continue to use it.

Thanks for all.

Leo

_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to