How to debug throughput issues?