<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Ben Parker's Blog : Network Load Balancing</title><link>http://blogs.technet.com/ben_parker/archive/tags/Network+Load+Balancing/default.aspx</link><description>Tags: Network Load Balancing</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Why doesn’t Microsoft Network Load Balancing spread traffic evenly across its cluster members?</title><link>http://blogs.technet.com/ben_parker/archive/2008/10/10/why-doesn-t-microsoft-network-load-balancing-spread-traffic-evenly-across-its-cluster-member-s.aspx</link><pubDate>Fri, 10 Oct 2008 20:47:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3135127</guid><dc:creator>BenParker</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/ben_parker/comments/3135127.aspx</comments><wfw:commentRss>http://blogs.technet.com/ben_parker/commentrss.aspx?PostID=3135127</wfw:commentRss><description>&lt;P&gt;&lt;IMG style="WIDTH: 404px; HEIGHT: 327px" height=396 src="http://farm4.static.flickr.com/3202/2929798534_ea77e97383.jpg?v=0" width=500 mce_src="http://farm4.static.flickr.com/3202/2929798534_ea77e97383.jpg?v=0"&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=Calibri&gt;The short answer:&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;It isn’t designed to, &lt;/FONT&gt;&lt;/SPAN&gt;&lt;A href="http://support.microsoft.com/kb/240997" target=_blank&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=Calibri&gt;Network Load Balancing&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=Calibri&gt; is a cool name but it doesn’t accurately describe what it does.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%"&gt;The longer answer:&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;NLB doesn’t check for load on servers to determine how to forward traffic from the Virtual IP (VIP).&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;It’s balancing is designed to be&lt;SPAN style="COLOR: black"&gt; a statistically even load balance for a large client population making many&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;small requests&lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;NLB is designed for high throughput; it&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; mso-bidi-font-family: Arial"&gt; will use Layer2 broadcasts to get the traffic to all nodes in the cluster.&amp;nbsp; This traffic is then sent to the NLB driver on each node for filtering.&amp;nbsp; All nodes will perform a statistical mapping to determine which node should handle the packet.&amp;nbsp; The winning node forwards the packet up the network stack to TCP/IP, and the other nodes discard it.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Filtering traffic like this is faster than routing it.&amp;nbsp; The statistical mapping is biased on IP address, port number and some pfm (assuming no &lt;/SPAN&gt;&lt;/FONT&gt;&lt;A href="http://technet.microsoft.com/en-us/library/cc778263.aspx" target=_blank&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; mso-bidi-font-family: Arial"&gt;&lt;FONT face=Calibri&gt;affinity&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; mso-bidi-font-family: Arial"&gt;&lt;FONT face=Calibri&gt; is set).&amp;nbsp; This is why we don’t truly see a balance in NLB but a fast diffusion of traffic.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;A href="http://technet.microsoft.com/en-us/library/bb742455.aspx" target=_blank&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; mso-bidi-font-family: Arial"&gt;&lt;FONT face=Calibri&gt;The Really Long Answer&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; mso-bidi-font-family: Arial"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3135127" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/ben_parker/archive/tags/Network+Load+Balancing/default.aspx">Network Load Balancing</category><category domain="http://blogs.technet.com/ben_parker/archive/tags/NLB/default.aspx">NLB</category></item></channel></rss>