\ufeff<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        FONT-SIZE: 10.5pt; COLOR: #000080; LINE-HEIGHT: 1.5; FONT-FAMILY: \u5b8b\u4f53
}
</STYLE>

<META content="MSHTML 6.00.2900.6182" name=GENERATOR></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Dear all, thanks&nbsp;a lot for your answers ;)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Now&nbsp;I have another problem about the network between&nbsp;nodes.</DIV>
<DIV>Since&nbsp;there is&nbsp;no Infiniband&nbsp;or 10G-NIC, but I still want to 
</DIV>
<DIV>increase the bandwidth by add more 1G-NICs, I plan to use Linux 
bonding.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Then, bonding 4 NICs together&nbsp;at&nbsp;one node, BUT there is&nbsp;<U 
style="FONT-WEIGHT: bold">NO</U> performance </DIV>
<DIV>enhanced no matter which bongding mode, described in kernel doc, 
used.</DIV>
<DIV>In stead, the performance of 4-NICs-bonding is lower than 1 NIC's.</DIV>
<DIV>Then we use 2 NICs bonding, the performance is better than 1 NIC's.</DIV>
<DIV>The result is :</DIV>
<DIV style="TEXT-INDENT: 2em">bonding 2 NIC: 1 + 1 <SPAN 
style="FONT-WEIGHT: bold">&gt;</SPAN> 1</DIV>
<DIV style="TEXT-INDENT: 2em">bonding&nbsp;4 NIC: 1 + 1 + 1 + 1 <SPAN 
style="FONT-WEIGHT: bold">&lt;</SPAN> 1</DIV>
<DIV>&nbsp;</DIV>
<DIV>So confused......</DIV>
<DIV>The benchmark&nbsp;we used is&nbsp;"netperf". </DIV>
<DIV>And I&nbsp;use "tcpdump" to dump the packages, found that there are great 
</DIV>
<DIV>of TCP segments out of orders.</DIV>
<DIV>&nbsp;</DIV>
<DIV>My question is that:</DIV>
<DIV style="TEXT-INDENT: 2em">a) TCP segments are out of order, 
which&nbsp;induced that 4-NIC-bonding</DIV>
<DIV style="TEXT-INDENT: 2em">&nbsp;performance decay, is this the root 
cause?</DIV>
<DIV style="TEXT-INDENT: 2em">b) We are doubting the feasibility of this method: 
using 4-NIC-bonding </DIV>
<DIV style="TEXT-INDENT: 2em">to increase bandwidth. Any proposals about 
that?&nbsp; If so, maybe I should&nbsp;</DIV>
<DIV style="TEXT-INDENT: 2em">use some other method instead of this.</DIV>
<DIV style="TEXT-INDENT: 2em">&nbsp;</DIV>
<DIV>Thanks again, all</DIV>
<DIV style="TEXT-INDENT: 2em">&nbsp;</DIV>
<DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>
</DIV>
<DIV>
<DIV style="FONT-WEIGHT: bold; FONT-STYLE: italic">Best Regards</DIV></DIV>
<DIV><SPAN style="FONT-WEIGHT: bold; FONT-STYLE: italic">Zheng </SPAN></DIV>
<DIV><SPAN style="FONT-WEIGHT: bold; FONT-STYLE: italic"></SPAN>&nbsp;</DIV>
<DIV 
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<DIV 
style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; COLOR: #000000; PADDING-TOP: 8px">
<DIV><B>From:</B>&nbsp;<A href="mailto:pg_lus@lus.for.sabi.co.uk ">Peter 
Grandi</A></DIV>
<DIV><B>Date:</B>&nbsp;2012-03-07&nbsp;20:54</DIV>
<DIV><B>To:</B>&nbsp;<A href="mailto:lustre-discuss@lists.Lustre.org">Lustre 
discussion</A></DIV>
<DIV><B>Subject:</B>&nbsp;Re: [Lustre-discuss] Could "Client &amp; MGS" or 
"Client &amp; OSS" running at one node together?</DIV></DIV></DIV>
<DIV>
<DIV>&gt;&nbsp;Since&nbsp;there&nbsp;is&nbsp;no&nbsp;more&nbsp;node&nbsp;in&nbsp;our&nbsp;project&nbsp;when&nbsp;using&nbsp;Lustre,</DIV>
<DIV>&gt;&nbsp;I&nbsp;want&nbsp;to&nbsp;confirm&nbsp;that:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&nbsp;1)&nbsp;Could&nbsp;the&nbsp;"Client"&nbsp;and&nbsp;"MGS"&nbsp;run&nbsp;at&nbsp;one&nbsp;node&nbsp;together?&nbsp;or</DIV>
<DIV>&gt;&nbsp;could&nbsp;"Client"&nbsp;and&nbsp;"OSS"&nbsp;run&nbsp;at&nbsp;one&nbsp;node&nbsp;together?&nbsp;2)&nbsp;Suppose</DIV>
<DIV>&gt;&nbsp;I&nbsp;had&nbsp;deployed&nbsp;them&nbsp;at&nbsp;one&nbsp;node,&nbsp;what&nbsp;potential&nbsp;shortcomings</DIV>
<DIV>&gt;&nbsp;or&nbsp;harm&nbsp;are&nbsp;there?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Running&nbsp;MGS&nbsp;and&nbsp;MDS&nbsp;on&nbsp;the&nbsp;same&nbsp;nodes&nbsp;is&nbsp;customary,&nbsp;see:</DIV>
<DIV>&nbsp;&nbsp;&nbsp;http://wiki.lustre.org/manual/LustreManual20_HTML/LustreOperations.html#50438194_24122</DIV>
<DIV>&nbsp;</DIV>
<DIV>Running&nbsp;the&nbsp;MGS,&nbsp;MDS&nbsp;and&nbsp;OSS&nbsp;service&nbsp;on&nbsp;the&nbsp;same&nbsp;node&nbsp;is</DIV>
<DIV>possible&nbsp;and&nbsp;fairly&nbsp;common&nbsp;in&nbsp;very&nbsp;small&nbsp;setups,&nbsp;usually&nbsp;those</DIV>
<DIV>in&nbsp;which&nbsp;there&nbsp;is&nbsp;only&nbsp;1-2&nbsp;nodes.</DIV>
<DIV>&nbsp;</DIV>
<DIV>It&nbsp;is&nbsp;possible&nbsp;to&nbsp;use&nbsp;the&nbsp;client&nbsp;code&nbsp;on&nbsp;all&nbsp;types&nbsp;of&nbsp;Lustre</DIV>
<DIV>servers,&nbsp;but&nbsp;at&nbsp;least&nbsp;in&nbsp;the&nbsp;case&nbsp;of&nbsp;using&nbsp;the&nbsp;client&nbsp;code&nbsp;on&nbsp;an</DIV>
<DIV>OSS&nbsp;there&nbsp;is&nbsp;the&nbsp;non-negligible&nbsp;possibility&nbsp;of&nbsp;a&nbsp;resource</DIV>
<DIV>deadlock,&nbsp;if&nbsp;the&nbsp;client&nbsp;uses&nbsp;the&nbsp;OSS&nbsp;on&nbsp;the&nbsp;same&nbsp;node,&nbsp;as&nbsp;the</DIV>
<DIV>client&nbsp;and&nbsp;OSS&nbsp;codes&nbsp;compete&nbsp;for&nbsp;memory,&nbsp;so&nbsp;in&nbsp;the&nbsp;past&nbsp;this&nbsp;has</DIV>
<DIV>been&nbsp;discouraged.</DIV>
<DIV>&nbsp;</DIV>
<DIV>This&nbsp;is&nbsp;documented&nbsp;here:</DIV>
<DIV>&nbsp;&nbsp;http://wiki.lustre.org/manual/LustreManual20_HTML/LustreOperations.html#50438194_84876</DIV>
<DIV>&nbsp;&nbsp;&nbsp;«Caution&nbsp;-&nbsp;Do&nbsp;not&nbsp;do&nbsp;this&nbsp;when&nbsp;the&nbsp;client&nbsp;and&nbsp;OSS&nbsp;are&nbsp;on&nbsp;the</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;same&nbsp;node,&nbsp;as&nbsp;memory&nbsp;pressure&nbsp;between&nbsp;the&nbsp;client&nbsp;and&nbsp;OSS&nbsp;can</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;lead&nbsp;to&nbsp;deadlocks.»</DIV>
<DIV>_______________________________________________</DIV>
<DIV>Lustre-discuss&nbsp;mailing&nbsp;list</DIV>
<DIV>Lustre-discuss@lists.lustre.org</DIV>
<DIV>http://lists.lustre.org/mailman/listinfo/lustre-discuss</DIV></DIV></BODY></HTML>