virtual-address-space

Virtual address space in 64 bit systems running in compatibility mode.

I saw that on a 64 bit windows OS the user virtual address space available is 8 terra bytes. But if the program we are executing on this is running in 32 bit compatibility mode is this much of user space still available ? or does it behave like a normal 32 bit OS and gives only 2GB user address space? ...

How can I programmatically determine the maximum user-mode space of the (windows) OS ?

I'm writing a diagnostic app which needs to log what the user has set as his user-mode space a.k.a. user-mode virtual address space a.k.a. the /3GB switch in WinXP or the increaseuserva switch in bcdedit on Vista/Win7. Either of C++ or C++/CLI will do. Any ideas ? ...

Why does a 32-bit OS support 4 GB of RAM?

Just reading some notes in a purdue lecture about OSs, and it says: A program sees memory as an array of bytes that goes from address 0 to 2^32-1 (0 to 4GB-1) Why 4 GB? ...

How does memory protection in SASOS works?

I'd like to know how it works - whether it checks if process can read/write/execute memory on every access, or it does it only once? But when it does it only once, and all processes are in a single address space, how are these other hostile processes are prevented from accessing memory from not their's areas? How is it solved in Mungi OS...

Pure segmentation

I'm a bit confused about pure segmentation due to in my head always existed the idea of virtual memory. But as I understand pure segmentation is also imagining a virtual address space, divided in segments that are ALL loaded in RAM. The difference with virtual memory with segmentation, is that possibly there's some segment that it's no...

How are same virtual address for different processes mapped to different physical addresses

I have taken a course about Operating System design and concept and now I am trying to study Linux kernel thoroughly. I have a question that I cannot get rid of. In modern operating systems each process has own virtual address space(VAS) (eg, 0 to 2^32-1 in 32-bit systems). This provides many advantages. But in the implementation I am co...

How can virtual address space mapping be acceptable from a performance point of view?

This question is aimed at any OS using a VAS model, but I'm going to specify windows nt, since that's the system I know best. As we all know, by default, processes on 32 bit windows get 2 GB of memory all by itself. This memory can be located in system memory, a swap file, an usb drive etc. This means that several processes can have al...