Se afișează postările cu eticheta RAM. Afișați toate postările
Se afișează postările cu eticheta RAM. Afișați toate postările

duminică, 8 mai 2011

RAM: frequency, timmings and density

Lets say we go to the nearest hardware shop and look for some new memory chips.

So we find one, and at specifications we see:

2GB DDR3 1333 Mhz, 9-9-9-27 1.5v

and we are like "what on earth do those number mean?"

Ok let's take it one at a time

the 2 GB, as you probably already know is the density of the chip. That means the said chip can host up to 2048 Megabytes of information, or 2 Gigabytes. this the primary thing we should be looking at when we want new memory chips. The bigger they are, the more info they can store, the more info they store, the more demanding programs we can run.

DDR3 is an abbreviation for double data rate type three. Why type three? well it has to do with the 1333 Mhz you see next to it.
the 3 next to DDR is a frequency multiplier. DDR1 is the basic milestope for frequency.
lets say a DDR1 chip has 400 Mhz frequency. a DDR2 with the same frequency will be considered at 800, and DDR3 and 1200.
the actual frequency of your chip is 444.

the thing to keep in mind is
The higher the frequency, the faster your data transfer is.

9-9-9-27

These are the 4 timing(or latency) numbers.
We won't go into more details here, as the meaning of each number isn't really relevant.
Point is..

The lower the latency numbers, the faster the data transfer is.

1.5v
This is the maximum voltage at which your chips will work properly


.

How do memory and prosessor work

Your computer uses the memory to storage temporary data that is used by different programs running in the background or on your main screen. It does so, because the CPU (central processing unit) can never run more than 1 program at any given time (unless of course, you have more than 1 CPU, but the point remains) and there are like 100 different services running in the background even on an idle computer.
So, in this case, the CPU executes one or two instructions for one service, than dumps down all the info for said service in the memory, where it stays cozy till the CPU has the chance to go back to it.

here is an example.
let's say the CPU (with 1 core for the sake of argument) has to run these 2 programs in the same time.
Both programs are a series of mathematical calculations:
A) (3+4+8)*7/8 - 45
B) 5*3/6/*3*4*6

so, the CPU goes to to program A and execute the first instruction. that is 3+4 (=7)
now it copy's the state of A in the RAM. now A looks like this:
(7+8)*7/8 - 45

then the CPU goes to B and execute the first instruction
15/6*3*4*6

then it copy's it in the RAM and goes back to A, and executes the next instruction.
15*7/8 -45
then copy's it again the RAM(in the place where it used to be) and goes back to B and so on and so on till the both programs are finished.

when the information from A and B are no longer needed, the results are erased, the memory is freed, and ready to take on another block on information.

Windows services, however, are looping. They never end, because if they do, your OS will stop working. So the CPU always does something, probably over and over and over again, just to keep the OS going.
Most processors now have several cores or CPUs, which makes then great for multi tasking.