In: Electrical Engineering
If you upgrade to a 30% faster processor, will your application run 30% faster? Explain your answer.
An execution of the program depends on the following
factors:
- CPU utilization.
- I/O bound - Disk reading.
- Overhead due to many function calls. There are many times when
the programs use calling functions and recursive functions.
- The complexity of the machine language used in the program. C
language executes quicker compared to complex languages like
Python.
- Ability to Parallel Program and synchronization.
- Widespread disk layout
- Quick troubleshooting.
While a system's speed varies with its clock rate, memory
attributes, cores of the processor, Ram Size and etc.
So, with an increase in the speed of the processor by 30%, there is
an increase but not exactly 30%.
This is because the cores of the processor and other memory
attributes remain the same.
To explain this in simpler terms, let us take a bus traveling
from points A to B in 100 seconds.
Let's assume this happens when the bus travels at 30m/s.
Now, if the speed is increased to 39 m/s, the rate at which the
people will be improved but other crucial factors like the capacity
of the bus, various places at which it has to stop and fatigue on
the engine etc remain the same.