AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  Limit network bandwith

    Posted Tue September 27, 2011 12:28 PM

    Originally posted by: CristianLagos


    Hi,
    Does someone knows if there is a way to limit the bandwidth on a network interface in AIX?
    I have done that in linux using iptables and tc
    Thanks


  • 2.  Re: Limit network bandwith

    Posted Fri September 30, 2011 06:37 AM

    Originally posted by: nagger


    OK some one has to ask ... why would you want to do that?
    It makes no sense to me.

    ta NG


  • 3.  Re: Limit network bandwith

    Posted Fri September 30, 2011 07:59 AM

    Originally posted by: CristianLagos


    Well, my boss is afraid that a single lpar in a blade could take all the bandwidth of the enclosure


  • 4.  Re: Limit network bandwith

    Posted Fri September 30, 2011 08:32 AM

    Originally posted by: tony.evans


    Uncertainty fuels fear.

    I suggest you baseline and measure the environment, and show if the LPAR is using all the bandwidth of the enclosure first. If it is, we should assume it needs to, or it's doing stuff it shouldn't be, in which case you either need more bandwidth or you need to fix the problem.

    I assume you have a blade with a bunch of micro-partitions? What's the network config? How many physical adapters, what speeds, how many virtual adapters, how is it laid out (SEA's, HEA's, etc?)


  • 5.  Re: Limit network bandwith

    Posted Thu January 17, 2013 12:09 PM

    Originally posted by: jklotz


    I don't have an answer to the question (I'd like to), but being able to limit network bandwith is a very valid point.

    First, a similar tool exist for disk bandwith (workload manager).

    Second, you never know how a system can go wrong (bug or bad user action), so it's realistic to encounter some scenarios where a partition could outbound so much traffic network that other actual critical partitions (think of a database partition used by SAP for example) could suffer from network bandith degradation.

    A way to control a bit the network trafic would be NOT to optimize the IP stack of a partition (which means that if you need to give it a network boost, you have to interrupt the network stack for several minutes).

    For example, I have a case (specific to my environment, so may or may not be reproduced in yours to the same scale) where a partition can have a 90/100 MB/s data rate with standard IP parameters (mtu=1500 and mtu_bypass left to off), and can reach 450 MB/s when communicating with another partition located on a second physical server, with a mtu of 9000 and the mtu_bypass set to on).