Question about 64-bit system.

This topic is locked from further discussion.

Avatar image for mic81784
mic81784

53

Forum Posts

0

Wiki Points

0

Followers

Reviews: 1

User Lists: 0

#1 mic81784
Member since 2005 • 53 Posts

I just installed a 64-bit Windows 7. I am installing Civ 5 now. Since I didnt have an option I'm assuming it installed the 32-bit version. My question is will the game utilize all of my RAM?( 4 gigs, and 1gig graphics card) Or because the application is 32-bit it wont?

Thanks

Avatar image for JimmyJumpy
JimmyJumpy

2554

Forum Posts

0

Wiki Points

0

Followers

Reviews: 15

User Lists: 0

#2 JimmyJumpy
Member since 2008 • 2554 Posts

I just installed a 64-bit Windows 7. I am installing Civ 5 now. Since I didnt have an option I'm assuming it installed the 32-bit version. My question is will the game utilize all of my RAM?( 4 gigs, and 1gig graphics card) Or because the application is 32-bit it wont?

Thanks

mic81784

Any game uses the RAM through the operating system, so, yes, the game has access to all of the RAM...

Avatar image for lowe0
lowe0

13692

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#3 lowe0
Member since 2004 • 13692 Posts
[QUOTE="JimmyJumpy"]

Any game uses the RAM through the operating system, so, yes, the game has access to all of the RAM...

Huh? No. The amount of RAM accessible to a 32-bit game on either 32-bit or 64-bit Windows is 2GB. If the executable is compiled large-address aware, it can access 4GB.
Avatar image for GummiRaccoon
GummiRaccoon

13799

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#4 GummiRaccoon
Member since 2003 • 13799 Posts

[QUOTE="JimmyJumpy"]

Any game uses the RAM through the operating system, so, yes, the game has access to all of the RAM...

lowe0

Huh? No. The amount of RAM accessible to a 32-bit game on either 32-bit or 64-bit Windows is 2GB. If the executable is compiled large-address aware, it can access 4GB.

