64 bit and RAM

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
Birdseye
DBB DemiGod
DBB DemiGod
Posts: 3655
Joined: Thu Nov 05, 1998 12:01 pm
Location: Oakland, CA

64 bit and RAM

Post by Birdseye »

I always thought 64 bit meant we could address up to 128GB of ram in windows.

However, I just installed 64bit XP and System still has me at 3.12 GB just like XP. WTF?

anyone gots a clue? I wanted to bump to 8gb but what would be the point if i cant see all 4 now?


amazing you guys are still here, no idea who else i could ask
User avatar
Warlock
DBB 3D Artist
DBB 3D Artist
Posts: 3370
Joined: Wed May 12, 1999 2:01 am
Location: Midland, Tx, U.S.
Contact:

Post by Warlock »

thats odd im running XP64 here and it sees all 4gb.

how is your mem setup 4 1gb sticks or 2 2gb sticks?

U did a fresh install cause i know u cant upgrade from 32 to 64
User avatar
AceCombat
Owned by Timex
Owned by Timex
Posts: 6516
Joined: Sat Apr 12, 2003 2:01 am
Location: Oakwood, GA

Post by AceCombat »

im assuming you have 64-bit hardware?
User avatar
Admiral LSD
DBB Admiral
DBB Admiral
Posts: 1240
Joined: Sun Nov 18, 2001 3:01 am
Location: Northam, W.A., Australia
Contact:

Post by Admiral LSD »

What's your motherboard chipset? The Intel 945 (used in plenty of late model P4/early Core 2 desktops as well as an entire generation of Centrino laptops), in particular, has a fixed 4GB address space with no option to remap the MMIO space above the system RAM space meaning that, 64-bit OS or otherwise, you still wind up with the \"4GB issue\".
User avatar
Zantor
DBB Ace
DBB Ace
Posts: 453
Joined: Sat May 28, 2005 2:43 pm
Location: Midwest United States
Contact:

Post by Zantor »

A 64-bit OS and CPU can address up to 8GB of memory; 32-bit can address up to 4GB. Often support for those amounts aren't put in by motherboards, BIOS, or OSes because of the effort needed to support such an amount.

For example, this is why most 32-bit boards/chipsets supported up to 2GB of RAM most of the time. Also, until additions and modifications to memory paging and instruction sets were added, adding the 4th gigabyte took one gigabyte just to have the paging or addressing table to address the 4th gigabyte, so you end up with 3GB effectively. Improvements in memory paging and some instruction set modifications removed the need for that huge table.

64-bit can do effectively double what 32-bit can but more optimized, so in the maximum, 64-bit can support up to 8GB of RAM. Again, it depends on if the motherboard/chipset, BIOS, AND OS are programmed/configured to support that amount of memory. It is very likely that Win XP 64-bit does not support more than 4GB of RAM because of how it was programmed.
User avatar
Sirius
DBB Master
DBB Master
Posts: 5616
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA
Contact:

Post by Sirius »

I have a 64-bit OS and CPU with 12 GB of memory.

(The theoretical maximum addressable memory space for a 64-bit computer is 16 exabytes, but in practice most configurations support much less than this; the highest-end desktop versions of Windows 7 will support 192 GB, for instance.)
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16138
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Re:

Post by Krom »

Zantor wrote:A 64-bit OS and CPU can address up to 8GB of memory; 32-bit can address up to 4GB. Often support for those amounts aren't put in by motherboards, BIOS, or OSes because of the effort needed to support such an amount.

For example, this is why most 32-bit boards/chipsets supported up to 2GB of RAM most of the time. Also, until additions and modifications to memory paging and instruction sets were added, adding the 4th gigabyte took one gigabyte just to have the paging or addressing table to address the 4th gigabyte, so you end up with 3GB effectively. Improvements in memory paging and some instruction set modifications removed the need for that huge table.

64-bit can do effectively double what 32-bit can but more optimized, so in the maximum, 64-bit can support up to 8GB of RAM. Again, it depends on if the motherboard/chipset, BIOS, AND OS are programmed/configured to support that amount of memory. It is very likely that Win XP 64-bit does not support more than 4GB of RAM because of how it was programmed.
ROFL, I'm sorry Zanator but that is hilariously wrong. You don't seem to understand at all.

32 bits supports a maximum of 4 GB of address space. 33 bits would support 8 GB of address space, 34 bits would support 16 GB... see the pattern here? Each additional bit doubles the supported address space. So while 32 bit is limited to 2^32 (-1) address space (4,294,967,295 bytes) 64 bit is able to address 2^64 (-1) or 18,446,744,073,709,551,615 bytes or 16 exabytes. In case you don't get the scale of what 16 exabytes is, it is over 17 billion gigabytes.
User avatar
Zantor
DBB Ace
DBB Ace
Posts: 453
Joined: Sat May 28, 2005 2:43 pm
Location: Midwest United States
Contact:

Post by Zantor »

