Exact Schedulers

From SDQ-Wiki
(Redirected from PCM AddOns/Exact Schedulers)
Jump to: navigation, search
Palladio Addon (Liste)
Name Exact Schedulers
Contacts Jens Happe (?)
State
Is Stand-alone Analysis? No
Extends Analyses SimuCom
Extends Metamodels Intrusive
Update Site http://sdqweb.ipd.kit.edu/eclipse/palladio/addons/exactschedulers/

Short Summary

SimuCom add-on which adds support for more realistic CPU scheduling.

Documentation

Based on happe2008, simulated schedulers for different operating systems have been implemented in SimuCom. These scheduler are available as a PCM AddOn.

Please note: the exact scheduler assumes one time unit to be one ms.

Installing the Exact Schedulers AddOn

This AddOn requires Palladio Core to be installed in Eclipse beforehand.

The following table gives an overview on the available AddOn releases and the corresponding required PCM Core version:

Exact Schedulers AddOn Releases

PCM Core Release AddOn Release
Nightly Nightly
3.4 1.0
3.3.1 1.0
3.3 1.0

First, install Palladio Core build from the specified update site. Afterwards, install the Exact Schedulers AddOn feature from the corresponding update site.

Use the exact schedulers in SimuCom

Once the AddOn is installed, exact scheduling policies can be specified for a CPU processing resource specification. To do so, load the resource

pathmap://PCM_EXACT_SCHEDULER_MODELS/ExactSchedulers.resourcetype

in a PCM resourceenvironment model. Afterwards, the exact scheduling policies can be selected and are supported by the simulation.

The following exact scheduling policies are available:

  • Windows Server 2003, Windows XP, Windows Vista, Windows 7
  • Linux 2.6 O(1)
  • Linux 2.6 CFS (approximated by ProcessorSharing)

Note that the schedulers assume that the resource demands are defined in milliseconds.

Demo project and launch configuration

Is available with the Minimum_ExactScheduler_Project Example in SVN. Please note that it only demonstrates the use of exact schedulers but is not a meaningful prediction model.