(//_-)

Avatar image for mike4realz
mike4realz

2577

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#5 mike4realz
Member since 2003 • 2577 Posts
[QUOTE="lowe0"][QUOTE="JimmyJumpy"]

Any game uses the RAM through the operating system, so, yes, the game has access to all of the RAM...

Huh? No. The amount of RAM accessible to a 32-bit game on either 32-bit or 64-bit Windows is 2GB. If the executable is compiled large-address aware, it can access 4GB.

face palm
Avatar image for belliott1
belliott1

53

Forum Posts

0

Wiki Points

0

Followers

Reviews: 11

User Lists: 0

#6 belliott1
Member since 2011 • 53 Posts
Even Jesus facepalmed when he read this. Ok listen, the cap on a 32 bit OS is 4G of RAM. A 64 bit system raises that cap to 128G of RAM. In other words, a 32 bit system will be able to use up to 4G and a 64 bit up to 128G but a 64 bit OS generally needs at least 1G to run. Since even the crappiest computers nowadays have 2G of RAM that's not really an issue. But that's the main difference between a 64 bit OS and 32 bit OS. If you don't have at least 6GB of RAM I don't see any reason to use a 64 bit OS.
Avatar image for belliott1
belliott1

53

Forum Posts

0

Wiki Points

0

Followers

Reviews: 11

User Lists: 0

#7 belliott1
Member since 2011 • 53 Posts
Here, refer to this site to read up on it. http://support.microsoft.com/kb/946765 And I misspoke in my previous post, apparently the 64 bit OS can access over 128GB RAM although I'm not sure why they didn't just put down a solid number. It probably really is the cap but until I find something solid to say otherwise I'm accepting that as truth.
Avatar image for JimmyJumpy
JimmyJumpy

2554

Forum Posts

0

Wiki Points

0

Followers

Reviews: 15

User Lists: 0

#8 JimmyJumpy
Member since 2008 • 2554 Posts

[QUOTE="JimmyJumpy"]

Any game uses the RAM through the operating system, so, yes, the game has access to all of the RAM...

lowe0

Huh? No. The amount of RAM accessible to a 32-bit game on either 32-bit or 64-bit Windows is 2GB. If the executable is compiled large-address aware, it can access 4GB.

I think you're confusing the 2GB filesize limit on non NFTS formatted drives, with the use of RAM...

Avatar image for lowe0
lowe0

13692

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#9 lowe0
Member since 2004 • 13692 Posts
[QUOTE="JimmyJumpy"]

[QUOTE="lowe0"][QUOTE="JimmyJumpy"]

Any game uses the RAM through the operating system, so, yes, the game has access to all of the RAM...

Huh? No. The amount of RAM accessible to a 32-bit game on either 32-bit or 64-bit Windows is 2GB. If the executable is compiled large-address aware, it can access 4GB.

I think you're confusing the 2GB filesize limit on non NFTS formatted drives, with the use of RAM...

No, I'm not. Straight from Microsoft: http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx [quote="Microsoft"]The virtual address space of processes and applications is still limited to 2 GB unless the /3GB switch is used in the Boot.ini file. When the physical RAM in the system exceeds 16 GB and the /3GB switch is used, the operating system will ignore the additional RAM until the /3GB switch is removed. This is because of the increased size of the kernel required to support more Page Table Entries. The assumption is made that the administrator would rather not lose the /3GB functionality silently and automatically; therefore, this requires the administrator to explicitly change this setting. The /3GB switch allocates 3 GB of virtual address space to an application that uses IMAGE_FILE_LARGE_ADDRESS_AWARE in the process header. This switch allows applications to address 1 GB of additional virtual address space above 2 GB.

Here's another source, Raymond Chen, a developer at Microsoft: http://blogs.msdn.com/b/oldnewthing/archive/2005/06/01/423817.aspx [quote="Raymond Chen"] Probably the biggest advantage of 64-bit Windows is not the larger registers but rather the expansive 64-bit address space. Recall that even when the /3GB switch is set, 32-bit programs receive only 2GB of address space unless they indicate their willingness to cope with addresses above 2GB by passing the /LARGEADDRESSAWARE flag. This flag means the same thing on 64-bit Windows. But since 64-bit Windows has a much larger address space available to it, it can afford to give the 32-bit Windows program the entire 4GB of address space to use. This is mentioned almost incidentally in Knowledge Base article Q889654 in the table "Comparison of memory and CPU limits in the 32-bit and 64-bit versions of Windows". In other words, certain categories of 32-bit programs (namely, those tight on address space) benefit from running on 64-bit Windows machine, even though they aren't explicitly taking advantage of any 64-bit features.

Avatar image for freesafety13
freesafety13

823

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#10 freesafety13
Member since 2008 • 823 Posts
[QUOTE="JimmyJumpy"]

[QUOTE="lowe0"]Huh? No. The amount of RAM accessible to a 32-bit game on either 32-bit or 64-bit Windows is 2GB. If the executable is compiled large-address aware, it can access 4GB.lowe0

I think you're confusing the 2GB filesize limit on non NFTS formatted drives, with the use of RAM...

No, I'm not. Straight from Microsoft: http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx [quote="Microsoft"]The virtual address space of processes and applications is still limited to 2 GB unless the /3GB switch is used in the Boot.ini file. When the physical RAM in the system exceeds 16 GB and the /3GB switch is used, the operating system will ignore the additional RAM until the /3GB switch is removed. This is because of the increased size of the kernel required to support more Page Table Entries. The assumption is made that the administrator would rather not lose the /3GB functionality silently and automatically; therefore, this requires the administrator to explicitly change this setting. The /3GB switch allocates 3 GB of virtual address space to an application that uses IMAGE_FILE_LARGE_ADDRESS_AWARE in the process header. This switch allows applications to address 1 GB of additional virtual address space above 2 GB.

Here's another source, Raymond Chen, a developer at Microsoft: http://blogs.msdn.com/b/oldnewthing/archive/2005/06/01/423817.aspx [quote="Raymond Chen"] Probably the biggest advantage of 64-bit Windows is not the larger registers but rather the expansive 64-bit address space. Recall that even when the /3GB switch is set, 32-bit programs receive only 2GB of address space unless they indicate their willingness to cope with addresses above 2GB by passing the /LARGEADDRESSAWARE flag. This flag means the same thing on 64-bit Windows. But since 64-bit Windows has a much larger address space available to it, it can afford to give the 32-bit Windows program the entire 4GB of address space to use. This is mentioned almost incidentally in Knowledge Base article Q889654 in the table "Comparison of memory and CPU limits in the 32-bit and 64-bit versions of Windows". In other words, certain categories of 32-bit programs (namely, those tight on address space) benefit from running on 64-bit Windows machine, even though they aren't explicitly taking advantage of any 64-bit features.

Why didn't you include the first sentence from the statement you quoted, it would provide some clarity? [quote="Microsoft"][color=red]Windows XP Professional and Windows Server 2003 Memory Support. The maximum amount of memory that can be supported on Windows XP Professional and Windows Server 2003 is also 4 GB. However, Windows Server 2003, Enterprise Edition supports 32 GB of physical RAM and Windows Server 2003, Datacenter Edition supports 64 GB of physical RAM using the PAE feature.[/color] The virtual address space of processes and applications is still limited to 2 GB unless the /3GB switch is used in the Boot.ini file. When the physical RAM in the system exceeds 16 GB and the /3GB switch is used, the operating system will ignore the additional RAM until the /3GB switch is removed. This is because of the increased size of the kernel required to support more Page Table Entries. The assumption is made that the administrator would rather not lose the /3GB functionality silently and automatically; therefore, this requires the administrator to explicitly change this setting. The /3GB switch allocates 3 GB of virtual address space to an application that uses IMAGE_FILE_LARGE_ADDRESS_AWARE in the process header. This switch allows applications to address 1 GB of additional virtual address space above 2 GB. The virtual address space of processes and applications is still limited to 2 GB, unless the /3GB switch is used in the Boot.ini file. The following example shows how to add the /3GB parameter in the Boot.ini file to enable application memory tuning:

Not to mention the fact you are confusing physical memory with the virtual address space, ie the page file.
Avatar image for eBusiness
eBusiness

405

Forum Posts

0

Wiki Points

0

Followers

Reviews: 8

User Lists: 0

#11 eBusiness
Member since 2009 • 405 Posts

[QUOTE="JimmyJumpy"]

Any game uses the RAM through the operating system, so, yes, the game has access to all of the RAM...

lowe0

Huh? No. The amount of RAM accessible to a 32-bit game on either 32-bit or 64-bit Windows is 2GB. If the executable is compiled large-address aware, it can access 4GB.

Good info, I guess Civ V is large-address aware, any modern programming environment should by now be updated to be able to use this. (No source for this, but anything else would be silly.)

There is one other trick to mention, a 32-bit program can run multiple processes, each with their own memory pool of up to 2, 3 or 4 GB depending on system and compilation. It's not optimal, but swapping to a storage process is still way faster than swapping to disk.

As for 64-bit systems, the theoretical memory limit is 16 exibyte (=16 EiB = 16 777 216 TiB), though both software and hardware have their own arbitrary limits, but those limits are pretty easy to change, so we shouldn't see any major problems before we hit the 16 EiB limit.

Avatar image for lowe0
lowe0

13692

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#12 lowe0
Member since 2004 • 13692 Posts
Because the sentence you highlighted is the amount of memory the system can use, not the per-process limit. And no, virtual address space does not refer to the page file (though it is related - the OS decides which parts of the virtual address space are kept in physical memory and which are paged out to disk).
Avatar image for JimmyJumpy
JimmyJumpy

2554

Forum Posts

0

Wiki Points

0

Followers

Reviews: 15

User Lists: 0

#13 JimmyJumpy
Member since 2008 • 2554 Posts

Because the sentence you highlighted is the amount of memory the system can use, not the per-process limit. And no, virtual address space does not refer to the page file (though it is related - the OS decides which parts of the virtual address space are kept in physical memory and which are paged out to disk).lowe0

That's squealing like a devil in holy water, Lowe0... a 32-bits OS has the ability to use a max of 4GB of memory, including VRAM and swap space. Point. To date, 64-bits OSs are hardware limited to 192GB.

We were talking system RAM all the way. It's you who popped up saying "NOOO" and as an example used limitations set for programs, not for the system...

Avatar image for lowe0
lowe0

13692

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#14 lowe0
Member since 2004 • 13692 Posts

[QUOTE="lowe0"]Because the sentence you highlighted is the amount of memory the system can use, not the per-process limit. And no, virtual address space does not refer to the page file (though it is related - the OS decides which parts of the virtual address space are kept in physical memory and which are paged out to disk).JimmyJumpy

That's squealing like a devil in holy water, Lowe0... a 32-bits OS has the ability to use a max of 4GB of memory, including VRAM and swap space. Point. To date, 64-bits OSs are hardware limited to 192GB.

We were talking system RAM all the way. It's you who popped up saying "NOOO" and as an example used limitations set for programs, not for the system...

He asked what the game would use. Unless they've done something unusual architecturally, such as multiple processes with IPC, that's the per-process limit.
Avatar image for JimmyJumpy
JimmyJumpy

2554

Forum Posts

0

Wiki Points

0

Followers

Reviews: 15

User Lists: 0

#15 JimmyJumpy
Member since 2008 • 2554 Posts

[QUOTE="JimmyJumpy"]

[QUOTE="lowe0"]Because the sentence you highlighted is the amount of memory the system can use, not the per-process limit. And no, virtual address space does not refer to the page file (though it is related - the OS decides which parts of the virtual address space are kept in physical memory and which are paged out to disk).lowe0

That's squealing like a devil in holy water, Lowe0... a 32-bits OS has the ability to use a max of 4GB of memory, including VRAM and swap space. Point. To date, 64-bits OSs are hardware limited to 192GB.

We were talking system RAM all the way. It's you who popped up saying "NOOO" and as an example used limitations set for programs, not for the system...

He asked what the game would use. Unless they've done something unusual architecturally, such as multiple processes with IPC, that's the per-process limit.

The OP didn't ask what the game would use, he asked if the game would be able to us all of his RAM, which is a bit of a trick question, because, first of all, the game would never use all of the RAM, unless it has a leak. Secondly, yes, the game would be able to access all of the RAM, meaning that the game can choose which parts of the total RAM to access and not just which part of 4GB of RAM (should more than 4GB be installed).

Avatar image for markop2003
markop2003

29917

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#16 markop2003
Member since 2005 • 29917 Posts
First of all: Lowe is right.

Point. To date, 64-bits OSs are hardware limited to 192GB.

JimmyJumpy
Depends on the version. MS artificially limits the RAM on 64bit versions to anything between 2gb and 2tb. There's also exteneded adressing in some of the 32bit versions which give you support for more than 4gb. @TC: general rule is that if no 64bit version is offered you will not need 64bit features.
Avatar image for lowe0
lowe0

13692

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#17 lowe0
Member since 2004 • 13692 Posts

[QUOTE="lowe0"][QUOTE="JimmyJumpy"]

That's squealing like a devil in holy water, Lowe0... a 32-bits OS has the ability to use a max of 4GB of memory, including VRAM and swap space. Point. To date, 64-bits OSs are hardware limited to 192GB.

We were talking system RAM all the way. It's you who popped up saying "NOOO" and as an example used limitations set for programs, not for the system...

JimmyJumpy

He asked what the game would use. Unless they've done something unusual architecturally, such as multiple processes with IPC, that's the per-process limit.

The OP didn't ask what the game would use, he asked if the game would be able to us all of his RAM, which is a bit of a trick question, because, first of all, the game would never use all of the RAM, unless it has a leak. Secondly, yes, the game would be able to access all of the RAM, meaning that the game can choose which parts of the total RAM to access and not just which part of 4GB of RAM (should more than 4GB be installed).

No. That's the whole point of virtual memory access; the program neither knows nor cares where in physical memory its allocations lie.
Avatar image for JimmyJumpy
JimmyJumpy

2554

Forum Posts

0

Wiki Points

0

Followers

Reviews: 15

User Lists: 0

#18 JimmyJumpy
Member since 2008 • 2554 Posts

[QUOTE="JimmyJumpy"]

[QUOTE="lowe0"] He asked what the game would use. Unless they've done something unusual architecturally, such as multiple processes with IPC, that's the per-process limit.lowe0

The OP didn't ask what the game would use, he asked if the game would be able to us all of his RAM, which is a bit of a trick question, because, first of all, the game would never use all of the RAM, unless it has a leak. Secondly, yes, the game would be able to access all of the RAM, meaning that the game can choose which parts of the total RAM to access and not just which part of 4GB of RAM (should more than 4GB be installed).

No. That's the whole point of virtual memory access; the program neither knows nor cares where in physical memory its allocations lie.

Okay, I should have said it differently: the game will have access to any part of the amount of RAM installed, regardless of there being 4, 8, 16 or 32GB RAM installed.

If I were you, I'd better check once more about 32-bits operating systems and the max amount of RAM they can use, because it's 4GB... not 2. Now, since a topic has once more turned into a 'yes-no' discussion, I'm outta here. Ciao baby...

Avatar image for eBusiness
eBusiness

405

Forum Posts

0

Wiki Points

0

Followers

Reviews: 8

User Lists: 0

#19 eBusiness
Member since 2009 • 405 Posts

The OP didn't ask what the game would use, he asked if the game would be able to us all of his RAM, which is a bit of a trick question, because, first of all, the game would never use all of the RAM, unless it has a leak. Secondly, yes, the game would be able to access all of the RAM, meaning that the game can choose which parts of the total RAM to access and not just which part of 4GB of RAM (should more than 4GB be installed).JimmyJumpy

It would seem that you have no idea how memory allocation on a modern computer works. And no, I don't think OP meant to ask some trick question about the program not being able to use memory already in use by the system etc.

Avatar image for JimmyJumpy
JimmyJumpy

2554

Forum Posts

0

Wiki Points

0

Followers

Reviews: 15

User Lists: 0

#20 JimmyJumpy
Member since 2008 • 2554 Posts

[QUOTE="JimmyJumpy"]The OP didn't ask what the game would use, he asked if the game would be able to us all of his RAM, which is a bit of a trick question, because, first of all, the game would never use all of the RAM, unless it has a leak. Secondly, yes, the game would be able to access all of the RAM, meaning that the game can choose which parts of the total RAM to access and not just which part of 4GB of RAM (should more than 4GB be installed).eBusiness

It would seem that you have no idea how memory allocation on a modern computer works. And no, I don't think OP meant to ask some trick question about the program not being able to use memory already in use by the system etc.

With 'trick question', I meant that the question is redundant as there's no game that would use over 4GB of RAM... for the rest, I'd say to read all the comments instead of picking one where I explained myself wrong.

Avatar image for eBusiness
eBusiness

405

Forum Posts

0

Wiki Points

0

Followers

Reviews: 8

User Lists: 0

#21 eBusiness
Member since 2009 • 405 Posts

With 'trick question', I meant that the question is redundant as there's no game that would use over 4GB of RAM... for the rest, I'd say to read all the comments instead of picking one where I explained myself wrong.

JimmyJumpy

Just get over it, lowe0 provided a perfectly good explanation of the matter (though it might not have been completely clear on all points he has said nothing that isn't correct). It would seem that you are completely incapable of admitting that you were wrong, so you just try to off-track the thread by pointing out errors in other peoples posts. If you can't admit a mistake, at least have the dignity to just stop posting on the matter.