Saturday, March 30, 2013

(IPMP vs LACP) vs MPIO

If you're running an illumos or Solaris-based distribution for your ZFS needs, especially in a production environment, you may find yourself wanting to aggregate multiple network interfaces either for performance, redundancy, or both. With Solaris, your choices are not limited to standard LACP.

So first, in case you're not aware, LACP is a link aggregation technology well supported by most operating systems and switches. It is sometimes called bonding, NIC teaming, and so on. You can get a pretty thorough write-up on it from Wikipedia.

IPMP is a Solaris technology that is similar to LACP, but superior in a number of ways, but most non-Solaris admins are generally unaware of its existence. Due to the rise of ZFS even within otherwise Linux-only environments, I often see administrators setting up and running with LACP when IPMP would have been a better fit, but they were simply unaware they had an option. I'm not going to wax on about IPMP or its virtues - a quick Google search will find you plenty of information. In a nutshell, it is different from LACP (running at the IP layer instead of the MAC layer), can actually be run in conjunction with LACP, and has some benefits and some drawbacks compared to an LACP aggregate.

No, what I want to take a moment to do is add this blog to the long list of sources that will explain something - LACP and IPMP and similar technologies increase the number of lanes on your highway - but each individual client generally only still has the 1 car, and the speed limit remains the same. Using LACP to aggregate 2, 4, or more NIC's together will improve your aggregate throughput speeds, but will not increase the speed of any individual stream of data past that of a single NIC within the aggregate.

Neither technology should be looked at as a means by which to improve the speed one client to hit one server with - for instance, if your client has a 10Gbit NIC and your server has 4x1Gbit NIC's, bonding all four 1 Gbit NIC's together with either technology will not then allow the client to send it data at 4 Gbit/s - it will still only go at 1 Gbit/s. Often even if you enable bonding on both client and server, the single-transfer throughput will remain one NIC's worth (but multiple transfers may, depending on settings, be capable of going down other links in the aggregate, thus allowing multiple link-speed transfers at once).

With that out of the way, what I often run into as well is client sites where they've set up ZFS appliances for use mostly or even entirely with iSCSI clients, and then used LACP or IPMP (or both). This is a mistake. The default iSCSI initiators for both Linux and Windows clients support iSCSI MPIO, a technology that will provide you with most the benefits of LACP or IPMP (namely, failover, and aggregation of multiple interfaces), and add to that the actual ability to increase the speed of single transfers beyond that of a single interface.

