Raspberry Pi optimizations