Page 1 of 1

Optimize two daemons on one IP

Posted: Mon Apr 25, 2011 7:32 am
by shnurapet
I have two machines (two separate daemons) using one ADSL Internet connection thus operating as a single IP. Connected and routed via WLAN. Each daemon is set up as follows, according to the Bandwidth Tweaking FAQ:

Maximum Connections 250
Maximum Upload Slots 4
Maximum Download Speed (Kib/s) -1
Maximum Upload Speed (Kib/s) 51,2 (80% of daytime speed)
Maximum Half-Open Connections 50
Maximum Connection Attempts per Second 20

Per-torrent:
Maximum Connections 50
Maximum Upload Slots 5
Maximum Download Speed -1
Maximum Upload Speed -1

Queueing:
Total active -1 (try to stay within 20 on each host)
Total active downloading 1
Total active seeding: -1

I assume these would be appropriate for a single machine rather than two operating as one. Also, my connection daytime speed is around 50 - 70 KiB/s, and it goes up to 200 - 220 KiB/s at night, so I don't know what is more important.

So, I'd be glad to get advice on how to improve this.

P.S. git master on Fedora 14 with libtorrent 0.14.11.0

Re: Optimize two daemons on one IP

Posted: Sun May 01, 2011 6:34 am
by shnurapet
So far I came up with the following:

Maximum Connections 250/2=125
Maximum Upload Slots 4
Maximum Download Speed (Kib/s) -1
Maximum Upload Speed (Kib/s) 51,2 (80% of daytime speed)
Maximum Half-Open Connections 50/2=25
Maximum Connection Attempts per Second 20

Per-torrent:
Maximum Connections 50
Maximum Upload Slots 5
Maximum Download Speed -1
Maximum Upload Speed -1

Queueing:
Total active -1 (try to stay within 20 on each host)
Total active downloading 1
Total active seeding: -1

However, when one of the machines gains maximum upload speed, it slows down regular Internet browsing on both. I use my router's QoS service to workaround it.