Disparity between bus throughput and CPU throughput and their effect on sequential and parallel computing

StackOverflow https://stackoverflow.com/questions/20339151

Pergunta

What is the disparity between bus throughput and CPU throughput? How does this adversely impact sequential computing? How does this adversely impact parallel computing?

Foi útil?

Solução

If your CPU can access its cache in 1 nS steps, but your memory takes 60 nS to deliver a random memory word, at some point your processor is going to read memory at 60x slow rate than the cache. If you are processing a lot of data, you may see a tremendous slow down, even for sequential programs.

If you have multiple CPUs, they will collectively have a higher bandwidth demand on the bus. Imagine a serial-access bus with 64 CPUs all trying to read from it: only one succeeds at any one moment. The consequence is it is hard to get parallelism of 64 in such a system, unless each processor stays entirely within its cache.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top