BetaArchive Logo
Total Current Archive Size: 4765.54GB in 15409 files
Navigation Home Screenshots Image Uploader Server Info FTP Servers Wiki Forum RSS Feed Rules Please Donate
UP: 4d, 23h, 13m | CPU: 5% | MEM: 4810MB of 12279MB used
{The community for beta collectors}

Post new topic Reply to topic  [ 19 posts ] 
Author Message
 PostPost subject: Link Aggregation... A big letdown        Posted: Fri Sep 04, 2009 7:18 pm 
Site Administrator
Site Administrator
User avatar
Offline

Joined
Fri Aug 18, 2006 11:47 am

Posts
11401

Location
Merseyside, United Kingdom

Favourite OS
Microsoft Windows 7 Ultimate x64
Hello all,

I decided to do some experimenting a while back with my network by trying to have 2x1Gbps links between my server and my desktop PC. Now my switch allows me to do this with Link Aggregation, or "Port Trunking" as its also known, however what I didn't realise is the network card drivers also have to support this feature. Unfortunately in my case, they don't, so I wasn't able to try this out, but I'm going to explain how I thought it could be done...

The idea was to trunk each of the two ports on the server, and each of the two ports on my desktop together to make one "virtual" link of 2Gbps. Both the server and desktop PC then had their ports bridged into one so they had one IP each rather than one for each individual NIC. Sounds plausible so far doesn't it? That's what I thought. Now, while the setup this way works, it doesn't double the speed as you would expect, in fact it makes it slower...

I spoke to mrpijey about this and the only thing he could come up with was that each NIC was being sent random data from the trunking setup and it didn't know what to do with it immediately, so it had to decode it, and because it couldn't do this fast enough, the speed suffered. We (rather mrpijey) did some investigating into trunking, and it was discovered the cards drivers have to support it. Now it turns out Intel PRO/1000 desktop cards all support this, so my next idea was to get 4 of these cards... That was until I saw the cost. They cost £20 each. I guess if I want to do this I'll have to get saving!

It struck me as strange that Windows didn't have some sort of built in feature for this already. After reading wikipedia, it seems that *nix based systems can handle this a lot better than Windows systems can, and they can also use multiple brand NIC's too. I don't know, however, if they also need to support trunking or if *nix can virtualise this some how. Anyway, that's another story entirely. I want it to work on Windows, not *nix!

So, my next plan of action is to get 4 of these Intel PRO/1000 cards and give those a go. It will be a while though, probably will have to wait until I get a job given the price of them. It's something to look forward to though, and it was a nice experiment with what I already had in order to figure out the problems and restrictions with what I currently have.

Anyone else ever though of doing this, or does anyone actually have it working? Let me know! :)

_________________
Image


Top  Profile  WWW
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Fri Sep 04, 2009 7:29 pm 
1337 Beta Collector
1337 Beta Collector
User avatar
Offline

Joined
Sat May 12, 2007 1:05 pm

Posts
5226

Location
The Collection Book

Favourite OS
Everything Microsoft!
I think it could work (in theory).

But also the speed of the harddrive is a big downpoint, most of the time between USB <-> Internal = 30mbps, and internal <-> internal = 50mbps (but sometimes faster, windows reports it as 250mb/s, but slows down to 50mbps on large files).

So you can get it to work, but I think it would not be faster then 1x 1000mb network card, hell, not even faster then 100mbps

_________________
Image
Is now open!
It is available here!
The Official Collection Book Channel! on IRC.


Top  Profile  WWW
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Fri Sep 04, 2009 7:58 pm 
Site Administrator
Site Administrator
User avatar
Offline

Joined
Fri Aug 18, 2006 11:47 am

Posts
11401

Location
Merseyside, United Kingdom

Favourite OS
Microsoft Windows 7 Ultimate x64
Yes but the thing is networking that fast doesn't have to rely on the receiving hard disk being fast enough. It also comes in useful if you're doing clustered rendering, and lots of other things that don't necessarily use the hard drive, but does shift lots of data.

Also you really need to get your units correct. You state the speed in MB/s yet you use Mbps not MB/s as the unit. You confuse yourself AND others!

SATAII = 3Gbps (375MB/s)
USB2.0 = 480Mbps (60MB/s)

Most modern hard drives can hit 80-100MB/s with ease.

_________________
Image


Top  Profile  WWW
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Fri Sep 04, 2009 8:39 pm 
1337 Beta Collector
1337 Beta Collector
User avatar
Offline

Joined
Sat May 12, 2007 1:05 pm

Posts
5226

Location
The Collection Book

Favourite OS
Everything Microsoft!
:oops: :-#

_________________
Image
Is now open!
It is available here!
The Official Collection Book Channel! on IRC.


