Benches macOS

3

Using Snow Leopard with 8GB of RAM

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hello,

I'm sure this is a rather "dumb" question, but I can't seem to find a satisfactory and "complete" answer.

I have a Macbook Pro with 8 GB of RAM and Snow Leopard. By default, OSX boots into 32 bit mode. I want to be sure that I'm still able to take full advantage of 8 GB of memory even though I'm in 32 bit mode.

I realize that booting into 64 bit mode will perhaps aid in overall system performance, but unfortunately there are a couple of issues that are preventing me from doing so (#1 being my AT&T USB modem doesn't seem to work in 64 bit mode).

So, can somebody confirm I'm not losing any benefits in regards to the 8 GB of RAM when using Snow Leopard in 32 bit?

Thanks in advance.

3 replies

Sign in or join Beachball Help to reply.

  1. 0

    Kappy

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The computer is capable of using the full 8 GBs of RAM provided the software is 64-bit. The hardware can use 4 GBs of RAM per core and your model has two cores.

    Using the 64-bit kernel is of limited value unless you have software that can take advantage of it. And, if you use the 64-bit kernel no 32-bit kernel extensions will work. Most likely why your modem doesn't work when running the 64-bit kernel.

  2. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    this has been endlessly discussed on this forum. do a search please.

    no you are not loosing anything by booting into 32bit kernel. all 64bit apps will still run as 64bit in 32bit kernel. to get real benefit from 64 bit kernel you need a 64bit application that's optimized to be able to address more than 4GB of RAM AND it should have actual need to do so. AFAIK, no such apps exist yet. and you probably need more than 8GB of RAM too.

  3. 0

    BobHarris

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Yes.

    The trick is Virtual Memory. Did you know a 16 bit PDP-11, where any given program could only address 64K (65,536 bytes), that PDP-11 could have up to 4MB of physical memory. A PDP-11 ran UNIX (as does Mac OS X), and the PDP-11 UNIX kernel could only address 64K at a time, but it was able to work on a system with 64 times as much memory. The PDP-11 used was an early form of virtual memory.

    The Mac OS X operating system creates a virtual memory map for each process that is run. It will populate that virtual memory map with the physical address of as many 4K memory pages as is needed for that application. Since each applciation has its own virtual memory map, you can have 100's of processes that are capable of consuming all of your 8GB of memory (or more).

    The Mac OS X operating system for the most part only needs to play with some numbers that represent physical memory addresses and put them into an array that happens to be a virtual memory map. The Mac OS X operating system does not need to actually look at all that memory all at once.

    When Mac OS X needs to access a process' memory, it just uses the virtual address map previously created. When it has to access the memory of a different process, it switches to that processes virtual address map.

    If you happen to have an application compiled for 64bits, then Mac OS X will create a 64 bit virtual memory map for that application. When Mac OS X needs to access any part of the 64 bit applications address space, it can either switch to a little bit of 64 bit capable code of its own and use the application's 64 bit virtual memory map to access that data, or it can modify its own kernel 32 bit virtual address map, so that a small portion of the kernel's 32 bit address range is using the same physical addresses as the part of the 64 bit process the kernel needs to access.

    This is a old operating system trick that has been around since virtual memoy was invented. One of my early jobs was writing a virtual memory hardware diagnostic back in '75, and we were doing this kind of thing back then, and virtual memory pre-dates that.

    So yes, a 32 bit kernel is perfectly capable of using more than 4GB of physical memory. And a 32 bit kernel is more than capable of servicing 64 bit applications.