image
image

Go Back   macosx.com > Mac Help Forums > Hardware & Peripherals

Reply
 
Thread Tools
  #1  
Old February 1st, 2005, 06:41 PM
Registered User
 
Join Date: Sep 2000
Location: San Francisco
Posts: 222
Thanks: 0
Thanked 0 Times in 0 Posts
ericmurphy is on a distinguished road
No paging, so why more RAM?

I've got two Power Macs: a 500 MHz G4 with 1.25 Gig of RAM, and a dual 2 GHz G5 with an even gig of RAM. If I run the same number and type of applications and processes (e.g., mail, address book, safari, quicken, photoshop, illustrator, terminal running top, activity manager) I notice that the G4 (which actually has more RAM) seems to use significantly more physical memory than the G5 does, with about the same amount of paging in the same amount of uptime. Right now the G4 has about 70 processes running, 1.22 gig used, 36 meg free. Meanwhile, the G5 has 80 processes running, 740 meg used, 280 meg free. Is the system architecture of the G5 maybe more efficient with RAM? Both machines have a total of 1 Meg of L2 cache, so that doesn't have anything to do with it.

Anyway, the real point is, for the mix of applications I currently use, I wonder if additional RAM for the G5 would be money well-spent. I know OS X tends to grab as much memory as available, so the fact that I have more than 250 Meg free leads me to believe that until I start editing video or rendering 5-minute animations, maybe I should hold off on more RAM.

Thoughts?
Reply With Quote
  #2  
Old February 1st, 2005, 08:06 PM
cfleck's Avatar
tired
 
Join Date: Nov 2002
Location: Indianapolis
Posts: 825
Thanks: 0
Thanked 0 Times in 0 Posts
cfleck will become famous soon enough
which apps are using the extra mem?
Reply With Quote
  #3  
Old February 1st, 2005, 08:09 PM
Registered User
 
Join Date: Sep 2000
Location: San Francisco
Posts: 222
Thanks: 0
Thanked 0 Times in 0 Posts
ericmurphy is on a distinguished road
Both machines are running basically the same group of apps, so I don't think it's a matter of which applications are running. I have the feeling that it might be a matter of different system architecture and bandwidth.

And in the final analysis, it doesn't matter. What the question really boils down to is, with 25% of physical memory unused under typical workload, will I see a performance benefit from additional RAM (e.g., 1 Gig increased to 3 Gig)?
Reply With Quote
  #4  
Old February 1st, 2005, 08:12 PM
cfleck's Avatar
tired
 
Join Date: Nov 2002
Location: Indianapolis
Posts: 825
Thanks: 0
Thanked 0 Times in 0 Posts
cfleck will become famous soon enough
i think you misundersood my question. if you are running the exact same apps on both machines but the memory usage is different i would expect that some of those apps are using more memory on one machine than the other to create that imbalance. which apps are doing this?

and no, you won't see a performance boost if you never run out of ram to begin with.
Reply With Quote
  #5  
Old February 1st, 2005, 09:01 PM
Registered User
 
Join Date: Jun 2003
Posts: 700
Thanks: 0
Thanked 0 Times in 0 Posts
Lycander is on a distinguished road
Hardware does not know/care, will not care, about your RAM. It's completely up to the OS (the kernel more specifically). It's not like the G5 CPU itself will say "oh I'm gonna reserve X amount of RAM for this app, and Y amount for that app." Nope, don't worry yourself over that at least.

The kernel has its own logic for figuring out what to do with RAM, think of it as artificial intelligence if you want. So on 2 identical hardware systems (for the sake of a control) you can boot it up and run the same apps in the same order do everything the same, there's no guarentee they both will use (or not use for that matter) the same amount of RAM.
__________________
vacant lot
Reply With Quote
  #6  
Old February 1st, 2005, 09:03 PM
scruffy's Avatar
Notorious Olive Counter
 
Join Date: Dec 2000
Location: Soviet Canuckistan
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
scruffy is on a distinguished road
Possibly some apps are compiled with G5 optimizations that end up using less RAM when they run on a G5. A recent version of Photoshop seems like a likely candiate. Check the activity monitor for the VM size of the apps you're running.
__________________

What is the robbing of a bank compared to the founding of a bank?
-- Bertold Brecht
Reply With Quote
  #7  
Old February 1st, 2005, 09:05 PM
cfleck's Avatar
tired
 
Join Date: Nov 2002
Location: Indianapolis
Posts: 825
Thanks: 0
Thanked 0 Times in 0 Posts
cfleck will become famous soon enough
actually won't it be the same on setups where you don't approach the end of available memory? that is, so long as there no threat of running out of memory a system X will give the same maximum amount of memory requested to safari as will system Y in the same circumstances.

i was under the impression that things only got interesting if they had to.
Reply With Quote
  #8  
Old February 1st, 2005, 11:39 PM
ElDiabloConCaca's Avatar
U.S.D.A. Prime
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 10,694
Thanks: 3
Thanked 162 Times in 150 Posts
ElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the rough
I think we first need to address the misunderstanding about RAM under OS X in the first place. Just because "top" or the system reports that there's "XXX amount of RAM free" doesn't mean that's all the unused RAM that's available.

It's going to be a combination of "free" memory and "inactive" RAM that gives an indicator as to how much RAM is available for the systems to use -- and even these numbers will change constantly.
__________________
Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D
MacBook 2.0GHz Core 2 Duo - White 10.5.6 • 2048MB • 80GB • CD-RW/DVD-ROM
iPhone 3G 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k
http://www.jeffhoppe.com
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 11:43 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.