Top  Profile  WWW
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Fri Sep 04, 2009 9:12 pm 
Pro Beta Collector
Pro Beta Collector
Offline

Joined
Mon Aug 17, 2009 10:23 am

Posts
473

Favourite OS
Dancing Banana
Do you have your TB drives set up in raid 0? Maybe you should get > 300MB/s :)


Top  Profile
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Fri Sep 04, 2009 9:13 pm 
Site Administrator
Site Administrator
User avatar
Offline

Joined
Fri Aug 18, 2006 11:47 am

Posts
11401

Location
Merseyside, United Kingdom

Favourite OS
Microsoft Windows 7 Ultimate x64
No because that would be suicide if one failed ;)

_________________
Image


Top  Profile  WWW
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Tue Sep 15, 2009 1:56 am 
1337 Beta Collector
1337 Beta Collector
User avatar
Offline

Joined
Wed Dec 31, 2008 7:29 pm

Posts
1054

Location
Northern Hemisphere

Favourite OS
MS-DOS 3.30a & Windows/386!
In the cisco world a 'trunk' contrains multiple vlans... IE a trunk connection would be used to connect two switches together... think 802.1q.

Now a port 'channel' is bonding two connections together to get the aggrigate speed. However it's salesman speed, not real speed, in that if you were to 'bond' or 'channel' 4 connections you get 4GB WORTH of traffic, not a 4GB connection...

So a single user wouldn't notice any difference unless they were reading & writing a LOT of data at the same time.

Intel NIC's are the best for doing trunking & channeling in Windows... And yeah they are also the most expensive.. It *IS* just an option in the driver I recall some 'trick' being used to fool the driver to activate the features on the cheaper intel nic's but I *THINK* it required you to have at least one server "pro" card.....

I hope this helps.

_________________
"Those who don't understand UNIX are condemned to reinvent it, poorly." – Henry Spencer


Top  Profile
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Wed Sep 23, 2009 11:43 am 
Hi,

Link Aggregation (LACP, PAgP, Trunking, whatever) isn't that simple. The Switch balances packets on multiple links according to source/destination MAC Address.

This only works for servers which have traffic from many (at least the number of links) sources. Maximum throughput you can get from a single host to a single server is one of the links.

Of course this increases redundancy, if one of the cables get bad.

But for one server to one client this is useless.

For more information see: http://en.wikipedia.org/wiki/Link_aggregation


Top
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Wed Sep 23, 2009 11:46 am 
Site Administrator
Site Administrator
User avatar
Offline

Joined
Fri Aug 18, 2006 11:47 am

Posts
11401

Location
Merseyside, United Kingdom

Favourite OS
Microsoft Windows 7 Ultimate x64
fstern wrote:
This only works for servers which have traffic from many (at least the number of links) sources. Maximum throughput you can get from a single host to a single server is one of the links.

Of course this increases redundancy, if one of the cables get bad.

But for one server to one client this is useless.

For more information see: http://en.wikipedia.org/wiki/Link_aggregation


Not true. If you have several applications requiring bandwidth it can also use 2 or more links. Also, Intel based link teaming provides load balancing as well. Its not just the switch that controls this either, the NIC's have to support it as well.

_________________
Image


Top  Profile  WWW
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Wed Sep 23, 2009 1:56 pm 
Hi,

sorry to counter here, but http://www.intel.com/support/network/sb/cs-009747.htm#Features states that
Quote:
Bandwidth increase is only available when connecting to multiple destination addresses.


You still have a single source/destination-MAC pair per connection. Even Intel Adaptive Loadbalancing only chooses the outgoing interface per destination. So connections to a single host still have one outgoing interface.

Most switches out there will distribute the load between links based on source- and destination-MAC, the more expensive gear balances based on tcp/udp ports.

(maybe I can come up with a more technical explanation later, if you want to)

Best,

Falk


Top
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Wed Sep 23, 2009 1:57 pm 
Site Administrator
Site Administrator
User avatar
Offline

Joined
Fri Aug 18, 2006 11:47 am

Posts
11401

Location
Merseyside, United Kingdom

Favourite OS
Microsoft Windows 7 Ultimate x64
From what I have read elsewhere, it also works with several connections from the same machine, since its possible to split and load balance those quite easily. A single connection can't have this done to it.

You can manually use two connections if you manually enter the IP of each NIC, but this basically does it for you over 1 IP. If this didn't work, then our co-admin mrpijey wouldn't be doing a similar thing with his workstation and server.

_________________
Image


Top  Profile  WWW
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Wed Sep 23, 2009 2:12 pm 
Bah, I hate it when this happens.

You are right and I am wrong. At least, when it comes to 802.3ad. This PDF http://www.ieee802.org/3/hssg/public/apr07/frazier_01_0407.pdf explains it in depth.

