RAM vs Cores

hamzeh31

Honorable
Mar 20, 2013
6
0
10,510
is it applicable to have 20GB of RAM for 16 CPU cores, is it logic that each core will have a 1.25GB ?
what is the best practise for RAM vs CPU core ?
 
Solution


Nope. As I said before it will use as little or as much as it need.

hamzeh31

Honorable
Mar 20, 2013
6
0
10,510
no, i mean any application on general, my Question when you assign 20GB of RAM for 16 Cores , logic says that each core will have a 1.25GB, does the CPU architecture accepts Fractures and fractions ??? (.25) , or it will not use it and will use only the 1 GB ?
 


Having replied to your other thread, I am copying my answer here and asking the mods to close the other one.

"First, what platform is it you pretend to have 16 cores in? Is it a server platform?

Secondly, the OS will handle all memory calls, so the 20GB will be shared on-demand by all the CPU cores. If you are running an usual OS enviroment, the OS will assign processes to threads belonging to each physical core as these processes come up. Each process will demand a certain amount of memory, that will be addressed by the OS. The 20GB will be shared as needed, not assinged to each CPU core. RAM is not divided by the CPU cores, it is shared.

If you are running a virtualization server, on the other hand, then each virtual machine may be assigned to a specific core using a set amount of memory. In that case, you will have to tailor the system to the memory footprint of the processes you want to run. Since virtualization servers are purpose-built machines, there is no general memory/core ratio, you have to understand the demand for your processes."
 
It seems you are not very clear on how memory is handled in a x86 enviroment. Memory is a big pool that is called upon by the OS. Any processes may request memory operations, that will be handled by the OS. How many cores the CPU has makes zero difference on how much memory you need.

You need as much memory as the programs you run demand. For usual Windows users, including gaming, 8GB is really enough. 16GB is hardly justifiable and anything above that is pretty much useless.
 

hamzeh31

Honorable
Mar 20, 2013
6
0
10,510
it is a virtual enviroment and its a server requirements, but i thought that each process or core physical or virtual will allocate integer ammount of RAM, like 1 GB or 2 GB ..., etc.
 

rgd1101

Don't
Moderator


Nope. As I said before it will use as little or as much as it need.
 
Solution

TRENDING THREADS