NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
cgreentx
Oct 07, 2006Guide
Rsync slow as heck for everyone else???
I'm running rsync with a unix box on the same gigabit switch and it is ridiculously slow. So severely slow that it copied 200ish MB in about 3 hours. That's pretty harsh. Any ideas?
Chris Green
Chris Green
55 Replies
- cgreentxGuide
Jar Jar Binks wrote: To compare, you need to make another capture for rsync with other server. So we can see what is the difference inside.
I sent a capture earlier that was Linux for comparison. I can do a FreeBSD capture on another server for comparison if that is what you want.
Chris - Jar_Jar_BinksAspirantYou just need to do the same rsync test like your test with ReadyNAS, I think. And you need to use same machine - 10.227.1.120 for testing and capture, so that we can see what is different when it work with other rsync servers.
- cgreentxGuideI PM'd you the link to the new capture.
.120 FreeBSD Box
.124 Kubuntu Linux Box
I fired up a quick rsyncd on the linux box and set up the tcp dump on the FreeBSD box per your request. I then performed a sync of the same file across from the rsyncd on the linux box.
receiving file list ...
1 file to consider
CT4MGM.SF2
4174814 100% 12.56MB/s 0:00:00 (1, 100.0% of 1)
Number of files: 1
Number of files transferred: 1
Total file size: 4174814 bytes
Total transferred file size: 4174814 bytes
Literal data: 4174814 bytes
Matched data: 0 bytes
File list size: 29
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 98
Total bytes received: 4175437
sent 98 bytes received 4175437 bytes 1670214.00 bytes/sec
total size is 4174814 speedup is 1.00 - yoh-dahGuideWhat's your exact rsync command that you're using?
- cgreentxGuide
yoh-dah wrote: What's your exact rsync command that you're using?
rsync -rltv --progress --stats
-rlt is basically -a with a few options removed as I do not wish to transfer ownership, permissions, etc with this rsync process. I have also tried using a simple -av and -avz.
Chris Green - cgreentxGuideFYI -- I'ev done "smbmount" from the FreeBSD and Linux boxes and gotten full speed on both. This is clearly just limited to rsyncd with FreeBSD. FreeBSD 6.1 has rsync 2.6.6 from the base ports tree. For testing I updated the ports tree to the latest and that gave me rsync 2.6.8-2 which provided the same results.
Chris Green - Jar_Jar_BinksAspirantWe got the 2nd capture between freebsd and linux server. Unfortunately the rsync procedure was different from 1st capture between freebsd and readynas.
The 1st capture rsync transfer data, but 2nd capture rsync transfer module list.
But I can see there was also 100ms delay in 1.120 side once or twice. So I think if freebsd and the linux server rsync transfer data, it will be slow as well as freebsd and readynas.
You can compare the captures by yourself to see if I am right.
And to compare, you have to make a same test for rsync to transfer data instead of module lists. - cgreentxGuideAs this issue is common across all of my test FreeBSD boxes and I'm not the first to bring up the issue on your forum I am assuming this is a general incompatibility between the linux rsyncd running on your NAS and FreeBSD.
I need to figure out pretty quickly if you think this is a problem we'll be able to fix on the NAS or not? Since rsync is really my only option for use with the NAS and my production servers I'll need to look for another solution if not.
Thanks for your assistance. - cgreentxGuideTo clarify, I am completely willing to help you guys work out a solution here if you're willing to help me... but if its all on my to find a way to make FreeBSD work better with the NAS then I need to move on to get a working solution sooner. Thoughts?
Chris Green - Jar_Jar_BinksAspirantHere we will see if we can reproduce your problem with our freebsd machine.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!