Of course your switch has to support it and also the network drivers.

What switch are you using?

(I should first read, then post)

Best,

Falk


Top
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Wed Sep 23, 2009 2:14 pm 
Site Administrator
Site Administrator
User avatar
Offline

Joined
Fri Aug 18, 2006 11:47 am

Posts
11401

Location
Merseyside, United Kingdom

Favourite OS
Microsoft Windows 7 Ultimate x64
It's a HP Procurve 1800-8G. It does support link aggregation etc. Sadly I don't have Intel NIC's so I can't do this now until I get a pair. I recently lost out on 3 Intel Pro 1000 Dual Port's on eBay for £6 each due to my own error in remembering what time the listing ended. :(

_________________
Image


Top  Profile  WWW
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Wed Sep 23, 2009 9:19 pm 
Amateur Beta Collector
Amateur Beta Collector
Offline

Joined
Wed Jun 27, 2007 8:13 pm

Posts
131

Location
France
Andy wrote:

It struck me as strange that Windows didn't have some sort of built in feature for this already. After reading wikipedia, it seems that *nix based systems can handle this a lot better than Windows systems can, and they can also use multiple brand NIC's too. I don't know, however, if they also need to support trunking or if *nix can virtualise this some how.


When you create a bonding on Linux, it set the same MAC on every network cards which are members of the bonding.

Playing with network is easier on *nix because the userspace tools are the same for every hardware.
And ebtables is very very interesting :)


Top  Profile  WWW
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Tue Dec 29, 2009 5:39 pm 
Amateur Beta Collector
Amateur Beta Collector
User avatar
Offline

Joined
Thu Jun 19, 2008 1:02 am

Posts
68

Location
Dundee, UK

Favourite OS
Mac OS X Leopard 10.5.7
Andy, have you thought about getting a card (or cards) with TCP/IP offload? That way the TCP/IP processing will be performed on the card(s) and your speeds won't suffer due to Windows working your CPU twice as hard to push that speed.
This is a very interesting read:
http://www.rtcmagazine.com/articles/view/100797


Top  Profile  WWW
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Tue Dec 29, 2009 5:44 pm 
Site Administrator
Site Administrator
User avatar
Offline

Joined
Fri Aug 18, 2006 11:47 am

Posts
11401

Location
Merseyside, United Kingdom

Favourite OS
Microsoft Windows 7 Ultimate x64
All my cards support it, but that's not what this article was about ;) Oh and nice bump...

_________________
Image


Top  Profile  WWW
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Tue Dec 29, 2009 8:22 pm 
Amateur Beta Collector
Amateur Beta Collector
User avatar
Offline

Joined
Thu Jun 19, 2008 1:02 am

Posts
68

Location
Dundee, UK

Favourite OS
Mac OS X Leopard 10.5.7
Oops...september! :D I didn't notice because it was so close to the top :) Plus I haven't signed in for so long that basically every post is marked as 'new' :P my bad!

All your cards support TCP/IP offload? Then windows should not be using any CPU to process the network traffic! Or maybe 1% :P


Top  Profile  WWW
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Tue Dec 29, 2009 10:47 pm 
Site Administrator
Site Administrator
User avatar
Offline

Joined
Fri Aug 18, 2006 11:47 am

Posts
11401

Location
Merseyside, United Kingdom

Favourite OS
Microsoft Windows 7 Ultimate x64
Yeah but where did you get the TCP/IP offload stuff from? It's not mentioned in any of my posts before yours, lol. We're talking about link aggregation, which is totally different.

_________________
Image


Top  Profile  WWW
 PostPost subject: Re: Link Aggregation... A big letdown        Posted: Tue Dec 29, 2009 11:29 pm 
Amateur Beta Collector
Amateur Beta Collector
User avatar
Offline

Joined
Thu Jun 19, 2008 1:02 am

Posts
68

Location
Dundee, UK

Favourite OS
Mac OS X Leopard 10.5.7
Andy wrote:
I spoke to mrpijey about this and the only thing he could come up with was that each NIC was being sent random data from the trunking setup and it didn't know what to do with it immediately, so it had to decode it, and because it couldn't do this fast enough, the speed suffered


From that I read that Windows (and in turn CPU) was having difficulties processing the traffic so had pointed out TCP/IP offload. Upon further inspection it seems like I may have misread your post. :oops:

Damn! Again, my bad :(
*hangs head in shame*


Top  Profile  WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ] 




Who is online

Users browsing this forum: No registered users and 0 guests


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

Search for:
Jump to:  

All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.

Powered by phpBB® Forum Software © phpBB Group

Copyright © 2006-2013

 

Sitemap | XML | RSS