Why Cinnamon Desktop 2x the ram on startup desktop?

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Orbmiser

Why Cinnamon Desktop 2x the ram on startup desktop?

Post by Orbmiser »

Why Cinnamon Desktop 2x the ram on startup desktop? For me anyways.
And am confused as many report close values of around 400mb? for Cinnamon & KDE.

Setup: Amd x250 dual processor,4gb ram,Ati 4350 video card using default open drivers on both.

Mint 14 KDE 64bit bootup to idle desktop: 432mb.
Mint Cinnamon 14 64bit bootup to idle desktop: 824mb

Both run same conky script. each a weather applet (plasmoid),and each gmail notifier.
I have not been able to identify why my system seems 2x the ram of others or vs. KDE?

Any insights or help to where to look would be appreciated.

Top

Code: Select all

top - 22:45:47 up 37 min,  2 users,  load average: 0.46, 0.27, 0.18
Tasks: 156 total,   1 running, 155 sleeping,   0 stopped,   0 zombie

%Cpu(s): 10.2 us,  3.4 sy,  0.0 ni, 86.4 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st

KiB Mem:   4049220 total,  1545436 used,  2503784 free,    78384 buffers
KiB Swap:  3535868 total,        0 used,  3535868 free,   382872 cached

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND                   
 2335 orbmiser  20   0  971m 246m  41m S  15.9  6.2   2:37.85 firefox                   
 1372 root         20   0  221m  94m  22m S   6.0  2.4   1:08.26 Xorg                      
 2062 orbmiser  20   0 1580m 126m  42m S   4.3  3.2   1:20.24 cinnamon                  
   16 root           20   0     0    0    0 S   1.3  0.0   0:01.78 kworker/u:1               
 2519 orbmiser  20   0  559m  28m  11m S   1.0  0.7   0:03.16 gnome-terminal            
   10 root          20   0     0    0    0 S   0.3  0.0   0:00.88 ksoftirqd/1               
 1742 orbmiser  20   0  674m  26m  12m S   0.3  0.7   0:01.19 gnome-settings-           
    1 root           20   0 24440 2344 1300 S   0.0  0.1   0:00.65 init
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
kc1di
Level 18
Level 18
Posts: 8137
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Why Cinnamon Desktop 2x the ram on startup desktop?

Post by kc1di »

Hi Orbmiser ,

I don't know that I have the answer for you but mine Cinnamon install on two machines only runs about 432mb ram usage with idle desktop. It was higher when I had the weather applet running, but uninstalled that. so my guess is the weather app maybe causing the useage, but nothing definitive try shutting it off and see.

Cheers!
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
User avatar
kc1di
Level 18
Level 18
Posts: 8137
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Why Cinnamon Desktop 2x the ram on startup desktop?

Post by kc1di »

just installed
my-weather-indicator
from here and it had little effect on the ram usage went from 432 to 458 mb.

http://www.noobslab.com/2013/01/install ... buntu.html
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Orbmiser

Re: Why Cinnamon Desktop 2x the ram on startup desktop?

Post by Orbmiser »

Well shut down calendar screenlet,gmail notifier,weather applet,capture applet,windows task applet.
Left notifications,settings,sound,wifi,restart cinnamon applets.

Pretty close to default desktop and still clocking in at 621mb. Which is still 150mb of unknown which is significant.

Not a Big Biggy but was wondering how so many others clocking in around 450mb and me stripping down to basic still almost 200mb higher than that.

And have all the things running in KDE and clock in at 424mb'ish with weather,gmail and all running. Has me wondering about efficiency of Cinnamon.
.
User avatar
kc1di
Level 18
Level 18
Posts: 8137
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Why Cinnamon Desktop 2x the ram on startup desktop?

Post by kc1di »

I just check this machine on mate and it uses 512mb on a fairly idle desktop..
That actually surprised me thought mate would have less ram useage :?:
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Why Cinnamon Desktop 2x the ram on startup desktop?

Post by roblm »

Orbmiser wrote:Why Cinnamon Desktop 2x the ram on startup desktop? For me anyways.
And am confused as many report close values of around 400mb? for Cinnamon & KDE.

Setup: Amd x250 dual processor,4gb ram,Ati 4350 video card using default open drivers on both.

Mint 14 KDE 64bit bootup to idle desktop: 432mb.
Mint Cinnamon 14 64bit bootup to idle desktop: 824mb

Both run same conky script. each a weather applet (plasmoid),and each gmail notifier.
I have not been able to identify why my system seems 2x the ram of others or vs. KDE?

Any insights or help to where to look would be appreciated.

Top

Code: Select all

top - 22:45:47 up 37 min,  2 users,  load average: 0.46, 0.27, 0.18
Tasks: 156 total,   1 running, 155 sleeping,   0 stopped,   0 zombie

%Cpu(s): 10.2 us,  3.4 sy,  0.0 ni, 86.4 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st

KiB Mem:   4049220 total,  1545436 used,  2503784 free,    78384 buffers
KiB Swap:  3535868 total,        0 used,  3535868 free,   382872 cached

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND                   
 2335 orbmiser  20   0  971m 246m  41m S  15.9  6.2   2:37.85 firefox                   
 1372 root         20   0  221m  94m  22m S   6.0  2.4   1:08.26 Xorg                      
 2062 orbmiser  20   0 1580m 126m  42m S   4.3  3.2   1:20.24 cinnamon                  
   16 root           20   0     0    0    0 S   1.3  0.0   0:01.78 kworker/u:1               
 2519 orbmiser  20   0  559m  28m  11m S   1.0  0.7   0:03.16 gnome-terminal            
   10 root          20   0     0    0    0 S   0.3  0.0   0:00.88 ksoftirqd/1               
 1742 orbmiser  20   0  674m  26m  12m S   0.3  0.7   0:01.19 gnome-settings-           
    1 root           20   0 24440 2344 1300 S   0.0  0.1   0:00.65 init

