Explain how each of the following contributes to the overall performance of a computer system and mentioned how it is done.

(a) System optimisation
(b) Component optimisation