<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments for Linux</title> <atom:link href="http://linux.sjolshagen.net/comments/feed/" rel="self" type="application/rss+xml" /><link>http://linux.sjolshagen.net</link> <description>For business workloads</description> <lastBuildDate>Sun, 15 Aug 2010 23:00:38 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>Comment on Linux: Using multipath to improve performance for your iSCSI array by Thomas</title><link>http://linux.sjolshagen.net/2010/07/linux-using-multipath-to-improve-performance-for-your-iscsi-array/comment-page-1/#comment-1289</link> <dc:creator>Thomas</dc:creator> <pubDate>Sun, 15 Aug 2010 23:00:38 +0000</pubDate> <guid
isPermaLink="false">http://linux.sjolshagen.net/?p=311#comment-1289</guid> <description>Depending on your switch layout; Do you have SPanning Tree or Rapid SPanning Tree enabled on the ports used by the host(s) and array(s)? Could also be the reason you&#039;re only seeing traffic on one interface.</description> <content:encoded><![CDATA[<p>Depending on your switch layout; Do you have SPanning Tree or Rapid SPanning Tree enabled on the ports used by the host(s) and array(s)? Could also be the reason you&#8217;re only seeing traffic on one interface.</p> ]]></content:encoded> </item> <item><title>Comment on Linux: Using multipath to improve performance for your iSCSI array by MD</title><link>http://linux.sjolshagen.net/2010/07/linux-using-multipath-to-improve-performance-for-your-iscsi-array/comment-page-1/#comment-1205</link> <dc:creator>MD</dc:creator> <pubDate>Sat, 07 Aug 2010 00:44:56 +0000</pubDate> <guid
isPermaLink="false">http://linux.sjolshagen.net/?p=311#comment-1205</guid> <description>Sorry, maybe my use of words was ambiguous - by &quot;over the bonded interfaces&quot; i really meant &quot;compared to the bonded interfaces&quot;i forgot to mention: i switched this morning from the bonded method to the &quot;recommended&quot; method with multipath and individual NICS. I&#039;ve had the bonded working great for 11.5mths, but have always been disappointed by the performance - I used the bonded/MLT (LACP) because i wanted the redundancy at the network end of things.Since i thought this was the bottle neck, i&#039;ve now tried the multipath/4 single NICs to see if there&#039;s much difference.With my initial tests, the IP address i have assigned to eth5, I&#039;ve mounted a share using NFS on a separate system - interestingly, all of this traffic actually goes via the eth3 interface - it&#039;s listed first in the routing table (it&#039;s on the same subnet as eth2-5) - i&#039;d expect the eth5 since that&#039;s where the IP is &quot;located&quot;I then saw the routing table, and that seems to be the reason (i&#039;d read your previous post on the rp_filter, and that was already defaulted to 0 - it&#039;s a RHEL5 system).Reading the kernel docs for &quot;arp_filter&quot; (not rp_filter), it almost implies that i need to setup source-based routing:
&quot;arp_filter - BOOLEAN
1 - Allows you to have multiple network interfaces on the same
subnet, and have the ARPs for each interface be answered
based on whether or not the kernel would route a packet from
the ARP&#039;d IP out that interface (therefore you must use source
based routing for this to work). In other words it allows control
of which cards (usually 1) will respond to an arp request.0 - (default) The kernel can respond to arp requests with addresses
from other interfaces. This may seem wrong but it usually makes
sense, because it increases the chance of successful communication.
IP addresses are owned by the complete host on Linux, not by
particular interfaces. Only for more complex setups like load-
balancing, does this behaviour cause problems.arp_filter for the interface will be enabled if at least one of
conf/{all,interface}/arp_filter is set to TRUE,
it will be disabled otherwise&quot;Nevertheless, i tested it somewhat (it&#039;s actually a production system so limited scope here). my test with dd if=/dev/zero of=testfile count=50000000 which results in a 26GB file. Whilst looking at iostat, i see traffic over all 4 &quot;paths&quot;. This worked out speed wise at ~896mbit/sec which seems awfully close to 1gbit (when taking into account the overhead of network protocols). And the strange thing, i see traffic on all 4 nics. It&#039;s just an awful co-incidence that the write speed seems to be almost exactly at 1gbit ...  (it&#039;s a PE2950 w/ 16gb ram). The unit PS6000XV had negligible other load at that time.Re-running my DD test:[user@host]# time dd if=/dev/zero of=testfile count=50000000
50000000+0 records in
50000000+0 records out
25600000000 bytes (26 GB) copied, 191.673 seconds, 134 MB/sreal	3m11.733s
user	0m19.957s
sys	2m51.032sagain, very close to 1Gbit...So i&#039;m either stuck with the fact that i&#039;ve got a mis-configuration somewhere, or that the performance of the unit really is ~1gbit in terms of writes, or that the way to get a performing system still alludes me.</description> <content:encoded><![CDATA[<p>Sorry, maybe my use of words was ambiguous &#8211; by &#8220;over the bonded interfaces&#8221; i really meant &#8220;compared to the bonded interfaces&#8221;</p><p>i forgot to mention: i switched this morning from the bonded method to the &#8220;recommended&#8221; method with multipath and individual NICS. I&#8217;ve had the bonded working great for 11.5mths, but have always been disappointed by the performance &#8211; I used the bonded/MLT (LACP) because i wanted the redundancy at the network end of things.</p><p>Since i thought this was the bottle neck, i&#8217;ve now tried the multipath/4 single NICs to see if there&#8217;s much difference.</p><p>With my initial tests, the IP address i have assigned to eth5, I&#8217;ve mounted a share using NFS on a separate system &#8211; interestingly, all of this traffic actually goes via the eth3 interface &#8211; it&#8217;s listed first in the routing table (it&#8217;s on the same subnet as eth2-5) &#8211; i&#8217;d expect the eth5 since that&#8217;s where the IP is &#8220;located&#8221;</p><p>I then saw the routing table, and that seems to be the reason (i&#8217;d read your previous post on the rp_filter, and that was already defaulted to 0 &#8211; it&#8217;s a RHEL5 system).</p><p>Reading the kernel docs for &#8220;arp_filter&#8221; (not rp_filter), it almost implies that i need to setup source-based routing:<br
/> &#8220;arp_filter &#8211; BOOLEAN<br
/> 1 &#8211; Allows you to have multiple network interfaces on the same<br
/> subnet, and have the ARPs for each interface be answered<br
/> based on whether or not the kernel would route a packet from<br
/> the ARP&#8217;d IP out that interface (therefore you must use source<br
/> based routing for this to work). In other words it allows control<br
/> of which cards (usually 1) will respond to an arp request.</p><p> 0 &#8211; (default) The kernel can respond to arp requests with addresses<br
/> from other interfaces. This may seem wrong but it usually makes<br
/> sense, because it increases the chance of successful communication.<br
/> IP addresses are owned by the complete host on Linux, not by<br
/> particular interfaces. Only for more complex setups like load-<br
/> balancing, does this behaviour cause problems.</p><p> arp_filter for the interface will be enabled if at least one of<br
/> conf/{all,interface}/arp_filter is set to TRUE,<br
/> it will be disabled otherwise&#8221;</p><p>Nevertheless, i tested it somewhat (it&#8217;s actually a production system so limited scope here). my test with dd if=/dev/zero of=testfile count=50000000 which results in a 26GB file. Whilst looking at iostat, i see traffic over all 4 &#8220;paths&#8221;. This worked out speed wise at ~896mbit/sec which seems awfully close to 1gbit (when taking into account the overhead of network protocols). And the strange thing, i see traffic on all 4 nics. It&#8217;s just an awful co-incidence that the write speed seems to be almost exactly at 1gbit &#8230;  (it&#8217;s a PE2950 w/ 16gb ram). The unit PS6000XV had negligible other load at that time.</p><p>Re-running my DD test:</p><p>[user@host]# time dd if=/dev/zero of=testfile count=50000000<br
/> 50000000+0 records in<br
/> 50000000+0 records out<br
/> 25600000000 bytes (26 GB) copied, 191.673 seconds, 134 MB/s</p><p>real	3m11.733s<br
/> user	0m19.957s<br
/> sys	2m51.032s</p><p>again, very close to 1Gbit&#8230;</p><p>So i&#8217;m either stuck with the fact that i&#8217;ve got a mis-configuration somewhere, or that the performance of the unit really is ~1gbit in terms of writes, or that the way to get a performing system still alludes me.</p> ]]></content:encoded> </item> <item><title>Comment on Linux: Using multipath to improve performance for your iSCSI array by Thomas</title><link>http://linux.sjolshagen.net/2010/07/linux-using-multipath-to-improve-performance-for-your-iscsi-array/comment-page-1/#comment-1199</link> <dc:creator>Thomas</dc:creator> <pubDate>Fri, 06 Aug 2010 16:21:10 +0000</pubDate> <guid
isPermaLink="false">http://linux.sjolshagen.net/?p=311#comment-1199</guid> <description>I&#039;ve seen similar behavior in my personal iSCSI network when using &quot;mode=802.3ad&quot; for the &quot;BONDING_OPTS=&quot; line in ifcfg-bond0 (and the switch configured with Link Aggregation/Trunking for the ports). After switching to &quot;mode=balance-alb&quot; and turning of trunking on the switch ports (LACP is off), my throughput increased and I&#039;m seeing traffic on both of my bonded NICs - this is a personal iSCSI SAN in my basement, no EqualLogic equipment included).Also, how come your eth{2,3,4,5} all have IP addresses? If you&#039;re using the bonding driver, I would have expected them all to be IP-less slaves (see &quot;SLAVE&quot; in the output from #ifconfig eth{2,3,4,5} with &quot;bond0&quot; (or whatever you decide to call it) as the only entity having an IP address.The output you included reminds me more of a solution w/no bonding enabled (i.e. the standard EqualLogic recommended configuration) and the dm-multipath driver loaded &amp; configured?</description> <content:encoded><![CDATA[<p>I&#8217;ve seen similar behavior in my personal iSCSI network when using &#8220;mode=802.3ad&#8221; for the &#8220;BONDING_OPTS=&#8221; line in ifcfg-bond0 (and the switch configured with Link Aggregation/Trunking for the ports). After switching to &#8220;mode=balance-alb&#8221; and turning of trunking on the switch ports (LACP is off), my throughput increased and I&#8217;m seeing traffic on both of my bonded NICs &#8211; this is a personal iSCSI SAN in my basement, no EqualLogic equipment included).</p><p>Also, how come your eth{2,3,4,5} all have IP addresses? If you&#8217;re using the bonding driver, I would have expected them all to be IP-less slaves (see &#8220;SLAVE&#8221; in the output from #ifconfig eth{2,3,4,5} with &#8220;bond0&#8243; (or whatever you decide to call it) as the only entity having an IP address.</p><p>The output you included reminds me more of a solution w/no bonding enabled (i.e. the standard EqualLogic recommended configuration) and the dm-multipath driver loaded &amp; configured?</p> ]]></content:encoded> </item> <item><title>Comment on Linux: Using multipath to improve performance for your iSCSI array by MD</title><link>http://linux.sjolshagen.net/2010/07/linux-using-multipath-to-improve-performance-for-your-iscsi-array/comment-page-1/#comment-1195</link> <dc:creator>MD</dc:creator> <pubDate>Fri, 06 Aug 2010 14:54:34 +0000</pubDate> <guid
isPermaLink="false">http://linux.sjolshagen.net/?p=311#comment-1195</guid> <description>So this issue that i encountered with this setup (over the bonded interfaces) is that all the traffic will go via one of the interfaces, for example:Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.100.110.0    0.0.0.0         255.255.255.0   U         0 0          0 eth3
10.100.110.0    0.0.0.0         255.255.255.0   U         0 0          0 eth4
10.100.110.0    0.0.0.0         255.255.255.0   U         0 0          0 eth5
10.100.110.0    0.0.0.0         255.255.255.0   U         0 0          0 eth2in this case, eth3 takes all the load, despite there being 4 iscsi sessions open from each of the interfaces (one session per interface)in effect, while there might be load-balancing via multipath, everything is bottle-necked through one NIC?</description> <content:encoded><![CDATA[<p>So this issue that i encountered with this setup (over the bonded interfaces) is that all the traffic will go via one of the interfaces, for example:</p><p>Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface<br
/> 10.100.110.0    0.0.0.0         255.255.255.0   U         0 0          0 eth3<br
/> 10.100.110.0    0.0.0.0         255.255.255.0   U         0 0          0 eth4<br
/> 10.100.110.0    0.0.0.0         255.255.255.0   U         0 0          0 eth5<br
/> 10.100.110.0    0.0.0.0         255.255.255.0   U         0 0          0 eth2</p><p>in this case, eth3 takes all the load, despite there being 4 iscsi sessions open from each of the interfaces (one session per interface)</p><p>in effect, while there might be load-balancing via multipath, everything is bottle-necked through one NIC?</p> ]]></content:encoded> </item> <item><title>Comment on Linux: Using multipath to improve performance for your iSCSI array by Thomas</title><link>http://linux.sjolshagen.net/2010/07/linux-using-multipath-to-improve-performance-for-your-iscsi-array/comment-page-1/#comment-1119</link> <dc:creator>Thomas</dc:creator> <pubDate>Thu, 29 Jul 2010 14:46:49 +0000</pubDate> <guid
isPermaLink="false">http://linux.sjolshagen.net/?p=311#comment-1119</guid> <description>I&#039;ve not tested using IP aliases and not sure it&#039;d be supported (not that the array really tell, but it&#039;s a question of what&#039;s been tested by Dell&#039;s Q/A group).For a supported configuration, Dell would tell you to split the bond, configure the NIC&#039;s presently bonded as physical devices with IP addresses (i.e. 10.10.10.1, 10.10.10.2, etc) on the same subnet as the group IP (if possible) and then configure multipath.conf/multipathd.The following would also work, but I&#039;m not clear on whether or not it&#039;s an officially supported configuration, since you&#039;ve already got a bonded interface up, have you considered simply using the iSCSI initiator utilities to configure two (or more, depending on the size of your bond) iSCSI session interfaces, re-discover the LUN(s), re-log in to them and start the multipathd service.# iscsiadm -m iface -I bond0_1 --op=new
# iscsiadm -m iface -I bond0_2 --op=new
# iscsiadm -m iface -I bond0_1 --op=update -n iface.net_ifacename -v bond0
# iscsiadm -m iface -I bond0_2 --op=update -n iface.net_ifacename -v bond0
# iscsiadm -m discovery -I bond0_1 -t st -p
# iscsiadm -m discovery -I bond0_2 -t st -pI tend to remove the LUNs/Volumes I&#039;m not using on the host (like the vss-control LUN, etc with # iscsiadm -m node --op=delete -T# iscsiadm -m node --login -T [iqn for LUN/Volume]Edit /etc/multipath.conf and start the multipathd service as well as check that the /dev/mapper device is present ( # multipath -v2 ; multipath -ll )&lt;strong&gt;Again: I&#039;ve not confirmed that we&#039;ll actually support this setup (meaning, I know it works in my own sandbox environment, but YMMV and if you call support they could be telling you it&#039;s not officially supported)&lt;/strong&gt;</description> <content:encoded><![CDATA[<p>I&#8217;ve not tested using IP aliases and not sure it&#8217;d be supported (not that the array really tell, but it&#8217;s a question of what&#8217;s been tested by Dell&#8217;s Q/A group).</p><p>For a supported configuration, Dell would tell you to split the bond, configure the NIC&#8217;s presently bonded as physical devices with IP addresses (i.e. 10.10.10.1, 10.10.10.2, etc) on the same subnet as the group IP (if possible) and then configure multipath.conf/multipathd.</p><p>The following would also work, but I&#8217;m not clear on whether or not it&#8217;s an officially supported configuration, since you&#8217;ve already got a bonded interface up, have you considered simply using the iSCSI initiator utilities to configure two (or more, depending on the size of your bond) iSCSI session interfaces, re-discover the LUN(s), re-log in to them and start the multipathd service.</p><p># iscsiadm -m iface -I bond0_1 &#8211;op=new<br
/> # iscsiadm -m iface -I bond0_2 &#8211;op=new<br
/> # iscsiadm -m iface -I bond0_1 &#8211;op=update -n iface.net_ifacename -v bond0<br
/> # iscsiadm -m iface -I bond0_2 &#8211;op=update -n iface.net_ifacename -v bond0<br
/> # iscsiadm -m discovery -I bond0_1 -t st -p<br
/> # iscsiadm -m discovery -I bond0_2 -t st -p</p><p>I tend to remove the LUNs/Volumes I&#8217;m not using on the host (like the vss-control LUN, etc with # iscsiadm -m node &#8211;op=delete -T</p><p># iscsiadm -m node &#8211;login -T [iqn for LUN/Volume]</p><p>Edit /etc/multipath.conf and start the multipathd service as well as check that the /dev/mapper device is present ( # multipath -v2 ; multipath -ll )</p><p><strong>Again: I&#8217;ve not confirmed that we&#8217;ll actually support this setup (meaning, I know it works in my own sandbox environment, but YMMV and if you call support they could be telling you it&#8217;s not officially supported)</strong></p> ]]></content:encoded> </item> </channel> </rss>
<!-- Served from: linux.sjolshagen.net @ 2010-09-08 11:10:27 by W3 Total Cache -->