The general path involves adding some locks around critical sections, then benchmarking until those locks bubble up, then reducing the number of locks, then repeating until your server has very little lock contention.
The process is pretty straightforward, but as you walk down the path, you end up with something that looks a bit different from where you started.