Showing posts with label cpu speed meaning. Show all posts
Showing posts with label cpu speed meaning. Show all posts

Friday, March 22, 2013

What exactly it means when we say i have 2.5 GHz cpu

One day i thought what is exactly means when we say i have 2.5 GHz cpu in my system.

I was very confused some says its the speed how fast your computer can executes your program, but computer executes every thing in cycles. After some google i found the answer.

We know speed of light

299 792 458 meters / second  
1 meter = 100 centimeter
1 nanosecond  = 1/1000000000 seconds 

distance traveled by light in one nanosecond would be around
29.9 792 458 cm

2.5 GHz = 2.5 billion cycles per second
i.e 2.5 billion equals to 2500000000 cycles per second

when we talk in nano seconds it comes 2.5 cycles in 1 nano seconds



1 nano  = 29.9 792 458 cm in term of light
1 nano  = 2.5 cpu cycles

when we compare cpu cycle with distance traveled by light

1 cycle  =  29.972458/2.5 = 11.9889832 cm 

so cpu completes one cycle when the light travels only 11.9889832 cm
 
Imagine......:-)