Version 3 (modified by ismael, 15 years ago)

--

Multi Processor Platforms Guide

This guide describes how to run ALOE in a multi-processor environment in Linux.

Currently, only tcp/ip interfaces are supported, which lack of any QoS mechanism. Therefore, it may produce real-time violations due to transmissions. To minimize this effect, make sure network load is low.

1) Decide your network topology: number of processors and connectivity.

2) Configure External Interfaces Configuration File for each processor (ALOELinuxGuide#ConfigureyourPlatform). Besides data interfaces, you have to configure control and synchronization interfaces.

3) Configure Platform Configuration File and select the daemons to launch on every processor. A default configuration maps all manager daemons to a single processor (the one where executable repositories are available) while the rest have only the mandatory daemons:

  • Manager Processor Daemons: hwman, swman, statsman, sync_master, swload, frontend, stats, bridge, exec
  • Rest of Processor Daemons: swload, frontend, stats, bridge, exec, sync

4) Launch runph on every processor

5) You will see in the Manager Processor how hwman daemon automatically detects the network of processors.

6) Load and run your application normally from the Manager Processor cmdman shell (or from the GUI)

7) You can check with execinfo command the actual mapping and execution information of processes.

You should see how the set of modules are mapped to the set of processors according to components resource consumption (defined in application's *.app file) and processors' computing capacity (defined in Platform's Configuration File).