# How to Modify CPU Core Usage in lcore for Large Instances > [!NOTE] > **WHAT TO EXPECT** > > In earlier releases, users with large instance types could improve performance by editing the cloudSwXtch's lcores configuration by hand. This article explains how this works in cloudSwXtch v5. In cloudSwXtch v5, the CPUs for the data plane threads (lcores) are set with the **CPU allocation** setting of the cloudSwXtch in wXcked Eye: **Automatic** (the default: the cloudSwXtch chooses the CPUs) or **Manual**. The cloudSwXtch writes the result to `/var/opt/swx/swxtch/lcores_config.json` every time it starts. Editing `lcores_config.json` by hand no longer works: the cloudSwXtch overwrites the file the next time it starts, and the change is lost. The CPU allocation itself is stored in an internal file: change it from wXcked Eye, not by editing files. There is no swx-cli command for it. To check which CPUs the cloudSwXtch is using, run this command on the cloudSwXtch VM: ```shell sudo cat /var/opt/swx/swxtch/lcores_config.json ``` Example output: ```json { "lcores": "2,4,6" } ``` > [!NOTE] > **xNIC Type 3** > > The CPU allocation of the cloudSwXtch is not the same as the CPU placement of an xNIC Type 3, which has its own installer arguments and its own editor in wXcked Eye: see [xNIC Type 3 CPU Placement](../../cloudswxtch/installing-xnic/install-xnic-on-linux/xnic-type3-cpu-placement.md).