Page 1 of 1

Xfce4-Cinnamon RAM statistics

Posted: Tue Dec 25, 2012 4:23 pm
by Eyeteeorg
I ran the free command on both my main Cinnamon GUI and the Xfce4 I added through Package Manager and this is what I came up with:

Cinnamon:

Code: Select all

             total       used       free     shared    buffers     cached
Mem:       2051000    1488352     562648          0      42540     701656
-/+ buffers/cache:     744156    1306844
Swap:      3145724          0    3145724
Xfce:

Code: Select all

             total       used       free     shared    buffers     cached
Mem:       2051000    1437432     613568          0      70296     968400
-/+ buffers/cache:     398736    1652264
Swap:      3145724          0    3145724
Savings = Xfce used - Cinnamon used = 398,736 - 744,156 = -345,520
Savings percentage = Savings / Total = 345,520 / 2,051,000 = 16.84%

Considering that Cinnamon chews up about 35% of RAM, the 16.84% savings in RAM use on my system is pretty significant.

Does anyone else want to post their own numbers?

Re: Xfce4-Cinnamon RAM statistics

Posted: Tue Dec 25, 2012 4:55 pm
by xenopeek
The comparison isn't really fair, now is it. You must have been running more programs on Cinnamon :) Here is the output of the free command on my Cinnamon installation:

Code: Select all

             total       used       free     shared    buffers     cached
Mem:      16154196     762020   15392176          0      59672     344400
-/+ buffers/cache:     357948   15796248
Swap:            0          0          0
What do you know, using 10% less memory than your Xfce session :D This is on a 64-bit install BTW, which is relevant as 64-bit uses more memory than 32-bit. If you are still running Cinnamon 1.4, recommend you upgrade as the current Cinnamon release (1.6.7) is much more efficient with RAM and CPU.

Re: Xfce4-Cinnamon RAM statistics

Posted: Tue Dec 25, 2012 5:07 pm
by Eyeteeorg
That's fascinating, Vincent. I still have a very basic install as I haven't optimized my system yet. Perhaps your system is optimized and that's why your Cinnamon has such a tiny footprint.

My original install DVD was the Mint 14 x64 Cinnamon 850-meg one. I could have messed things up by creating separate /, /home, /var and /tmp partitions, but I don't see how.

Can you remind me of the CLI input that returns my current version of Cinnamon, preferably from the Xfce environment so I don't have to relog? If an upgrade is called for, I definitely want to do it. Like everybody else, I need my RAM available for applications rather than chewed up by the GUI.

Eyetee

Re: Xfce4-Cinnamon RAM statistics

Posted: Tue Dec 25, 2012 5:17 pm
by xenopeek
No worries, on Linux Mint 14 you will be using Cinnamon 1.6.7. When not running Cinnamon, you can check the installed version with:

Code: Select all

dpkg -l cinnamon
It should return something similar to below, with the last line showing I'm running version 1.6.7 for nadia (=Linux Mint 14).

Code: Select all

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  cinnamon       1.6.7+nadia  amd64        Cinnamon desktop
And sure, I've optimized my system somewhat but also added to it. A clean install of Linux Mint 14 Cinnamon probably uses a little less memory than my system. Optimizations I did that save a bit of memory were disabling of the Avahi, Bluetooth, Modem-Manager and Samba daemons and removal of the VirtualBox guest additions and utilities. That's not a 400 megabyte difference though, and I disabled them not to save memory but to improve security :wink: