Comments on: Virtual Memory – a precious resource? https:/2006/11/virtual-memory-a-precious-resource/ Developer resources for the X-Plane flight simulator Tue, 01 Feb 2011 18:54:19 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Mike Piatek-Jimenez https:/2006/11/virtual-memory-a-precious-resource/#comment-1420 Tue, 28 Nov 2006 09:14:00 +0000 http://www.x-plane.com/dev_blog/?p=527#comment-1420 The Core Duo and Core Solo CPUs are only 32 bit, the Core 2 Duo CPUs are 64 bit. The original MacBook, MacBook Pro, and Intel iMac have Core Duo CPUs, so they are 32 bit machines. Starting this past August, the MacBook, MacBook Pro, and iMac have been updated with Core 2 Duo CPUs, so all the new ones are 64 bit machines along with the Mac Pro. The only remaining Mac that has the original Core Duo/Solo CPUs is the Mac Mini.

Mac OS X Leopard will have 64 bit support from top to bottom, so sometime next year true 64 bit support will be a reality on the Mac platform.

]]>
By: Benjamin Supnik https:/2006/11/virtual-memory-a-precious-resource/#comment-1421 Tue, 28 Nov 2006 08:26:00 +0000 http://www.x-plane.com/dev_blog/?p=527#comment-1421 Application-based virtualization of resources is sort of where we’re ending up these days. Try looking at far away (100 nm) airports in the textured mode in the local map. You’ll see no runways! This is because almost everything but the base mesh gets built up and torn down “on the fly” as your plane moves around, saving memory.

Still, I hate to bet against virtual memory – it can work very well and makes applications less buggy and faster to develop.

]]>
By: Benjamin Supnik https:/2006/11/virtual-memory-a-precious-resource/#comment-1422 Tue, 28 Nov 2006 08:24:00 +0000 http://www.x-plane.com/dev_blog/?p=527#comment-1422 Ah yes – I didn’t realize that the revised chipset support EMT64.

But what I am still unclear about is: did the _original_ MacBook Pros support EMT64? I thought they shipped with “Yonah” chips, but given Intel’s decision to name every chip they have as som combination of the word “Core”, “Duo” and optionally the number 2 in random order, I’ve had a little trouble connecting the dots about what parts go where. Give me a 7600GTX any day! 🙂

]]>
By: dand https:/2006/11/virtual-memory-a-precious-resource/#comment-1423 Tue, 28 Nov 2006 06:53:00 +0000 http://www.x-plane.com/dev_blog/?p=527#comment-1423 The Core 2 Duo chip is 64-bit, so I think that makes 3 out of 5 Apple machines 64-bit (with the MacBook and Mac mini being the exceptions). Still, I guess it’s a moot point since most (or all?) the OS APIs are 32-bit so you can’t compile 64-bit apps anyways.

]]>
By: Jilles van Gurp https:/2006/11/virtual-memory-a-precious-resource/#comment-1424 Tue, 28 Nov 2006 04:17:00 +0000 http://www.x-plane.com/dev_blog/?p=527#comment-1424 Hi, I have a windows xp machine with 2GB. I’ve disabled the virtual memory entirely (set the size to 0) and this doesn’t really cause me any problems with x-plane. I run extremely large scenery such as for example the paris scenery. Worst case scenario for me is that I get a out of memory error which I consider to be way more friendly than the heavy disk churning long before I technically should be running out of memory. I rarely get these errors and when I do get them the problem is that I’m running processes that are coming really close to their 2GB theoretical limit (e.g. photoshop + x-plane is a bad idea).

In my experience processes using 1.5 GB or more can become a problem. If the latter ever becomes a problem, all I need to do is put in some extra memory and then I will be able to have processes allocate their full 2GB.

The problem with virtual memory is that windows manages it poorly. It continuously makes really bad decisions with respect to what to swap to memory leading to very annoying delays when you use e.g. alt tab. Also it affects in game performance because it will be active when the system is stressed to the max. Even with only a quarter of memory in use, my applications get swapped to disk!

So, good decision to rely less on this. You might consider doing some sort of application level virtual memory like for example photoshop does. This would also allow you to work around OS limits and use more than 2GB of disk storage.

]]>
By: palple https:/2006/11/virtual-memory-a-precious-resource/#comment-1425 Tue, 28 Nov 2006 04:08:00 +0000 http://www.x-plane.com/dev_blog/?p=527#comment-1425 Interesting post; anyway I have to correct you on currently sold Apple Machines: out of the 5 Mac lines they are selling now, 4 are 64 bit capable (all the core 2 duo) and one not (the Mac Mini).

]]>