You want to shift before the rev limiter kicks in.