# New SDK performance mode

Source: https://forum.modalai.com/topic/3126/new-sdk-performance-mode
Category: VOXL SDK and Software (https://forum.modalai.com/category/47/voxl-sdk-and-software)
Tags: voxl-sdk
Posted: 2024-02-16 18:58:02 UTC by Jeffrey Mao
Replies: 6 · Views: 2029

## Jeffrey Mao · 2024-02-16 18:58:02 UTC

Hi Modalai,

For the new sdk 1.1.1 if we want to set the voxl2 to performance mode do we follow the same instruction here 

https://docs.modalai.com/thermal-and-performance/

It seems that when we cat we have a diffferent string and trying to use the command to pipe the string performance does nothing 

Thanks

## Reply by mrunaljsarvaiya · 2024-02-16 19:25:27 UTC

Adding more information (I work with Jeffrey), we get an error
```
[ Error writing lock file /sys/devices/system/cpu/cpu0/cpufreq/.scaling_governor.swp: Permission denied ]
``` 
I can't seem to delete the .swp file either. 

Thanks!

## Reply by Moderator (ModalAI staff) · 2024-02-18 17:28:17 UTC (in reply to mrunaljsarvaiya)

@mrunaljsarvaiya are you using VOXL 1 or VOXL 2? You're pointing to the VOXL 1 user guide. 

It may not be well documented, but voxl-cpu-monitor can set the scaling mode in its config file

## Reply by Jeffrey Mao · 2024-02-20 14:54:56 UTC (in reply to Moderator)

@Moderator Hi We are using Voxl2.

Do you have any documentation for voxl-cpu-monitor or where it is for Voxl2 any starting point would be helpful

## Reply by tom (ModalAI staff) · 2024-02-20 19:13:16 UTC (in reply to Jeffrey Mao)

@Jeffrey-Mao I would first run `voxl-configure-cpu-monitor factory_enable` to enable the service with default settings.

Then, you can modify the config file at `/etc/modalai/voxl-cpu-monitor.conf` and change `normal_cpu_mode` to `performance`

## Reply by tom (ModalAI staff) · 2024-02-20 19:13:50 UTC (in reply to tom)

@tom The conf file also has some comments that describe other possible config options

## Reply by Jeffrey Mao · 2024-02-21 18:58:15 UTC

Thanks it works like a charm now for the help
