- Aug 28, 2010
- 1,551
- 204
- 106
Suppose a 64-bit OS.
Suppose a 32-bit application.
Suppose a videocard with 2GB of vram.
Suppose Windows 7.
The application is 32-bit. So the process has a range of virtual memory of maximum 4 GB.
I've read that the vram is mapped into the process's general virtual memory space. As far as I can understand this means that this will reduce the amount of address space available for the process. Basically the virtual memory available for the process will be: 4GB - amount of mapped vram - some more space reserved by the OS for other mappings.
Am I correct so far ?
The question is, how much vram will be mapped into virtual memory ? All 2GB ? Or only part of the 2GB ? Does this depend on the situation ? If so, how ?
I can't believe all vram will be mapped into virtual memory space. Almost all games these days are still 32-bit applications. That means that if you have a 2GB videocard, then you lose half your virtual address space ! Also, if communication between CPU and GPU is really only via memory mapping, then when you use SLI/CF, you lose double (or triple, quadrupple) that amount of virtual memory space. If vram is always fully mapped into virtual memory, then running 2x gtx680 (2x2GB) or 4x gtx560ti (4x1GB) would allow zero virtual memory for the application ?!?
Please enlighten me. TIA.
Suppose a 32-bit application.
Suppose a videocard with 2GB of vram.
Suppose Windows 7.
The application is 32-bit. So the process has a range of virtual memory of maximum 4 GB.
I've read that the vram is mapped into the process's general virtual memory space. As far as I can understand this means that this will reduce the amount of address space available for the process. Basically the virtual memory available for the process will be: 4GB - amount of mapped vram - some more space reserved by the OS for other mappings.
Am I correct so far ?
The question is, how much vram will be mapped into virtual memory ? All 2GB ? Or only part of the 2GB ? Does this depend on the situation ? If so, how ?
I can't believe all vram will be mapped into virtual memory space. Almost all games these days are still 32-bit applications. That means that if you have a 2GB videocard, then you lose half your virtual address space ! Also, if communication between CPU and GPU is really only via memory mapping, then when you use SLI/CF, you lose double (or triple, quadrupple) that amount of virtual memory space. If vram is always fully mapped into virtual memory, then running 2x gtx680 (2x2GB) or 4x gtx560ti (4x1GB) would allow zero virtual memory for the application ?!?
Please enlighten me. TIA.
Last edited: