attempts to improve performance on raspberrypi