Complex sentence: During the context switches, the processor is virtually idle for a fraction of time, thus unnecessary context switches should be avoided.
Split into simpler sentences: During the context switches, the processor is idle for a fraction of time. Hence, unnecessary context switches should be avoided.