Mirantis OpenStack

  • Download

    Mirantis OpenStack is the zero lock-in distro that makes deploying your cloud easier, and more flexible, and more reliable.

  • On-Demand

    Mirantis OpenStack Express is on demand Private-Cloud-as-a-Service. Fire up your own cloud and deploy your workloads immediately.

Solutions Engineering

Services offerings for all phases of the OpenStack lifecycle, from green-field to migration to scale-out optimization, including Migration, Self-service IT as a Service (ITaaS), CI/CD. Learn More

Deployment and Operations

The deep bench of OpenStack infrrastructure experts has the proven experience across scores of deployments and uses cases, to ensure you get OpenStack running fast and delivering continuous ROI.

Driver Testing and Certification

Mirantis provides coding, testing and maintenance for OpenStack drivers to help infrastructure companies integrate with OpenStack and deliver innovation to cloud customers and operators. Learn More

Certification Exam

Know OpenStack? Prove it. An IT professional who has earned the Mirantis® Certificate of Expertise in OpenStack has demonstrated the skills, knowledge, and abilities needed to create, configure, and manage OpenStack environments.

OpenStack Bootcamp

New to OpenStack and need the skills to run an OpenStack cluster yourself? Our bestselling 3 day course gives you the hands-on knowledge you need.

The #1 Pure Play OpenStack Company

Some vendors choose to “improve” OpenStack by salting it with their own exclusive technology. At Mirantis, we’re totally committed to keeping production open source clouds free of proprietary hooks or opaque packaging. When you choose to work with us, you stay in full control of your infrastructure roadmap.

Learn about Our Philosophy

Guest Post: Offloading CPU data traffic in OpenStack cloud with iSCSI over RDMA

At Mellanox, we’ve recently introduced some plug-ins for OpenStack. In this post, we’ll talk about the background for those technologies and tell you how you can get started with the iSER plugin (iSCSI extensions for RDMA) for your OpenStack cloud.

Classically, data center computing relies on any of several types of communication between Compute and Storage servers, as compute servers read and write data from the storage servers constantly. Naturally, to get the most out of your server’s CPU performance, communication from the compute server to the storage server must have the lowest possible latency and highest possible bandwidth, so all those CPU cycles are in fact processing, not waiting.

For a whole host of reasons, iSCSI predominates as a transport between storage and compute, and applications that use iSCSI over TCP are processed by the CPU, so the data path for iSCSI, as well as protocols such as TCP, UDP, and NFS, all must wait in line with the other applications and system processes for their turn using the CPU. Not only does that choke up the network, it also uses system resources that could be used for executing the jobs faster. In a classic datacenter environment, where workloads and compute resources are fairly stable you can tune much of this, but it’s still an issue.

In a virtualized or cloud environment, this problem becomes more acute. When you can’t lock down the data channels, it’s really hard to predict when the CPU or vCPU is going to have to give up a chunk of processing power just to get data through I/O. Add the layering of the virtualized environment, and the CPU is spending a lot of time working on managing how the OS handles this traffic. This is true both for physical and virtual CPUs.

Mellanox ConnectX adapters bypass the operating system and CPU by using RDMA (Remote Direct Memory Access), allowing much more efficient data movement paths. iSER (iSCSI extensions for RDMA) capabilities are used to accelerate hypervisor traffic, including storage access, VM migration, and data and VM replication. The use of RDMA moves the data to the Mellanox ConnectX hardware, which provides zero-copy message transfers for SCSI packets, producing much faster performance, lower latency and access-time, and lower CPU overhead.

iSER can provide six times faster performance than traditional TCP/IP based iSCSI. This converges efforts that have been going on in both Ethernet and InfiniBand communities, respectively, and reduces the number of storage protocols a user must learn and maintain.

The RDMA bypass allows the data path to skip lines. Data is placed immediately upon receipt, without being subject to variable delays based on CPU load. This has three effects:

  • There is no waiting, which means that the latency of transactions is incredibly low.
  • Because there is no contention for resources, the latency is consistent.
  • By skipping the OS, using RDMA results in a large savings of CPU cycles.

With a more efficient system in place, those saved CPU cycles can be used to accelerate application performance.

In the general case, we did some tests that show when performing offload of the data to the hardware using the iSER protocol, the capacity of the link is utilized to the maximum of the PCIe limit.

Network performance is a significant constraint both for Data Center and cloud services; in the cloud context, there are many instances where you can’t perfectly predict where data is going to flow when, and you can run into bottlenecks when you least expect them.

Having experience in virtualized environments led us to apply these same lessons to OpenStack, and we built a plugin for Cinder. Most block storage use cases are extremely sensitive to storage latency, since block retrievals come in all shapes and sizes, again introducing bottlenecks.

To test this, we ran traffic to a RAM device (eliminating disk-side latency) and got  ~1.3GBps over TCP Vs. ~5.5GBps over iSER, and much lower CPU overhead (as expected). What we did was to create a volume, attach the volume to a VM, detach it from the VM, and delete the volume.

We also added this capability through a Quantum plug-in, which passes through embedded switch functionality through the adapter. Using SR-IOV virtualized functions, it allows hardware vNICs in each Virtual Machine vNIC to have its unique connectivity, security, and QoS attributes. Hardware vNICs can be mapped to the guest VMs either through para-virtualization (using a Tap device), or directly as a Virtual PCI device to the guest. In this fashion, you can hook your guest up directly to the higher throughput/lower latency of iSER, and keep your vCPUs cycles for crunching data instead of just handling data traffic.


For any questions contact openstack@mellanox.com

Eli Karpilovski is Cloud Market Development Manager at Mellanox. 


9 Responses

  1. Very interesting post. Thanks for sharing this info.

    April 15, 2013
  2. For anyone looking for more information about the Mellanox offering for OpenStack, here is a useful link: http://www.mellanox.com/related-docs/whitepapers/wp_mellanox_openstack_solution.pdf

    April 23, 2013
  3. Mellanox ConnectX-3 delivers low latency, high bandwidth, and computing efficiency for performance-driven server and storage clustering applications. Efficient computing is achieved by offloading from the CPU routine activities, which makes more processor power available for the application. Network protocol processing and data movement impacts, such as InfiniBand RDMA and Send/Receive semantics, are completed in the adapter without CPU intervention. The ConnectX-3 advanced acceleration technology enables higher cluster efficiency and scalability of up to tens of thousands of nodes.

    April 26, 2013

Continuing the Discussion

  1. Dell Open Source Ecosystem Digest #15. Issue Highlights: "Interviews with SUSE, Cisco and Cloudscaling" (englischsprachig) - TechCenter - Blog - TechCenter – Dell Community

    [...] Mirantis: “Guest Post: Offloading CPU data traffic in OpenStack cloud with iSCSI over RDMA” by Eli Karpilovski [...]

    April 12, 201304:07
  2. Dell Open Source Ecosystem Digest #15. Issue Highlights: "Interviews with SUSE, Cisco and Cloudscaling" - Dell TechCenter - TechCenter - Dell Community

    [...] Mirantis: “Guest Post: Offloading CPU data traffic in OpenStack cloud with iSCSI over RDMA” by Eli Karpilovski [...]

    April 12, 201304:08
  3. Dell Open Source Ecosystem Digest #15. Issue Highlights: Interviews with SUSE, Cisco and Cloudscaling | ServerGround.net

    [...] Mirantis: “Guest Post: Offloading CPU data traffic in OpenStack cloud with iSCSI over RDMA” by Eli Karpilovski [...]

    April 12, 201304:22
  4. Server King » Dell’s Digest for April 12, 2013

    [...] Mirantis: “Guest Post: Offloading CPU data traffic in OpenStack cloud with iSCSI over RDMA” by Eli Karpilovski [...]

    April 12, 201315:42
  5. OpenStack Community Weekly Newsletter (Apr 5 – 12) » The OpenStack Blog

    [...] By Mirantis: Guest Post: Offloading CPU data traffic in OpenStack cloud with iSCSI over RDMA [...]

    April 12, 201317:31
  6. Technology Short Take #32 - blog.scottlowe.org - The weblog of an IT pro specializing in virtualization, storage, and servers

    [...] RDMA) to accelerate iSCSI traffic seems to offer some pretty promising storage improvements (see this article), but I can’t help but feel like this is a really complex solution that may not offer a great [...]

    May 3, 201306:21

Some HTML is OK

or, reply to this post via trackback.