iSCSI MPIO does require support on the server side as well, and often a specific setup to allow it. If you are using NexentaStor or a similar OS, rather than rewrite things I've already written, I'll merely link you to a Solutions guide I already wrote (if you're not running Nexenta, both the client and server side advice translate, so long as it is COMSTAR you're using on the server side). If you're running Linux, I don't currently have an answer for you (I've avoided the ZFS on Linux project to date, as I'm busy and am waiting for it to reach a 1.0 state, as I tend to distrust anything that the maintainer of feels isn't ready to carry a 1.0 moniker), but I suspect Google can assist you, it is Linux after all. If you're running FreeBSD, I believe istgt supports MPIO, and merely requires you set up the Portal Group with more than one interface to allow it. That's second-hand information, I'm afraid, as my own home setup has a mere single port on it; if/when I can acquire hardware to change that, I'll do a post with exact configuration and testing results.

I highly recommend investigating MPIO for iSCSI in lieu of even turning on LACP or IPMP, if your setup is 100% iSCSI. If you've also got NFS/CIFS/etc in there, at the moment most of the file level protocols don't support any form of MPIO, so network link aggregation is still a requirement, and in such an event I'd only caution that when configuring them, try to configure things in such a way that MPIO can still work, if you've got some % of iSCSI in there.

47 comments:

  1. It is a wonderful blog. Thanks for sharing like this blog.......

    Best Training Institute in chennai

    ReplyDelete
  2. I really like your blog. You make it interesting to read and entertaining at the same time. I cant wait to read more from you.
    online Python training
    python training in chennai

    ReplyDelete
  3. Great content thanks for sharing this informative blog which provided me technical information keep posting.
    Best Devops Training in pune
    Devops interview questions and answers
    Devops interview questions and answers

    ReplyDelete
  4. Useful information.I am actual blessed to read this article.thanks for giving us this advantageous information.I acknowledge this post.and I would like bookmark this post.Thanks
    Best Devops online Training
    Online DevOps Certification Course - Gangboard

    ReplyDelete
  5. Really very nice blog information for this one and more technical skills are improve,i like that kind of post.

    rpa training in chennai |best rpa training in chennai|
    rpa training in bangalore | best rpa training in bangalore

    ReplyDelete

  6. Nice posting..thanks.
    Ijin..info investasi lahan keluarga di San Diego Hills memorial Park bebas biaya perawatan dan kebersihan selamanya klik
    Best Ice Fishing Gloves Best Ice Fishing Gloves Best Ice Fishing Gloves


    ReplyDelete
  7. Started out in 2012, Data Science Central is one of the industry’s leading and fastest growing Internet
    community for data practitioners. Whether it is data science or machine learning or deep learning or
    big data, Data Science Central is a one-stop shop that covers a wide range of data science topics that
    includes technology, tools, data visualisation, code, and job opportunities. Also, many industry experts
    contribute to the community forum for discussion or questions.

    DATA SCIENCE Training in OMR Chennai

    ReplyDelete
  8. Attend The Python Training in Bangalore From ExcelR. Practical Python Training in Bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Python Training in Bangalore.

    ReplyDelete
  9. Thanks for taking time for sharing this article, it was excellent and very informative. Its really very useful of all of users. I found a lot of informative stuff in your article. Keep it up. Online Effluent Monitoring System

    ReplyDelete
  10. Great Post ,thanks for sharing this informative blog which provided me technical information. I really appreciate, keep posting!! Machine Learning Course

    ReplyDelete
  11. Its really helpful for the users of this site. I am also searching about these type of sites now a days. So your site really helps me for searching the new and great stuff.other training in bangalore

    ReplyDelete
  12. Nice post. It is really interesting. Thanks for sharing the post...
    RPA Training in Bangalore - Marathahalli | RPA Training Institutes | RPA Course Fees and Content | RPA Interview Questions
    - ECare Technologies located in Marathahalli - Bangalore, is one of the best RPA Training institutes with 100% Placement support. RPA Training in Bangalore provided by RPA Certified Experts and real-time Working Professionals with handful years of experience in real time RPA Projects.

    ReplyDelete
  13. It is a wonderful blog. Thanks for sharing like this blog...
    AWS Course in Bangalore

    ReplyDelete

  14. Awesome blog. I enjoyed reading your articles.

    click here for more info

    ReplyDelete
  15. Effective blog with a lot of information. I just Shared you the link below for Courses .They really provide good level of training and Placement,I just Had RPA Classes in this institute , Just Check This Link You can get it more information about the RPA course.


    Java training in chennai | Java training in annanagar | Java training in omr | Java training in porur | Java training in tambaram | Java training in velachery

    ReplyDelete
  16. https://www.blackhatworld.com/members/manhinhmaytinhcu.1403852/
    http://muabanon.com/member.aspx

    ReplyDelete
  17. Read your blog, Excellent content written on Random storage industry dude's blog, mostly about ZFS and related technology.

    If you are looking for AWS job with unexpected Pay, then visit below link

    AWS Training in Chennai
    AWS course in Chennai
    AWS Certification in Chennai
    AWS Training
    Best AWS Training in Chennai
    aws online training
    aws online course
    learn aws online
    aws certification online
    aws certification training online

    ReplyDelete
  18. https://maylamgiatot.wordpress.com/2021/01/07/tu-van-mua-may-tinh-cu-o-dau-gia-re/
    https://leuxonghoigiadinh.wordpress.com/2021/01/07/mua-may-tinh-cu-o-dau-gia-re/
    https://maynongnghiepdananggiare.wordpress.com/2021/01/07/tu-van-mua-may-tinh-cu-gia-re-o-dau/
    https://maylamdattrongngo.wordpress.com/2021/01/07/mua-may-tinh-cu-o-dau-gia-re-he-lo-dia-chi/
    https://mayxoidatnongnghiep.wordpress.com/2021/01/07/dia-chi-de-mua-may-tinh-cu-o-dau-gia-re/
    https://leuxonghoigiadinh.wordpress.com/2021/01/07/mua-may-tinh-cu-o-dau-gia-re/

    ReplyDelete
  19. Nice & Informative Blog !
    you may encounter various issues in QuickBooks that can create an unwanted interruption in your work. To alter such problems, call us at QuickBooks Customer Service Phone Number 1-(855) 738-7873 and get immediate technical services for QuickBooks in less time.

    ReplyDelete
  20. Nice Blog !
    Our team at QuickBooks Customer Service makes sure to assist you with the best-in-class services during this confusing time.

    ReplyDelete
  21. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.If you face any issue in QuickBooks, contact:
    QuickBooks Support phone numberFor quick solution.

    ReplyDelete
  22. Users will get a clear picture of the customer and market behaviour and can make use of it to analyze the future performances of your business. salesforce lightning interview questions

    ReplyDelete
  23. Nice & Informative Blog !
    thanks for sharing excellent if you are QuickBooks user then contact at team at
    quickbooks phone number QuickBooks Solution

    ReplyDelete
  24. virtual event platform Half of the respondents said that the use of virtual events during the pandemic enabled them to achieve increased attendance, while another 14.6 percent said virtual technology enabled them to at least maintain the attendance level of live events. online event site, thank you for meeting with me letter and staff meeting invitation email sample

    ReplyDelete
  25. This post is so interactive and informative.keep update more information...
    SEO Training in Anna Nagar
    SEO Training in Chennai

    ReplyDelete
  26. Best AWS Training provided by Vepsun in Bangalore for the last 12 years. Our Trainer has more than 20+ Years
    of IT Experience in teaching Virtualization and Cloud topics.. we are very delighted to say that Vepsun is
    the Top AWS cloud training Provider in Bangalore. We provide the best atmosphere for our students to learn.
    Our Trainers have great experience and are highly skilled in IT Professionals. AWS is an evolving cloud
    computing platform provided by Amazon with a combination of IT services. It includes a mixture of
    infrastructure as service and packaged software as service offerings and also automation. We have trained
    more than 10000 students in AWS cloud and our trainer Sameer has been awarded as the best Citrix and Cloud
    trainer in india.

    ReplyDelete
  27. This comment has been removed by the author.

    ReplyDelete
  28. The Best ivf centre in rohini is renowned for its exceptional fertility care. With state-of-the-art facilities and a team of highly experienced fertility specialists, the center offers personalized and advanced reproductive solutions. Cutting-edge technologies such as In Vitro Fertilization (IVF), Intracytoplasmic Sperm Injection (ICSI), and Preimplantation Genetic Testing (PGT) are employed to maximize success rates.

    The compassionate and dedicated staff ensures comprehensive support throughout the fertility journey, fostering a nurturing and comfortable environment for patients. The center's commitment to excellence, innovative treatments, and successful outcomes solidify its reputation as a leading destination for individuals and couples seeking fertility assistance in Rohini.

    ReplyDelete