Building an image

To use the thread scheduler, you must add the [module=aps] attribute to the command that launches procnto in your OS image's buildfile. For example:

[module=aps] PATH=/proc/boot procnto-smp-instr -vv

Once you've added this line, use mkifs to rebuild your OS image, and then put the image in place. For an example, see the Quickstart: Adaptive Partitioning Thread Scheduler chapter in this guide; for details, see Building Embedded Systems.

Note:
  • You don't need to recompile your applications in order to run them in partitions.
  • When you're using adaptive partitioning, it's all right to use the procnto -p option to disable kernel preemption, since preemption checks are independent of adaptive partitioning and are based strictly on priority.
Page updated: