Speed goes up and down on lan


TREMOR
 Share

Recommended Posts

Trying to sync allot of 400 kB (average) files with a total of 6.4 GB.

Testing with RPI (linux), PC (win7) and laptop (linux) on my local network.

Running Version 1.0.134

First test

PC --> Raspberry Pi

Speed goes up and down jumping from 50 to 150 kB/s and back to 0 kB/s again

Raspberry Pi --> Laptop

Same problem

Raspberry Pi and PC --> laptop

Same problem

I think a LAN should get better speed than this....

I tried some other settings with the router but that didn't help.

After trying a bigger file I got speeds like 1,5 MB/s but still going up and down and it's still slow....

Link to comment
Share on other sites

Turn off disk_low_priority and lan_encrypt_data, and turn on lan_use_tcp (advanced settings).

This helped me to achive 40-50 MB/s on big enough files, before this I could only squeeze out 6-9 MB/s.

I can barely beat this with Samba, but for small files Samba is a lot faster of course.

For small files I found that syncing with 3 or more computers is considerably faster because you can have more parallel transfers and the network is usually not the bottleneck even if you're bridging like me.

Also maintaining a gbit network does require a lot of resources. Maybe RPi can't handle it.

Run some tests with iperf or nutcp.

If it's painfuly slow but the network is good it might be a firewall problem and BTSync uses a relay server.

Link to comment
Share on other sites

After trying to change the config file I keep getting this error.


Error while parsing config file: Unexpected end of config file (are you missing '} ') ?

Sample config file looked like this and was working.


// Advanced preferences can be added .....
// Info is available in ....

}

I changed that into


// Advanced preferences can be added .....
// Info is available in ....

"disk_low_priority": false,
"lan_encrypt_data": false,
"lan_use_tcp": true
}

Whatever I'm trying to change it's still giving me this error.

Could someone send me the correct config?

Link to comment
Share on other sites

Looks like this is the fix.


// Advanced preferences can be added .....
// Info is available in ....
,
"disk_low_priority": false,
"lan_encrypt_data": false,
"lan_use_tcp": true
}

Will test speed soon.

I'm also going to try to send 1 large file (just zip all files).

Link to comment
Share on other sites

I honestly don't believe BTSync is the problem here. I've also tested this on my Raspberry Pi and have also received this issue: http://forum.bittorr...sistent-speeds/

It would seem it could be a hardware issue, meaning the Pi is just not powerful enough to sustain consistent speeds.

I have the same problem from pc (win7) to netbook (linux also btsync webUI).

Maybe linux issue because netbook is also linux.

Next version will get some performance fixes so hopefully it will get quicker if it's true about the RPi.

Using RPi as a bittorrent sync server would be really great!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share