I am familiar with data measure scale up to yottabytes and zetabytes. Krom, you certainly do have a better understanding of how numbers relate with computing than I do, so thank you for the corrective insight. :)

If windows won't see more than 4GB, it wasn't programmed to support more than that. That's the only explanation I can come up with.
User avatar
Sirius
DBB Master
DBB Master
Posts: 5616
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA
Contact:

Post by Sirius »

The numbers I found for WinXP 64-bit said 128 GB or something around there. 4 GB is of course an inherent limitation of 32-bit, but it should really support more in the 64-bit version.
User avatar
Grendel
3d Pro Master
3d Pro Master
Posts: 4390
Joined: Mon Oct 28, 2002 3:01 am
Location: Corvallis OR, USA

Post by Grendel »

Enable \"Memory remapping for 64bit OS\" in the BIOS. Or, if that option isn't available, set \"PnP aware OS\" to \"Yes\". If that doesn't help, your hardware is too old.
ImageImage
User avatar
BUBBALOU
DBB Benefactor
DBB Benefactor
Posts: 4198
Joined: Tue Aug 24, 1999 2:01 am
Location: Dallas Texas USA
Contact:

Post by BUBBALOU »

Your totally restricted by the motherboards support for that amount of RAM and Addressing. Basically that is it in a Nutshell

I seem to have a better workout dodging your stupidity than attempting to grasp the weight of your intelligence.
User avatar
Warlock
DBB 3D Artist
DBB 3D Artist
Posts: 3370
Joined: Wed May 12, 1999 2:01 am
Location: Midland, Tx, U.S.
Contact:

Post by Warlock »

Most MB that support 64bit can run up to 16gb unless its for a server then its much much higher

My MB is 2yrs old almost 3 and its supports a max of 32gb like I'm ganna need that much lol

To me if he has 4 1gb sticks he could have a bad stick even the cmos sees all 4gb iv had it where the OS didn't. Run a mem tester just in case never hurts to try
Darktalyn1
DBB Admiral
DBB Admiral
Posts: 1699
Joined: Thu Mar 23, 2000 3:01 am

Post by Darktalyn1 »

You can definitely run up to 16gb on a 64bit machine because we have several computers at work with that much.

When I dual booted my home computer, the xp32 sees 3gb and vista64 sees 4gb. Not sure why yours isn't registering
User avatar
Canuck
DBB Admiral
DBB Admiral
Posts: 1345
Joined: Tue Jun 12, 2001 2:01 am

Re:

Post by Canuck »

Sirius wrote:The numbers I found for WinXP 64-bit said 128 GB or something around there. 4 GB is of course an inherent limitation of 32-bit, but it should really support more in the 64-bit version.
X 2 Ram = 128 GB XP64, also depends on MoBoard... mine can do 16 GB max. Others do more or less.
User avatar
Admiral LSD
DBB Admiral
DBB Admiral
Posts: 1240
Joined: Sun Nov 18, 2001 3:01 am
Location: Northam, W.A., Australia
Contact:

Post by Admiral LSD »

/me points to his earlier comment about the 945

I think we need a practical demonstration...

Image

On the left it says the machine has 4GB RAM installed but if you add the numbers in the Activity Monitor window up, they come to 3GB. Before you say \"LOL, Mac fail!\" let me elaborate. The 945, in both mobile and desktop trim, has a fixed 2^32 address space. It also doesn't support the 64 bit remapping feature meaning, in either 32 bit or 64 bit modes, you're still limited to 4GB of address space.

The reason Apple set the ceiling bang on 3GB is, I believe, so the non-Pros with integrated graphics wouldn't have more memory available than the Pros with dedicated graphics. A 128 or later, a 256MB dedicated GPU would push the usable memory ceiling down further than the Intel intregrated (which only use about 8MB or so at boot up).

It's not just Apple that fudge the numbers like this, either. While Vista32 originally showed the usable RAM, MS changed it somewhere along the line (SP1 I think) so it instead showed the installed amount with the actual usable amount kept largely hidden (It's listed in the sysinfo app but beyoond that, I don't know). 7, I believe, lists both the installed and usable amounts on the Computer properties sheet but puts the installed amount first. This may have been backported to Vista as well, I'm not sure.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16138
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Post by Krom »

On a side note, 64 bit CPUs and the like don't actually support 64 bits of memory address space, the limit on the Athlon 64's x86-64 implementation is actually 48 bits (256 TB).
User avatar
Jeff250
DBB Master
DBB Master
Posts: 6539
Joined: Sun Sep 05, 1999 2:01 am
Location: ❄️❄️❄️

Post by Jeff250 »

It's actually even more complicated than that.

On a typical Athlon 64 box:

Code: Select all

$ cat /proc/cpuinfo | grep 'address size'
address sizes	: 40 bits physical, 48 bits virtual
So even though each process has a 48 bit virtual address space, the kernel can only use 40 bits to address the physical memory. So no process can hope to fill its address space with unique pages to physical memory.

