# Optimization

##### Disable Desktop Booting

`raspi-config` &gt; 1 System Options &gt; S5 Boot / Auto Login

##### Limit GPU Memeory to 16B

 `raspi-config` &gt; 4 Performance Options &gt; P2 GPU Memory

##### Disable HDMI

Edit `/etc/rc.local`

```
/usr/bin/tvservice -o
exit 0
```

##### Disable Bluetooth

```bash
sudo systemctl disable hciuart
systemctl disable bluetooth.service
```

Edit `/boot/config.txt`

```
dtoverlay=disable-bt
```

##### Disable Onboard LED

Edit `/boot/config.txt`

```
dtparam=pwr_led_trigger=none
dtparam=pwr_led_activelow=off

dtparam=act_led_trigger=none
dtparam=act_led_activelow=off
```