Can a 32-bit OS machine use up all 8GB RAM + 20GB page file?
1–10 of 64 posts
Re: Can a 32-bit OS machine use up all 8GB RAM + 20GB page file?
#2Also, swapping memory in and out of the address space is a rather costly operation. And it becomes infeasible if the process's working set grows larger than the available address space [thrashing].
Re: Can a 32-bit OS machine use up all 8GB RAM + 20GB page file?
#3Re: Can a 32-bit OS machine use up all 8GB RAM + 20GB page file?
#4Which myth exactly? Also, swapping memory in and out of the address space is a rather costly operation. And it becomes infeasible if the process's working set grows larger than the available address space [thrashing].
Re: Can a 32-bit OS machine use up all 8GB RAM + 20GB page file?
#5Re: Can a 32-bit OS machine use up all 8GB RAM + 20GB page file?
#6As I understand it, this mode gains performance by sticking with 32bit pointers in user-space instead of 64bit pointers, while still allowing for taking advantage of all the new registers etc available in x86-64 ("amd64") CPUs. (Many programs doesn't really need more than 4gb virtual address space, and so using full 64bit pointers can cause quite the overhead - imagine doubly-linked lists with small data structures, for example)
Re: Can a 32-bit OS machine use up all 8GB RAM + 20GB page file?
#7Re: Can a 32-bit OS machine use up all 8GB RAM + 20GB page file?
#8There is also a very recently developed middle ground, the Linux "x32" ABI, since Linux v3.4: http://en.wikipedia.org/wiki/X32_ABI As I understand it, this mode gains performance by sticking with 32bit pointers in user-space instead of 64bit pointers, while still allowing for taking advantage of all the new registers etc available in x86-64 ("amd64") CPUs. (Many programs doesn't really need more than 4gb virtual addr…
But it's also yet another architecture. It's not binary compatible with either i686 or x86_64. You need your whole userspace compiled to use it. Middleware with embedded assembly (there's a surprising amount of this in glibc, and of course things like ffmpeg, libjpeg, etc...) needs to be ported. You can't run 32 bit binaries from proprietary sources.
And frankly the benefit over straight x86_64 is quite modest. I don't see x32 taking off. It's just not worth the hassle.