Compare this to PAE enabled 32-bit operating systems where your address sizes are 36 bits physical, 32 bits virtual, which is the opposite case of the above.
User avatar
Hostile
DBB Admiral
DBB Admiral
Posts: 1047
Joined: Thu Jun 17, 1999 2:01 am
Location: Dallas, TX USA
Contact:

Post by Hostile »

I like yogurt!
User avatar
AceCombat
Owned by Timex
Owned by Timex
Posts: 6516
Joined: Sat Apr 12, 2003 2:01 am
Location: Oakwood, GA

Post by AceCombat »

lol?
Birdseye
DBB DemiGod
DBB DemiGod
Posts: 3655
Joined: Thu Nov 05, 1998 12:01 pm
Location: Oakland, CA

Post by Birdseye »

haha

its amazing this drew so many replies i feel like this board should be dead. i no longer have a way to play to descent, i think now that i'm in 64 bit.

I have one instance of XP and tonight I installed VISTA 64 bit ultimate (its great). The Vista is reporting all 4GB, but the XP lists 3.2 still. Dunno, my 'pro' external sound card only has a 64 bit vista driver, so I am going to use vista and have the XP64 as a backup (has a few programs installed).

system-
q6600 overclocked (312) to 2.81 ghz w/ zalman fan on silent mode

4gb patriot memory ddr2
Asus P5W DH Deluxe
Birdseye
DBB DemiGod
DBB DemiGod
Posts: 3655
Joined: Thu Nov 05, 1998 12:01 pm
Location: Oakland, CA

Post by Birdseye »

Next question:

I have the 4GB going, what if I added 2 4GB DIMMs in the primary slots and moved my 2 2gb DIMMs to the secondary slots? This would give me 12GB, I just want to be sue that will run well. Would going all the way with 4 4GB really be that much more faster or stable? Going with two 4gb is only like $250 and then I'd really be taking advantage of the RAM advantage in 64 bit at low cost.
User avatar
Admiral LSD
DBB Admiral
DBB Admiral
Posts: 1240
Joined: Sun Nov 18, 2001 3:01 am
Location: Northam, W.A., Australia
Contact:

Post by Admiral LSD »

That board is based on the 975X chipset which shouldn't have the 4GB shenanigans the 945 does. It only supports 8GB RAM though so you're only option if you want more RAM is another pair of 2GB DIMMs. If you're running BIOS 1506 or later check under Advanced -> Chip Configuration to see if the Memory Remap Feature is enabled.
User avatar
Sirius
DBB Master
DBB Master
Posts: 5616
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA
Contact:

Post by Sirius »

Might be difficult to run the original Descent binaries, but XL and Rebirth still run on 64-bit (speaking from experience, in fact).
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16138
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Post by Krom »

Yeah, Rebirth even runs in Windows 7 RC 64 bit. As far as I know Descent 3 works too.
User avatar
Foil
DBB Material Defender
DBB Material Defender
Posts: 4900
Joined: Tue Nov 23, 2004 3:31 pm
Location: Denver, Colorado, USA
Contact:

Post by Foil »

Yep, Descent3, DxX-Rebirth, and D2X-XL all work fine on my Vista x64 machine.
User avatar
AlphaDoG
DBB Admiral
DBB Admiral
Posts: 1345
Joined: Sun Dec 25, 2005 10:35 am
Location: Mt. Vernon Illinois

Re:

Post by AlphaDoG »

Zxerol in Prepare for Descent thread on Penny Arcade wrote:Although Descent 3 is not open-source, it works as-is all the way up to mother****ing Windows 7 x64. Yeah, I just ran it ten minutes ago. It works and I'm awesome and you all can suck it. Game was so ahead of its time it runs on operating systems FROM THE FUTURE.
It's never good to wake up in the shrubs naked, you either got way too drunk, or your azz is a werewolf.

Image
User avatar
BUBBALOU
DBB Benefactor
DBB Benefactor
Posts: 4198
Joined: Tue Aug 24, 1999 2:01 am
Location: Dallas Texas USA
Contact:

Re:

Post by BUBBALOU »

AlphaDoG wrote:
Zxerol in Prepare for Descent thread on Penny Arcade wrote:Although Descent 3 is not open-source, it works as-is all the way up to mother****ing Windows 7 x64. Yeah, I just ran it ten minutes ago. It works and I'm awesome and you all can suck it. Game was so ahead of its time it runs on operating systems FROM THE FUTURE.
Great intro an review..

I seem to have a better workout dodging your stupidity than attempting to grasp the weight of your intelligence.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16138
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Post by Krom »

Windows program works in Windows... A shocking revelation! :P
Birdseye
DBB DemiGod
DBB DemiGod
Posts: 3655
Joined: Thu Nov 05, 1998 12:01 pm
Location: Oakland, CA

Post by Birdseye »

I think the main problem is I can't run the mouse at 200Hz, i don't know if that is totally true.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16138
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Post by Krom »

Modern USB mice can sample at up to 1000 Hz, although it would be different from what you are used to no doubt.
Post Reply