System Monitor on my Linux Mint 14 Cinnamon system shows a memory usage of 218 MB at startup, but I have a tweaked system running only necessary programs. I ran Linux Mint 14 Mate on a virtual machine and it used 73 MB less, but it had only the originally installed programs. You posted system information from running the Top command after 37 minutes of operation. From the information above I figured there is about 562 MB of memory unaccounted for. However the Top command only lists the most CPU intensive tasks running. To see the other tasks running, start System Monitor and while you're viewing the Processes tab window, click View in the menu and change the selection from "My Processes" to "All Processes". Look over this list and add up the memory usage of all the other tasks. Have you checked the programs listed under Startup Applications? I have 3 out of 8 programs checked to run in my Startup Applications. If I enable all 8 to run, then I only see a 17 MB increase in memory use but you could have other high memory consuming programs installed that run at startup. By the way, your firefox program uses a lot more memory than mine, although you may have a lot more add-ons installed and an older version. You list 6.2% memory use of 246 MB and 15.9% CPU and I list 4.8% memory use of 93 MB and only 2% CPU but I only have 2 GB of memory installed.
homerscousin

Re: Why Cinnamon Desktop 2x the ram on startup desktop?

Post by homerscousin »

Yup! 15.9% Firefox cpu use seems a bit high to me. I seldom go above 2%. After a fresh boot of Mint 14 KDE 4.10, I use 550 MB ram for app data, and after a couple days it grows to around 1 GB. Doesn't matter, I have 8 GB to work with. By chance did you go to your Firefox settings, edit, preferences, advanced tab and change the cache management value? Mine started with a default value of 1 GB. I dropped that to 25 MB. I don't need that stuff being stored. Beyond that, I really don't know. I have done so many little things to my system, such as tweeking UEFI BIOS settings including overclocking, turning off unnecessary services etc.
palo
Level 4
Level 4
Posts: 476
Joined: Mon Jun 25, 2012 7:28 am
Location: Walking on sunshine

Re: Why Cinnamon Desktop 2x the ram on startup desktop?

Post by palo »

Orbmiser> Couple comments on your first post FWIW. Your top values are missing some of memory usages because you have not set it to list top memory - to do that press M (capital). I prefer Htop myself and don't trust conkys. Since you use 64 bits you might expect some high ram use - I don't use 64 because of the high ram and 32 bit libs have to be installed anyway.
kc1di wrote:I just check this machine on mate and it uses 512mb on a fairly idle desktop..
That actually surprised me thought mate would have less ram useage :?:
That does seem high. Right now with FF having 8 tabs + GIMP open with 2 images loaded + terminal and the usual startup stuff - I am using 378/2012MB. That's why I chose Xfce with Enlightenment - beauty, function, speed and some memory left over.

Pat
Orbmiser

Re: Why Cinnamon Desktop 2x the ram on startup desktop?

Post by Orbmiser »

Hmmm well on KDE now anyways and waiting for Cinnamon 15 to do a clean install and go from there.
Tho conky just reads the mem? and reports and changes depending on desktop loaded. Not concerned of absolute accuracy tho same conky reports difference in different distro's. And shows what system monitor reports.

Just strange why mine is that high when others are not. Don't know if it has to do with open video driver or other.
And system processes don't seem to report root processes? as don't see them in process tree.
.
palo
Level 4
Level 4
Posts: 476
Joined: Mon Jun 25, 2012 7:28 am
Location: Walking on sunshine

Re: Why Cinnamon Desktop 2x the ram on startup desktop?

Post by palo »

Orbmiser wrote:And system processes don't seem to report root processes? as don't see them in process tree.
Can you go to preferences and select show all users/processes?
Don't know if it has to do with open video driver or other.
Seems that may have an effect - depending.

Pat
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Why Cinnamon Desktop 2x the ram on startup desktop?

Post by roblm »

Orbmiser wrote: Just strange why mine is that high when others are not.
.
From what I've read from tests comparing memory usage on 32 bit vs 64 bit systems, there is about a 100 MB difference at startup, which accounts for at least 25% of the memory discrepancy you're seeing. I was going to suggest if you wanted to pursue this matter, to post a complete memory usage list of all programs at startup so a line by line comparison could be done. Additionally you could have run Cinnamon in a virtual machine to see how much of a difference shows up after initial installation. However, I see that you're now doing a clean install of Cinnamon 15?
Orbmiser

Re: Why Cinnamon Desktop 2x the ram on startup desktop?

Post by Orbmiser »

I see that you're now doing a clean install of Cinnamon 15?
Nope will when released end of May. Using Mint 14 KDE and happy with it so far.
.
InkKnife
Level 5
Level 5
Posts: 741
Joined: Mon Apr 30, 2012 5:24 pm

Re: Why Cinnamon Desktop 2x the ram on startup desktop?

Post by InkKnife »

I am a bit baffled by this thread. I have never seen Cinnamon use more than 140MB of ram, heck, right now I with Firefox open, my total ram usage is only 525MB. That's everything.
i7 3770, 12GB of ram, 256GB SSD, 64GB SSD, 750GB HDD, 1TB HDD, Cinnamon.
Orbmiser

Re: Why Cinnamon Desktop 2x the ram on startup desktop?

Post by Orbmiser »

Well we will have to see.
Backed up my partitions and going to do a default clean install and see where I stand.

Update: Seems a Clean default came in at the 306mb.
default.png
So must have been something I was running on my end.
.
Locked

Return to “Cinnamon”