What is the point of single address space?

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
sandras
Member
Member
Posts: 146
Joined: Thu Nov 03, 2011 9:30 am

Re: What is the point of single address space?

Post by sandras »

I would like to add, that in case of huge memory allocations, there may arise a scenario where you have to over commit memory. This is where you assume that there will be plenty of processes that do not use all the memory they asked for and allocate, for all of them collectively, more than there is physically present on the machine. The problem is that you do not know who to kill when many processes write to memory, that is rightfully in their possession, and collectively use it all out.

This analogy illustrates well why I think over committing is a ridiculously bad idea. My point here is that you can allocate for something that is not yet in the memory, but you should not allocate memory/swap, that isn't there at all.
Post Reply