jdong
November 30th, 2005, 12:08 AM
I've been getting pretty annoyed recently about people claiming program X is a RAM hog, citing either ps aux output or gnome-system-monitor stats as evidence....
I want to point out that neither output provides an accurate picture of how much of RAM usage can be attributed to each program. For example, see the attached screenshots. System Monitor claims that Java (Azureus in this case), Firefox, and Xorg together are using over 730MB RAM at the moment! This kind of figure brings alarm to anyone's face, guaranteed. However, take a look at the overall resources view. Only 342MB RAM is being genuinely used by applications (as opposed to the cache, etc) altogether.
To further demonstrate the point, how much RAM is actually freed when I shut down Azureus? 30MB, not 300MB. Firefox? 40MB, not 173MB. These true freed values seem to be much better predictors at memory usage.
Am I saying that Azureus, Firefox, and Xorg are conservative with memory? Not really. There are times where even 30MB or 40MB is unacceptable, like on systems with limited amounts of RAM. Also, at times Azureus does indeed use 50-100MB of RAM, when dealing with several simultaneous torrents with hundreds of connections each.
All I'm saying is to carefully investigate your charts and graphs before haphazardly drawing conclusions... Rant over. :)
I want to point out that neither output provides an accurate picture of how much of RAM usage can be attributed to each program. For example, see the attached screenshots. System Monitor claims that Java (Azureus in this case), Firefox, and Xorg together are using over 730MB RAM at the moment! This kind of figure brings alarm to anyone's face, guaranteed. However, take a look at the overall resources view. Only 342MB RAM is being genuinely used by applications (as opposed to the cache, etc) altogether.
To further demonstrate the point, how much RAM is actually freed when I shut down Azureus? 30MB, not 300MB. Firefox? 40MB, not 173MB. These true freed values seem to be much better predictors at memory usage.
Am I saying that Azureus, Firefox, and Xorg are conservative with memory? Not really. There are times where even 30MB or 40MB is unacceptable, like on systems with limited amounts of RAM. Also, at times Azureus does indeed use 50-100MB of RAM, when dealing with several simultaneous torrents with hundreds of connections each.
All I'm saying is to carefully investigate your charts and graphs before haphazardly drawing conclusions... Rant over. :)