Performance tuning and network optimisation