Sign in with
Sign up | Sign in
Your question
Solved

Do you know how data is stored in multiple RAM?

Last response: in Components
Share
May 15, 2012 12:09:46 PM

(I dont really know what category I should put this)

My question is how are data stored/written on a computer with multiple RAM? Like a computer setup with 2 or more RAM stick installed.
Does the Operating System store all data on the first ram until it's full and then move on to the second ram?
May 15, 2012 12:59:10 PM

RAM= Random Access Memory
Your current tasks, programs opened are stored in this memory. Think of it as short term memory
When you system wants to save data or files it saves it to your hard drive. Long term memory.
More ram is better because you can have more programs opened..more short term memory
m
0
l
Related resources
May 15, 2012 1:02:18 PM

darkstar845 said:
Does the Operating System store all data on the first ram until it's full and then move on to the second ram?
No, it does not work that way.
m
0
l

Best solution

May 15, 2012 1:34:42 PM

Actually every program's address space (data and instructions) is split in 4Kb pages (windows and linux). These pages can be anywhere in RAM or even in swap file on the HDD (for minimized/background applications). This includes the HDD cache, although it's exclusively in RAM. So 8KB that an app uses, it's almost impossible to be consecutive in real RAM.

As for how is RAM used, I can say that if you have dual channel, then the sticks are used in paralel (the 4KB pages I mentioned, 2KB in one stick, the other 2KB in the 2nd stick). So instead of reading 4KB from one stick (single channel), you read 2KB from 2 sticks at the same time (almost doubling the speed).

How it's "populated" itself (like 2 single-channel or 4 dual-channel), I have not really checked, but after a few minutes, I'm sure there is almost no single area untouched. Anyway, the paging system is very flexible.
Share
May 16, 2012 5:08:52 AM

Best answer selected by darkstar845.
m
0
l
!