The following page should help you to design an Optimum Pipeline. This
does not mean that it will do all the work for you. Be aware of the fact
that having a result created by this page does not mean that it is right.
The steps according to the book are :

Step 1 : Find the optimal number of stages Sopt.
Step 2 : Find the performance G for cycle times ranging from T/Sopt to
2T/Sopt.
Step 3 : Find the minimal number of stages with maximal performance.