Electronic Design

  
Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


[Embedded in Electronic Design]
Interprocess Communication: Multiprocessor Messaging

William Wong  |   ED Online ID #2317  |   June 10, 2002


Distributed applications without interprocess communication does not exist. On the other hand, a variety of interprocess communication (IPC) mechanisms for operating systems exists to support multiprocessor environments. But most tend to require significant amounts of programming effort unless communication across processors is relatively transparent.

Transparent message-based IPC systems are found in QNX Software Systems' (www.qnx.com) QNX RTOS, OSE Systems' (www.ose.com) OSE RTOS, and Kadak Products' (www.kadak.com) AMX RTOS. Other RTOSs support messaging systems, but they use them as a primary interprocess communication meth-od. QNX and OSE use task direct messaging, while AMX uses mailboxes that can be accessed by tasks. Communication across processors is handled via proxy tasks as shown in the figure.

A communications manager typically handles distribution of messages between proxy tasks on each processor. This allows messages to flow between the creator and consumer tasks without these tasks knowing about how the messages are passed or even how many hops the messages must make before they get to their destination.

Logical connections between tasks tend to be done on a logical basis using task or service names. The manager performs the mapping between names and actual task locations. Some implementations even allow tasks to be placed in between to filter or monitor messages passing between two tasks. This is very handy for debugging and providing message preprocessing services.

Messages can be forwarded over any kind of link, including TCP/IP. Still, transparent messaging differs significantly from sockets or other TCP/IP-related communication services. Domain name servers (DNS) provide location-independent address resolution, but a name must resolve to an IP address that's accessible to a message creator. A transparent messaging infrastructure has no such restriction. For example, a message may initially pass through a public TCP/IP network across a gateway and over a proprietary internal network.

Transparent Messaging
  • Integrated message link management
  • Scalable, multiprocessor, multiple-node architecture
  • Allows filter and debugging adapters
  • Supports fault tolerance
  • Messages can traverse different kinds of communication nodes
  • Supports integrated security and management services



Reprints   Printer-Friendly  Email this Article  RSS    Font Size   What's This?


  • Automating Analog IP Process Migration
  • C Tools Accelerate HDV Development On Xilinx FPGAs
  • A New Design Inflection Point
  • Forecasting Industry Growth For 2009 And Beyond
  • EDA Retools To Exploit Multicore Architectures
  • Design And Verification Move Up In Abstraction
  • EDA Retools To Exploit Multicore Architectures
  • A New Design Inflection Point
    1) Transportation Guidelines For Lithium Batteries Get Updated
    (261 views today)
    2) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (236 views today)
    3) The Field Of Energy Harvesting Begins To Ripen
    (112 views today)
    4) Easily Convert Decimal Numbers To Their Binary And BCD Formats
    (104 views today)
    5) 2008 BEST Electronic Design Winners
    (100 views today)
    ALL TOP 20



    Reader Comments

    Hello. This is a nice article and it's very useful too. If you want to make it more useful, try to add some picture maps also. Then it would be more understandable and attractive.

    Sinu A. Kumar -October 12, 2004

    POST YOUR COMMENTS HERE
    Name:

    Email:
    Your Comments:

    Enter the text from the image below


    Please refresh the page if you have trouble reading this text.

    Search Electronic Design
         
      
     
    Web Seminar
    Sponsored By:
    Title: Read Pacing: A Performance Enhancing Feature of PCI Express Gen 2 Switch Devices
    Speakers: 
    Date: 07/01/08
    Register: 

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources