Sluonics GmbH

Supporting you with software development.

Scheduler performance optimization

Situation

The scheduler is responsuble for ordering the execution of a large number of a algorithms across two heterogeneous multi core platforms. It has to handle many special calibration and initialization modes. There were several activity diagrams scheduling for different time constraints.

The scheduler was measured to have a significant cost of about 10% of the total runtime.

Delivered solution

1. Simplification of the communication

The scheduler was developed using AUTOSAR provide and request ports. This imposed too much overhead since only the results of a single event, the latest finished task, were necessary.

2. Custom activity diagram code

The IBM Rational Rhapsody code generator has proven insufficient, introducing too many layers of indirecetion.

The activity diagram was reproduced by a modified state machine with transitions requiring a set of conditions (finished algorithms) instead of events.

Benefits

  • Solved latency issues
  • Scales with the number of simulation components
  • Proven by measurements

Costs

  • 3 months development time

Tools

  • C++
  • MS Visual Studio 2010
  • G++ tool chain
  • Python

Impressum and privacy statement