> Source: [sk170213](https://support.checkpoint.com/results/sk/sk170213)

# sk170213 - Running "fw ctl affinity -s -d -fwkall" or "sim affinity -a" causes incorrect cores allocation in VSX environments that have cores limited license installed

| Property | Value |
|----------|-------|
| Solution ID | sk170213 |
| Date Created | 2020-11-02 |
| Last Modified | 2020-11-07 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * Running "fw ctl affinity -s -d -fwkall" or "sim affinity -a" causes incorrect cores allocation in VSX environment.

* The environment has a license, which limits the number of available CoreXL instances to use, to less than that of the logical cores of the machine.

* Running "fw ctl affinity -s -d -fwkall" causes the FWK instances to affine to the first cores therefore overlapping with the SNDs.

* Running "sim affinity -a" causes that SNDs to affine to the last available cores.

* Output of "fw ctl affinity -l" shows SNDs affine to the last cores while FWK instances are affined to the first cores.

* The command "cpmq get -a" shows multi-queued interfaces affined to the first cores.

## Cause

In a VSX environment, when the system has more physical cores than what the installed license allows, running "*fw ctl affinity -s -d -fwkall*" from expert mode causes FWK instances to be affined to the first available cores therefore overlapping with the SNDs.

following that, running "*sim affinity -a*" triggers the SNDs to be moved to the last available cores while FWK instances are still affined to the first cores.

Multi-queued interfaces do not affine to the SND cores instead, they are still affine to the first cores, which are FWK instances.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
