RTOS performance with SMP ease-of-use support scalable multicore processing
Express Logic, Inc., the worldwide leader in royalty-free, real-time operating systems (RTOS) with over 1 billion units deployed, today announced the availability of its popular ThreadX® RTOS for ARM’s MPCore™ multicore processor architecture. Working cooperatively with ARM, Express Logic has adapted ThreadX/SMP, an enhanced version of ThreadX providing synchronous multicore support that preserves real-time responsiveness, to target ARM’s MPCore. ThreadX/SMP achieves a significant performance boost by sharing the processing load over the multiple processor cores of the MPCore, while maintaining the real-time responsiveness critical to demanding embedded applications.
ThreadX/SMP offers developers of MPCore-based products:
Incremental processing resources Automatic load-balancing across all cores Ease of application programming Use of common code for single and multicore versions Increased performance without increased programming complexity
ThreadX/SMP is based on Express Logic’s popular ThreadX RTOS, a small, highly efficient embedded OS that minimizes system overhead and provides lightning-fast, real-time response. With a memory footprint as small as 10KB and sub-microsecond interrupt response and context switch, ThreadX/SMP complements the multicore architecture of the MPCore with the ease of SMP, while retaining hard real-time responsiveness. ThreadX/SMP is the ideal RTOS for demanding real-time applications where high-efficiency and high-performance are needed. Together, ThreadX/SMP and ARM’s MPCore provide the system developer with a combination of performance and ease of use that speeds time to market.
The ARM MPCore offers up to four processors, with a unified shared memory accessible by all. Express Logic uses this shared memory to design a symmetric multiprocessor version of the ThreadX RTOS that runs concurrently on all processors from a single copy in shared memory. Application processing is automatically distributed across the processors as processing demands dictate, based on available processor cores, without the developer needing to be concerned about managing multiple processors. Because of this, programming MPCore is as straightforward as developing an embedded application for a single-core processor with the benefit of multicore performance.
“ARM’s MPCore is gaining popularity with customers looking for greater performance and ease of programming,” commented William E. Lamie, President of Express Logic. “As opposed to Linux/SMP, ThreadX/SMP delivers deterministic real-time responsiveness in a small memory footprint and is fully supported by Express Logic. It delivers the benefits of SMP programming without the overhead of a large OS.”
ThreadX/SMP achieves a high degree of ease of use by enabling multicore applications to be developed without needing to know the details of the MPCore architecture. ThreadX/SMP efficiently allocates and manages powerful hardware resources to maximize application thread efficiency. ThreadX/SMP transparently maps application threads to individual cores within the MPCore, providing automatic load balancing. Optionally, the developer can directly manage the use of cores for individual application threads. The low overhead of ThreadX produces an efficient thread-to-core allocation and assignment—a feat that can be difficult for larger RTOSes and OSes to achieve.
Real-Time SMP enables an application to apply the resources of multiple processors to serve its threads, without tailoring the program logic to manage and arbitrate among the processors. In a single processor system, once a top-priority thread begins execution, other threads must wait. With Real-Time SMP, threads of equal priority can run in parallel on the other processors, effectively balancing overload situations where one processor could not handle the volume of data requiring processing. Using Real-Time SMP, the application can launch a second, third, and fourth thread to help with the processing. The additional threads can be defined at initialization and automatically run on any available processor as needed, or created dynamically as the executing thread identifies processing demand beyond its capabilities.
ThreadX/SMP is supported by Express Logic’s TraceX® /MC graphical real-time event analysis tool that shows multicore activity across a timeline. TraceX/MC identifies thread activity by core, enabling visual determination of load balancing and processor utilization.
About Express Logic and ThreadX
Headquartered in San Diego, CA, Express Logic offers the most advanced run-time solution for deeply embedded applications, including the popular ThreadX® RTOS, the high-performance NetX™ TCP/IP stack, the FileX® embedded MS-DOS compatible file system, the new GUIX™ GUI development toolkit, and the USBX™ Host/Device USB protocol stack. All products from Express Logic include full source-code and have no run-time royalties. For more information about Express Logic solutions, please visit our web site at http://www.rtos.com, call 1-888-THREADX, or email inquiries to email@example.com.
See Express Logic's X-Ware products and X-Ware Platform on display at Embedded World, February 24-26, 2015. Visit us in Hall 4, Stand 270 and enter our drawing to win an Apple iPad! Get a free 8GB USB Stick just for entering.