Load Balancing 2 x 100Mbit help with setup

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2
Author Message
Victor
DD-WRT User


Joined: 21 Nov 2006
Posts: 251

PostPosted: Fri Apr 17, 2009 17:23    Post subject: Reply with quote
OK so: There are no software load balancing apps or something?

Can linux do a real load balancing? Because from what you guys said , Windows does not do a proper load balance. And are there any scripts or anything to make the router work?

What I mean by load balance is:: Example: I start transfering a 700mb ISO file (single file), the NICs start sending out the packets, half go to NIC1 and the other to NIC2, and then the recieving computer arranges them and makes it into one 700mb file.. Like a real load balance like cisco switches do it.


But the real thing im gunna use it for is to transfer RAR files, most of the stuff is in rars, so I will transfer lots of rars from one PC to the other PC and that will speed up even with the "dumb" loadbalancing supported by windows.. right?
Sponsor
olmari
DD-WRT Guru


Joined: 24 Oct 2006
Posts: 1447
Location: Finland

PostPosted: Fri Apr 17, 2009 17:30    Post subject: Reply with quote
As far as I know there isn't such load balancing software that can magically transfer single file with double speed with 2 NICs... You really need all hardware to support load balancing to get double speeds with any type of traffic...

As said, Windows (or any OS for that matter) can do load balancing without supporting other end as we described, as software basis so that any new connection is directed trough "most free" NIC... For any more robust system you really need a) computer/drivers support real load balancing b) the other end supporting it too (= expensive enough switch)...

It's not only your computers doing load balance, the switch your computers are connected needs to support load-balancing too...

Also as said, For example Intel NIC and it's drivers can do proper load balancing on Windows if other end supports it too...
somms
DD-WRT User


Joined: 21 Mar 2008
Posts: 261

PostPosted: Fri Apr 17, 2009 17:31    Post subject: Reply with quote


http://en.community.dell.com/wikis/networking_internet_wireless/802-11a-amp-802-11b-g-draft-n-smart-load-balance-and-failover-channel-bonding-using-dual-wlan-mini-pcie.aspx

FWIW: Broadcom also offers free load balancing software that is working well with my notebook using multiple WLAN 802.11n Mini-PCIe cards...

_________________


Member of the Professional Aviation Safety Specialists Union!
Victor
DD-WRT User


Joined: 21 Nov 2006
Posts: 251

PostPosted: Fri Apr 17, 2009 17:33    Post subject: Reply with quote
What do you mean by other end? the other computer or the switch thats connecting the 2 computers?
olmari
DD-WRT Guru


Joined: 24 Oct 2006
Posts: 1447
Location: Finland

PostPosted: Fri Apr 17, 2009 17:35    Post subject: Reply with quote
Victor wrote:
What do you mean by other end? the other computer or the switch thats connecting the 2 computers?


Other end = whatever you connect the one computers both NICs, which is a switch in your case...
Victor
DD-WRT User


Joined: 21 Nov 2006
Posts: 251

PostPosted: Fri Apr 17, 2009 17:37    Post subject: Reply with quote
Ok, so the router with ANY DD-WRT does not support this smart load balancing?
somms
DD-WRT User


Joined: 21 Mar 2008
Posts: 261

PostPosted: Fri Apr 17, 2009 17:45    Post subject: Reply with quote
Well, at least the WRT600N supports the load balance thru dual band wireless. With BACS software enabled, 802.11b/g draft-N Mini-PCIe in my notebook send HD packets while the 802.11a Mini-PCIe will be tasked with receiving packets. I can monitor this behaviour under network connections. This BACS software is dynamic and the HD stream won't drop if one of the wireless connections drop...not sureif that is the type of load balancing you are describing.
_________________


Member of the Professional Aviation Safety Specialists Union!
olmari
DD-WRT Guru


Joined: 24 Oct 2006
Posts: 1447
Location: Finland

PostPosted: Fri Apr 17, 2009 17:46    Post subject: Reply with quote
Victor wrote:
Ok, so the router with ANY DD-WRT does not support this smart load balancing?


Well I know some hardware that runs with DD-WRT supports Link aggregation which is one type of load balancing and/or failsafe connection, so we know some of the devices do support some type of load balancing...

But unfortunately I think DD-WRT doesn't have means to setup any more advanced load-balancing setup :-/ I don't know what hardware is capable of what type of load balancing setups, but it is what it is... Also not all hardware support even link aggregation.

Again as a software it would theoretically be possible to DD-WRT support various systems, but it really comes again down to physical router hardware capabilities...

In short: no, there is no support for any software load balancing in DD-WRT at least in these "box devices"...

I know I have seen some teaming support on x86 version of DD-WRT but currently I do not have an x86 router to test... I get new parts to replace my broken one in next monday, I can check it then... But even then it would mean that your computer would need to support those methods DD-WRT would have to offer, either bu software or by drivers...

Sorry to be such a messy writer :-/
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Fri Apr 17, 2009 20:42    Post subject: Reply with quote
There's likely several ways to do this with dd-wrt and the dual WAN setup is an example of how people are already combining traffic over two physical ports although it is slightly different. Using iptables can definitely accomplish this but the exact setup will depend on what you do with the pc's and depending on your router model it could end up slower than switching one 100mbit connection because routing requires software processing.
Victor
DD-WRT User


Joined: 21 Nov 2006
Posts: 251

PostPosted: Sat Apr 18, 2009 7:06    Post subject: Reply with quote
OK I see. Load balancing ain't easy to do.

But for what I want, you guys say it will be fine. Just transfer lots of RARs over FTP will be fine with 200Mbit. Single files wont work, but I will mostly transfer many RARs, and then extract em on my Desktop PC.

So no special setup on the router, just need to set it to act as a switch.

Also, what about IPs? Like how many IPs will one computer have?
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum