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).
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.
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.
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:
- AltEmbedded on Electronic Design
- Bill Wong on Facebook
- @AltEmbedded on Twitter
- Bill Wong on LinkedIn
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.