Fiker L.

asked • 06/25/21

Speedup with multicore processing

A computer with a 32-bit 3.5 gigahertz scalar non-pipelined CPU needs to invert the colors of a 150 KB bitmap image file located in the RAM. To do this, each bit of the image must be complemented (0s are converted to 1s and vice-versa).

Assume every instruction undergoes the following stages and each stage uses one CPU clock cycle:

  1. Fetch
  2. Decode
  3. Read from memory
  4. Execute
  5. Write to memory

Instructions:

For this assignment, you must calculate how much time the computer will need to invert the image with a single-core and a dual core CPU.


1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.