CPU pinning for an Edge Application Instance

1. CPU pinning, support behavior in EVE-OS, and advantages

CPU Pinning is one technique used to improve the application VM process efficiency. Zededa VM and Container Applications support this. 

  • When you enable CPU pinning for an application, the CPUs of a particular VM are confined to work on the specific number of performance cores on Edge Node. This means:
    • The requested number of cores is allocated.
    • Once allocated, the cores are reserved for the application. The application is guaranteed to run only on these cores; no other applications can run on these cores.
  • When CPU pinning is not used, the CPUs of a particular VM is allowed to be executed on any pCores of the physical host. Each thread can be shared among 2, 4, or more CPUs.

Note: CPU pinning is NOT enabled by default.

1.1. Advantages of CPU Pinning

  • No CPU sharing.
  • Maximize CPU cache efficiency.

image4.png

2. Configuring CPU pinning

Note: CPU pinning is an application bundle attribute, that can be set only when an application bundle is created and cannot be updated later. Application Instances inherit this attribute from the application bundle when created and cannot override it.

2.1. Configure using ZedUI

The following screenshots show the CPU Pinning field that should be added to the ZedUI.

  • Add Edge Applicationscreen_1.png
  • Edge Application Details Pagescreen_2.png
  • Application Instance Basic Info pagescreen_3.png

 

Was this article helpful?
0 out of 0 found this helpful

Articles in this section