Data Plane Software Moves To User Space

March 2, 2012
Freescale's VortiQa Platform Services Package makes the move to user space incurring only a 5% performance hit.

Freescale's VortiQa software is moving to user space. VortiQa is Freescale's network management software (Fig. 1) that runs on its QorIQ and QorIQ Converge platforms (see Multicore CPU/DSP Combo Targets LTE Basestations).

Fig. 1: VortiQa sits atop Freescale's QorIQ multicore hardware providing access to hardware acceleration.

The initial version of VortiQa ran in kernel mode as a driver that provided access to hardware acceleration on the QorIQ platforms. This is typically how hardware is accessed but it has the disadvantage of moving between kernal and user mode as applications control the hardware. This is fine in most instances but often an application is moved to the kernel side to gain more performance. Unfortunately kernel mode is harder to develop for and it does not provide the system protection that running an application in user space does.

This latest incarnation of VortiQa PSP (Platform Services Package) runs in user space so it can coexist with the data plane application (Fig. 2). This means the application does not have to switch to kernel mode when using the VortiQa runtime. Freescale has also allowed the VortiQa runtime access to the hardware acceleration that is so important to it performance. The is a small overhead for running in user space but this is balanced with improved security and debugging.

Fig. 2: The VortiQa PSP software moves to user space out of the kernel.

VortiQa PSP provides a range of services (Fig. 3) including network and session management. The User space data plane acceleration architecture (USDPAA) takes only a 5% performance hit while gaining features such as the ability to have multiple instances and it can take advantage of Linux thread/core affinity.

Fig. 3: The VortiQa PSP software provides a range of services such as network and session management.

In addition to improving the developer experience, the new approach has other benefits as well. Support and maintenance of an application is significantly easier and less error prone than kernel management. It also means support is independent of the underlying kernel. This makes migration to different platforms easier.

GPL copyright issues are also addressed by moving to user space since the application is now independent of the operating system from a legal standpoint. Kernel changes and driver integration is no longer an issue.

Overall, the trend to moving code away from the hardware continues especially as hardware improvements have reduced the overhead of doing so. I/O virtualization is already common at the hardware and virtual machine level for devices like Ethernet interfaces.

Resources

About the Author

William G. Wong | Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sponsored Recommendations

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!