<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: network card rate limiting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227693#M539701</link>
    <description>I appreciate everyone's input. I will be doing some tests as suggested in your posts and report back.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-S</description>
    <pubDate>Wed, 09 Jul 2008 13:33:13 GMT</pubDate>
    <dc:creator>slydmin</dc:creator>
    <dc:date>2008-07-09T13:33:13Z</dc:date>
    <item>
      <title>network card rate limiting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227687#M539695</link>
      <description>Greetings,&lt;BR /&gt;  Is there a way to rate limit network traffic on a certain NIC on hpux? The network graph shows that the system tops off at 20mbps for all incoming and outgoing traffic. If indeed it is rate limited, is there a way to remove this limit? Use lanadmin, perhaps? &lt;BR /&gt;&lt;BR /&gt;ioscan gives this output&lt;BR /&gt;lan       4  0/12/0/0  igelan CLAIMED     INTERFACE    HP A6825-60101 PCI 1000Base-T Adapter&lt;BR /&gt;&lt;BR /&gt;This an HPUX B11.11 OS on rp5470 hardware. &lt;BR /&gt;&lt;BR /&gt;Any help is appreciated.&lt;BR /&gt;Thanks,&lt;BR /&gt;-S</description>
      <pubDate>Thu, 03 Jul 2008 19:04:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227687#M539695</guid>
      <dc:creator>slydmin</dc:creator>
      <dc:date>2008-07-03T19:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: network card rate limiting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227688#M539696</link>
      <description>No, there is no rate limiter on the card or in the driver. The first thing to do is to look at lanadmin to see what speed it is actually set to and most important, the duplex setting. If it is auto-negotiating, your switch must do the same thing. The stats on the second page should all be zeros. If you see FCS or alignment errors, or most important, collisions, then your switch is not set correctly at all. If you have a GigaBit switch, it must be set to auto-negotiate, the same as your LAN card. If this is a 100 Mbit switch, make sure lanadmin reports full-duplex setting. Otherwise, the switch and card did not auto-negotiate correctly and you'll have to hardcode 100 Mbit and full duplex.</description>
      <pubDate>Thu, 03 Jul 2008 19:49:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227688#M539696</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-07-03T19:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: network card rate limiting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227689#M539697</link>
      <description>There are no FCS or Alignment errors and all counters are 0 for Errors/collisions&lt;BR /&gt;&lt;BR /&gt;Here is the output for the lanadmin&lt;BR /&gt;PPA Number                      = 3&lt;BR /&gt;Description                     = lan3 HP PCI 1000Base-T Release B.11.11.15&lt;BR /&gt;Type (value)                    = ethernet-csmacd(6)&lt;BR /&gt;MTU Size                        = 1500&lt;BR /&gt;Speed                           = 1000000000&lt;BR /&gt;Station Address                 = 0x306ef40cfe&lt;BR /&gt;Administration Status (value)   = up(1)&lt;BR /&gt;Operation Status (value)        = up(1)&lt;BR /&gt;Last Change                     = 326&lt;BR /&gt;Inbound Octets                  = 3768091933&lt;BR /&gt;Inbound Unicast Packets         = 20194077&lt;BR /&gt;Inbound Non-Unicast Packets     = 1384&lt;BR /&gt;Inbound Discards                = 0&lt;BR /&gt;Inbound Errors                  = 0&lt;BR /&gt;Inbound Unknown Protocols       = 18&lt;BR /&gt;Outbound Octets                 = 2796030486&lt;BR /&gt;Outbound Unicast Packets        = 20568098&lt;BR /&gt;Outbound Non-Unicast Packets    = 18&lt;BR /&gt;Outbound Discards               = 0&lt;BR /&gt;Outbound Errors                 = 0&lt;BR /&gt;Outbound Queue Length           = 0&lt;BR /&gt;Specific                        = 655367&lt;BR /&gt;Ethernet-like Statistics Group&lt;BR /&gt;&lt;BR /&gt;Index                           = 4&lt;BR /&gt;Alignment Errors                = 0&lt;BR /&gt;FCS Errors                      = 0&lt;BR /&gt;Single Collision Frames         = 0&lt;BR /&gt;Multiple Collision Frames       = 0&lt;BR /&gt;Deferred Transmissions          = 0&lt;BR /&gt;Late Collisions                 = 0&lt;BR /&gt;Excessive Collisions            = 0&lt;BR /&gt;Internal MAC Transmit Errors    = 0&lt;BR /&gt;Carrier Sense Errors            = 0&lt;BR /&gt;Frames Too Long                 = 0&lt;BR /&gt;Internal MAC Receive Errors     = 0&lt;BR /&gt;&lt;BR /&gt;So why would the server/network limit to 20mbps(which is shown on the MRTG for the switch that it is connected to)?</description>
      <pubDate>Thu, 03 Jul 2008 20:57:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227689#M539697</guid>
      <dc:creator>slydmin</dc:creator>
      <dc:date>2008-07-03T20:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: network card rate limiting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227690#M539698</link>
      <description>Maybe its not limited and that's all the traffic that is going to this server.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jul 2008 21:15:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227690#M539698</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2008-07-03T21:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: network card rate limiting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227691#M539699</link>
      <description>SInce MTRG is just showing activity, you'll need to test it with a high performance data transfer program, namely ftp. Pick another system with a Gbit card, ideally on the same switch, then start ftp for several hundred megs on each server at the same time. Then check your stats. Note that throughput always depends on both ends of the connection.</description>
      <pubDate>Thu, 03 Jul 2008 22:08:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227691#M539699</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-07-03T22:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: network card rate limiting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227692#M539700</link>
      <description>HP-UX does not by default place any limits on NICs.  It will drive them as fast as it can or as fast as it is asked, whichever is less.&lt;BR /&gt;&lt;BR /&gt;Assuming the lanadmin stats are good and don't suffer from "rollover" on the octet (byte) counts, it looks like your average packet size is ~186 bytes in one direction and ~135 in the other.&lt;BR /&gt;&lt;BR /&gt;In addition to testing with something that can do high-throughput (I'd suggest netperf rather than ftp, but I am biased :), and that requires an install step) you might also check the CPU utilization of all the CPUs in your system.  Make certain that none of them are (close) to saturation, especially with interrupt time.&lt;BR /&gt;&lt;BR /&gt;Also, at &lt;A href="ftp://ftp.cup.hp.com/dist/networking/tools/" target="_blank"&gt;ftp://ftp.cup.hp.com/dist/networking/tools/&lt;/A&gt; you will find a utility called "beforeafter" which you can use to subtract on set of lanadmin stats from another.  You might use that to measure statistics over an interval rather than the "from boot" you get with just a single snapshot of the figures.</description>
      <pubDate>Mon, 07 Jul 2008 15:45:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227692#M539700</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2008-07-07T15:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: network card rate limiting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227693#M539701</link>
      <description>I appreciate everyone's input. I will be doing some tests as suggested in your posts and report back.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-S</description>
      <pubDate>Wed, 09 Jul 2008 13:33:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227693#M539701</guid>
      <dc:creator>slydmin</dc:creator>
      <dc:date>2008-07-09T13:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: network card rate limiting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227694#M539702</link>
      <description>Patrick,&lt;BR /&gt;  I was actually trying to transfer about 650GBytes of data from this server to distant destination. The MRTG graphed the switch at 20Mbps, like something was limiting the transfer. BTW, it took about 6 odd days to complete the transfer! &lt;BR /&gt;&lt;BR /&gt;I have linux boxes that accomplish this task in 15 hours, with some TCP tuning. (I am not trying to start a flame war, just observing). I would like to see my hpux boxes do the same or very close to that.&lt;BR /&gt;&lt;BR /&gt;I should also metion I was using rcp, which is a little better than scp/ssh. &lt;BR /&gt;&lt;BR /&gt;This is a leased line that we a pumping data through, 200mbps, of which only about 20 mbps is being seen as utilized by the switch connected to this server.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-S</description>
      <pubDate>Wed, 09 Jul 2008 13:42:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227694#M539702</guid>
      <dc:creator>slydmin</dc:creator>
      <dc:date>2008-07-09T13:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: network card rate limiting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227695#M539703</link>
      <description>rcp is not a great protocol for large data transfers and as Rick pointed out, the packets are extremely small. And since this is a WAN, you might have very large line response times. Try a ping to the remote system for a while. If the response time are dozens to hundreds of ms, then rcp would be the worst protocol to use as you need the largest packet size. ftp will automatically adapt to the line characteristics as well as allow overlapping acknowledgements, particularly useful for lines that have long turnaround times.</description>
      <pubDate>Wed, 09 Jul 2008 15:01:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227695#M539703</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-07-09T15:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: network card rate limiting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227696#M539704</link>
      <description>If it is a single file being transferred, rcp shouldn't be appreciably worse than ftp for the transfer, modulo socket buffer settings.&lt;BR /&gt;&lt;BR /&gt;If this is a long distance leased line, then you almost certainly need a socket buffer/window size larger than HP-UX defaults.&lt;BR /&gt;&lt;BR /&gt;One limit to the performance of a TCP connection for bulk transfer is:&lt;BR /&gt;&lt;BR /&gt;Tput &amp;lt;= Window/RoundTripTime&lt;BR /&gt;&lt;BR /&gt;So, when your 200Mbit/s leased line is at least mildly loaded, run a ping and note the time.  Then using the formula above, plug-in 200Mbit/s for Tput, the RTT you get from ping for RoundTripTime and then solve for the _minimum_ required window.  Add some slop to that.&lt;BR /&gt;&lt;BR /&gt;Then you will need to examin the manpages for rcp and/or ftp and ftpd on your UX system(s) to see how one gets them using larger socket buffers and so larger window sizes.  I am pretty sure they don't take the defaults (although IMO passing "0" to the option to set the socket buffer size should, and if not folks should file ER's against those apps...).&lt;BR /&gt;&lt;BR /&gt;ssh/scp is another kettle of fish since it has an application-layer flow control mechanism (or at least something that ends-up acting like that) and you need some later ssh/scp patches from their "upstream" sources which may or may not be in an HP-UX patch - check with the RC on that one.  It also introduces the issue of crypto performance, which takes us back to issues of CPU util.</description>
      <pubDate>Wed, 09 Jul 2008 17:37:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-card-rate-limiting/m-p/4227696#M539704</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2008-07-09T17:37:50Z</dc:date>
    </item>
  </channel>
</rss>

