Even if the valves were not opening (bridge ported with 6 port end housings?) you should still be able to pull well beyond 5000rpm in any gear.

Your description of the problem screams a lack of...