8

I'm running Windows 7 x64 RTM on a Dell Latitude D520 w/ 4gb memory. The system control panel reports:

System type: 64-bit Operating System
Installed memory: 4.00 GB (3.24 usable)

Why isn't all the memory usable? Since I'm running 64-bit, is this a dell limitation?


Edit:

It's given me more questions:

  1. If the system reports that I can use 3.24GB, does that mean that 760MB is being used by the video card? That seems like a lot, and the specs on this page state it will use up to 128MB)
  2. If 760MB isn't being used by video, is it being wasted?
  3. Does running 64-bit windows help me at all? If not, are there other advantages to 64-bit windows?

5 Answers5

9

There are 2 probable reasons for this.

  • You need to turn on Memory Remapping in your BIOS
  • Your video card may be sharing internal memory.

It is usually the latter that is the case. This was one of the planned features of Windows 7, you can read up on it here.

5

Either you do what Post#1 suggests, or your motherboard simply doesn't support the memory address mapping, which means: No 4GB for you with this hardware.

Waaahsabi
  • 111
0

It may be a windows limitation, too. However there aren't usually on pre-release version IIRC.

wazoox
  • 1,283
0

I have a D520, and I see about the same amount of loss. I'm running Linux with a kernel that has PAE enabled. I'd always assumed that the missing memory was being used for the onboard video chipset.

Jim Hunziker
  • 1,233
0

It's a limitation of your chipset/video card/device driver. Windows(or in some cases, BIOS) maps memory to the video card to use cause it doesn't have its own memory. Windows can't just use it whenever it wants cause, it would be a violation of sound principles. Microsoft had thought about mapping and remapping that memory above the 4GB line based on usage. The problem thought was this would cause HUGE instability on consumer systems. Notice that Windows Server does NOT suffer from the 4GB limit, even on x86 machines...

http://msdn.microsoft.com/en-us/library/aa366778(v=vs.85).aspx#physical_memory_limits_windows_server_2003

The reason was, again, device drivers. The server market tends to have a smaller market of device driver and DD developers, thus it was possible to test and support larger address spaces. On the consumer side, this is a nightmare. Technically, XP SP2 and above x86 OSes CAN use memory address over 4GB. Not all device drivers though supported that, since going over 4GB meant your pointers are longer. Thus DDs would often spit out an error and thus cause blue screen or not even boot.

Another consequence of remapping the video memory is that the video card is latency sensitive. Remapping the memory back to the card involves the following:

  1. Moving whatever was there to the page file. . . (spin spin)
  2. Writing in the OS memory map database where you put the file
  3. If it needs contagious memory . . . repeat 1 and 2
  4. The video card then has to wait for the memory to be allocated. (twiddle thumbs)
  5. Loading up textures for the video card. (spin spin)
  6. Writing in the memory map database where you put the textures
  7. Then constantly poll the graphics card, "Are you done yet? Are you done yet?? Yeah! Yeah!? Cause Johnny boy in the taskbar REALLY REALLY needs to go BAD!!"
  8. The graphics card then decides, based on some algorithm, what it should and should not keep.
  9. Then tell the OS what part of the memory it is not using.
  10. All this in time to give you 60 frames a second (well not technically, but you see the point)

This will also affect all the other drivers that the OS manages that are latency sensitive ie audio driver (skip skip) and network drivers (Hey, how did that guy teleport through the door!?)

How can you solve this? By promoting a higher quality of device driver developers. They are HIGHLY underrated and unappreciated. Ideas include sending your local DD developers care packages, Lego Robotics kits, big monitors, and of course, women.

surfasb
  • 22,896