PDA

View Full Version : Some questions and worries on the performance of Gnome with LXDE


fuorviatos
26th February 2011, 12:16 PM
I have recently installed LXDE group in Fedora. I did this from GNOME environment so now I've got each GNOME and LXDE. The main goal for me of switching to LXDE was to save more energy on my laptop and being able to use Flash as on GNOME it would got my machine overheated e so much to automatically power off for preserving us from the "green effect".:)

My question is; Is having LXDE with gnome results in loading Gnome applications/libraries, things of this kind.
I was wondering if it's worth to remove completely the Gnome environment, to leave LXDE.

What brought me to the conclusion is this

This is My CPU


product: Mobile AMD Sempron(tm) Processor 3000+
vendor: Hynix Semiconductor (Hyundai Electronics)
bus info: cpu@0
version: 15.8.2
slot: Socket 754
size: 800MHz
capacity: 2500MHz
width: 32 bits
clock: 800MHz
capabilities:

This is memory usage on LXDE I guess some GNOME components must be loaded also. Otherwise what would consume so much memory?


[fuorviatos@fedora-lukasz ~]$ free -ms2
total used free shared buffers cached
496 467 28 0 18 131
-/+ buffers/cache: 317 179
Swap: 1023 56 967





This is my top output in this moment



top - 13:05:33 up 3:24, 2 users, load average: 0.80, 0.61, 0.44
Tasks: 138 total, 2 running, 136 sleeping, 0 stopped, 0 zombie
Cpu(s): 33.7%us, 9.3%sy, 0.0%ni, 56.7%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 508316k total, 480436k used, 27880k free, 20564k buffers
Swap: 1048572k total, 57480k used, 991092k free, 130464k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2096 fuorviat 20 0 269m 35m 15m S 19.6 7.2 28:36.49 chrome
1312 root 20 0 71712 17m 9308 S 9.3 3.6 4:43.01 Xorg
1612 fuorviat 9 -11 160m 3432 2656 S 4.0 0.7 5:45.01 pulseaudio
1605 fuorviat 20 0 194m 12m 9216 R 3.3 2.5 4:59.44 lxpanel
2809 fuorviat 20 0 99996 10m 8940 S 3.0 2.2 0:02.59 lxterminal
2569 fuorviat 20 0 167m 46m 19m S 2.3 9.4 1:48.67 chrome
2049 fuorviat 20 0 421m 70m 22m S 2.0 14.3 7:07.02 chrome
2153 fuorviat 20 0 204m 73m 15m S 0.7 14.7 2:05.38 chrome
2315 fuorviat 20 0 24556 6808 4308 S 0.7 1.3 0:01.39 telepathy-gabbl
638 root 20 0 0 0 0 S 0.3 0.0 0:17.03 ntos_wq
1607 fuorviat 20 0 8112 3224 2292 S 0.3 0.6 0:18.25 xscreensaver
2838 fuorviat 20 0 2728 996 756 R 0.3 0.2 0:01.68 top
1 root 20 0 2876 1036 924 S 0.0 0.2 0:01.72 init

What is weird is that on GNOME the memory usage is only a few percents smaller, (around 9 mb free)

Do you think removing GNOME would help?
Maybe you may give me some hints on how to improve the memory usage?
If I remove GNOME, the performance will increase but If install some GNOME applications, would that lower the speed?

jpollard
26th February 2011, 01:25 PM
There really isn't that much to do. memory is used by the kernel for buffers, shared libraries, and applications. Any space not used by an application/shared libraries is available for buffers.

If an application needs more memory, then some buffer space is released, and then used for the application.

This is done to minimize I/O latency and improve response times.

CSchwangler
27th February 2011, 07:51 AM
Be careful with the idea of removing Gnome from your system. This could render your installation unusable. A better approach, if you really want to get rid of Gnome, would be to reinstall the LXDE spin.
From your output of top I can see nothing specific to Gnome, so it is unlikely that you get better results by reinstalling just LXDE.

fuorviatos
27th February 2011, 04:00 PM
Thanks for the hints. Just a question to Schwangler : According to jpollard it's natural kernel buffer. Do you agree with him by saying that it's not gnome that makes my RAM consume?

Swidnik - Iran Travel Photos on Instagram - Sant Just Desvern