If you were given a system with performance issues, what steps would you take to diagnose the problem?