# Fixing High CPU Usage / Setting Custom CPU Cores

In this guide we outline how to fix the **High CPU Usage** and set **Custom CPU Core**s on your virtualized macOS VM using our updated method for Proxmox.

#### <span style="color: rgb(241, 196, 15);">Important Information:</span>

<span style="color: rgb(241, 196, 15);"> macOS only accepts CPU cores in \*\*powers of 2\*\*:</span>

<span style="color: rgb(241, 196, 15);">1, 2, 4, 8, 16, 32, 64, ...</span>

We provide a workaround to use non-power-of-two core counts. This may or may not work for your system. If you encounter issues, simply revert the changes and ensure to take a backup!!

1. Editing your VM Configuration:

Open your VM Configuration file replacing \[VMID\] with your VM ID

```
sudo nano /etc/pve/qemu-server/[VMID].conf
```

#### Intel: Supported Core Configurations

<span style="color: rgb(45, 194, 107);">Native (No Args Needed) These core counts work natively in macOS:</span>  
<span style="color: rgb(45, 194, 107);">\*\*2 cores\*\*</span>  
<span style="color: rgb(45, 194, 107);">\*\*4 cores\*\*</span>  
<span style="color: rgb(45, 194, 107);">\*\*8 cores\*\*</span>  
<span style="color: rgb(45, 194, 107);">\*\*16 cores\*\*</span>  
<span style="color: rgb(45, 194, 107);">**32 cores**</span>

Intel: 48 Core Examples

Two working options:

```bash
-smp 48,cores=2,sockets=24,threads=1,maxcpus=48
```

```bash
-smp 48,cores=2,sockets=12,threads=2,maxcpus=48
```

#### AMD CPUs

For AMD users, replace your current `-cpu` argument with:

```bash
args: <default-arg> -cpu host
```

Then simply set the desired number of CPU cores in \*\*Proxmox → Hardware → CPU\*\*.

If you need any further assistance please do not hesitate to [contact us](https://hsve.cc/contact)