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 is 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 are 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.
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 UI
The following screenshots show the CPU Pinning field that should be added to the UI.
- Add Edge Application
- Edge Application 'Details' Page
- Edge Application Instance 'Basic Info' page