You are not logged in.
I'm using nvidia Geforce 7600GT graphic card, and I tried to install nvidia-304xx graphic drivers. Everything went smoothly, but after my system started I saw that there is 4x times more RAM consumption when compared it to nouveau driver. See the following pics:
http://img849.imageshack.us/img849/7117/starto.png
up: nouveau || down: nvidia
http://img35.imageshack.us/img35/148/graphicq.png
left: nouveau || right: nvidia
I've been trying to solve this issue for 2 weeks, but I have no idea why my system consumes almost 400 MiB of RAM when only openbox is started. Compared to debian + full gnome -- 280MiB. Both systems are using the same nvidia driver. I tried even to borrow the kernel from debian and then install the drivers, but this doesn't help. Still apps in the graphic environment consume several times more RAM.
As you can see, having only 1GiB of RAM I can't afford to have 400MiB openbox. Try to think about opening web browser or other apps. xD
Does anyone know why this is happening and how to fix it? I saw similar thread on this forum, but I can't find it anymore, and there was exactly the same situation, or more or less.
For better insight -- data from http://www.pixelbeat.org/scripts/ps_mem.py
Nouveau:
Private + Shared = RAM used Program
76.0 KiB + 20.0 KiB = 96.0 KiB sleep
108.0 KiB + 27.0 KiB = 135.0 KiB agetty
120.0 KiB + 17.0 KiB = 137.0 KiB gpm
112.0 KiB + 26.5 KiB = 138.5 KiB gnome-pty-helper
180.0 KiB + 19.5 KiB = 199.5 KiB dhcpcd
176.0 KiB + 32.5 KiB = 208.5 KiB dbus-launch
224.0 KiB + 50.0 KiB = 274.0 KiB rtkit-daemon
288.0 KiB + 108.0 KiB = 396.0 KiB dnscrypt-proxy (2)
388.0 KiB + 42.5 KiB = 430.5 KiB hddtemp
416.0 KiB + 73.0 KiB = 489.0 KiB systemd-logind
504.0 KiB + 68.5 KiB = 572.5 KiB bluetoothd
384.0 KiB + 218.5 KiB = 602.5 KiB fancontrol
444.0 KiB + 185.5 KiB = 629.5 KiB gconf-helper
500.0 KiB + 132.5 KiB = 632.5 KiB gconfd-2
432.0 KiB + 224.0 KiB = 656.0 KiB login
448.0 KiB + 276.0 KiB = 724.0 KiB avahi-daemon (2)
656.0 KiB + 69.5 KiB = 725.5 KiB smartd
684.0 KiB + 42.5 KiB = 726.5 KiB hamachid
732.0 KiB + 110.5 KiB = 842.5 KiB ntpd
912.0 KiB + 51.5 KiB = 963.5 KiB systemd-udevd
616.0 KiB + 378.5 KiB = 994.5 KiB cups-browsed
932.0 KiB + 149.5 KiB = 1.1 MiB xscreensaver
676.0 KiB + 409.5 KiB = 1.1 MiB dbus-daemon (2)
968.0 KiB + 238.5 KiB = 1.2 MiB obex-data-server
804.0 KiB + 628.0 KiB = 1.4 MiB bash (2)
1.0 MiB + 379.0 KiB = 1.4 MiB cupsd
1.2 MiB + 494.5 KiB = 1.7 MiB devilspie
1.7 MiB + 90.5 KiB = 1.8 MiB systemd
1.3 MiB + 806.5 KiB = 2.1 MiB tint2
1.9 MiB + 628.0 KiB = 2.5 MiB slim
7.0 MiB + -3819.5 KiB = 3.2 MiB polkitd
2.6 MiB + 729.0 KiB = 3.3 MiB openbox
2.2 MiB + 1.3 MiB = 3.5 MiB avant-window-navigator
2.3 MiB + 1.3 MiB = 3.7 MiB pnmixer
3.4 MiB + 468.5 KiB = 3.8 MiB pulseaudio
4.2 MiB + 534.5 KiB = 4.7 MiB systemd-journald
3.8 MiB + 1.6 MiB = 5.5 MiB awn-applet
5.2 MiB + 2.2 MiB = 7.4 MiB conky (3)
10.0 MiB + 512.5 KiB = 10.5 MiB Xorg
8.6 MiB + 2.2 MiB = 10.8 MiB applet.py
10.0 MiB + 2.3 MiB = 12.3 MiB blueman-applet
11.4 MiB + 2.7 MiB = 14.1 MiB terminator
---------------------------------
107.2 MiB
=================================
Nvidia:
Private + Shared = RAM used Program
108.0 KiB + 27.5 KiB = 135.5 KiB gnome-pty-helper
108.0 KiB + 28.0 KiB = 136.0 KiB agetty
128.0 KiB + 18.0 KiB = 146.0 KiB gpm
180.0 KiB + 19.5 KiB = 199.5 KiB dhcpcd
176.0 KiB + 34.5 KiB = 210.5 KiB dbus-launch
224.0 KiB + 53.0 KiB = 277.0 KiB rtkit-daemon
284.0 KiB + 109.0 KiB = 393.0 KiB dnscrypt-proxy (2)
392.0 KiB + 44.5 KiB = 436.5 KiB hddtemp
424.0 KiB + 76.0 KiB = 500.0 KiB systemd-logind
440.0 KiB + 73.5 KiB = 513.5 KiB bluetoothd
496.0 KiB + 144.5 KiB = 640.5 KiB gconfd-2
424.0 KiB + 227.0 KiB = 651.0 KiB login
448.0 KiB + 213.5 KiB = 661.5 KiB gconf-helper
680.0 KiB + 46.5 KiB = 726.5 KiB hamachid
656.0 KiB + 74.5 KiB = 730.5 KiB smartd
456.0 KiB + 281.0 KiB = 737.0 KiB avahi-daemon (2)
732.0 KiB + 116.5 KiB = 848.5 KiB ntpd
900.0 KiB + 53.5 KiB = 953.5 KiB systemd-udevd
616.0 KiB + 382.5 KiB = 998.5 KiB cups-browsed
592.0 KiB + 407.5 KiB = 999.5 KiB dbus-daemon (2)
944.0 KiB + 170.5 KiB = 1.1 MiB xscreensaver
1.0 MiB + 382.0 KiB = 1.4 MiB cupsd
852.0 KiB + 802.0 KiB = 1.6 MiB bash (2)
1.7 MiB + 94.5 KiB = 1.8 MiB systemd
1.9 MiB + 662.0 KiB = 2.6 MiB slim
2.6 MiB + 757.0 KiB = 3.3 MiB openbox
3.4 MiB + 514.5 KiB = 3.9 MiB pulseaudio
7.9 MiB + -3780.5 KiB = 4.3 MiB polkitd
7.0 MiB + 1.9 MiB = 8.9 MiB systemd-journald
22.0 MiB + 1.0 MiB = 22.9 MiB devilspie
22.0 MiB + 1.2 MiB = 23.2 MiB tint2
23.1 MiB + 1.8 MiB = 25.0 MiB avant-window-navigator
23.2 MiB + 1.9 MiB = 25.1 MiB pnmixer
24.8 MiB + 2.2 MiB = 26.9 MiB awn-applet
29.9 MiB + 3.2 MiB = 33.1 MiB applet.py
32.4 MiB + 3.8 MiB = 36.2 MiB terminator
56.4 MiB + 834.5 KiB = 57.2 MiB Xorg
67.3 MiB + 3.5 MiB = 70.8 MiB conky (3)
---------------------------------
359.9 MiB
=================================
Last edited by morfik (2013-05-06 10:50:30)
Offline
I've been trying to solve this issue for 2 weeks, but I have no idea why my system consumes almost 400 MiB of RAM when only openbox is started.
According to your data openbox uses about 3.3 MiB independent of the graphics driver.
There's a lot more running than just openbox (conky, terminator, some applet things).
Compared to debian + full gnome -- 280MiB.
Debian is old, and debian's gnome is old, too, so you propably won't gain much from comparing debian and arch (debian+nouveau vs. debian+closed drivers might be interesting though).
For better insight -- data from http://www.pixelbeat.org/scripts/ps_mem.py
Examine your data, find out who's eating away your RAM and try to fix/replace/drop the bad guys.
Offline
I'd say the nvidia kernel module is just bigger and it is loaded. If you do "lsmod" it has the biggest "Size" by far compared to other kernel modules.
Last edited by blackout23 (2013-05-05 17:13:23)
Offline
cookies, look at the ps_mem.py log:
7.4 MiB conky (3) -- nouveau
vs
70.8 MiB conky (3) -- nvidia
Compared it to debian:
morfik:~$ lsmod | grep nvidia
nvidia 10224976 40
morfik:~$ nvidia-settings --version
nvidia-settings: version 304.88 (buildd@murphy) Wed Apr 3 09:32:37 UTC 2013
The NVIDIA X Server Settings tool.
This program is used to configure the NVIDIA Linux graphics driver.
For more detail, please see the nvidia-settings(1) man page.
morfik:~$ uname -a
Linux morfikownia 3.8-10.slh.2-aptosid-686 #1 SMP PREEMPT Sat Apr 27 16:10:35 UTC 2013 i686 GNU/Linux
morfik:~$ ps -eo "%mem user args" | grep conky
0.5 morfik conky -c /home/morfik/.conky/.conkyrc
0.5 morfik conky -c /home/morfik/.conky/.conkyrc_fs
0.5 morfik conky -c /home/morfik/.conky/1b1/.conkyrc_1b1_int
0.5 morfik conky -p 5 -c /home/morfik/.conky/1c/.conkyrc_1c
I couldn't start the ps_mem.py script on debian, so that's why I used ps.
I have 1 GiB of RAM, so 0.5 means 5MiB, so even here, 4x 5MiB = 20MiB, not 70.8 MiB
I changed only the graphic driver and the consumption of RAM of my openbox (+apps) went from 107.2 MiB to 359.9 MiB. So, how can I replace anything? Nvidia drivers consume 250MiB.
Last edited by morfik (2013-05-05 18:06:38)
Offline
Compile cairo without gl support should fix this.
more info: https://bugs.launchpad.net/ubuntu/+sour … bug/725434
Last edited by Vorbis (2013-05-05 21:39:29)
Offline
Vorbis, you're my savior! It works.
I changed some stuff since then, but I had 90 MiB graphic environment (nouveau). Now I have 129.0 MiB (nvidia) -- it's 40 MiB more, but I can live with that. And of course, it is not 300+ MiB.
Private + Shared = RAM used Program
104.0 KiB + 26.5 KiB = 130.5 KiB gnome-pty-helper
112.0 KiB + 27.0 KiB = 139.0 KiB agetty
176.0 KiB + 19.5 KiB = 195.5 KiB dhcpcd
224.0 KiB + 54.0 KiB = 278.0 KiB rtkit-daemon
232.0 KiB + 122.0 KiB = 354.0 KiB su
288.0 KiB + 68.0 KiB = 356.0 KiB xcompmgr
260.0 KiB + 120.0 KiB = 380.0 KiB openbox-autosta
324.0 KiB + 108.0 KiB = 432.0 KiB dnscrypt-proxy (2)
412.0 KiB + 45.5 KiB = 457.5 KiB hddtemp
388.0 KiB + 80.5 KiB = 468.5 KiB dbus-launch (2)
404.0 KiB + 75.0 KiB = 479.0 KiB systemd-logind
444.0 KiB + 72.5 KiB = 516.5 KiB bluetoothd
432.0 KiB + 155.0 KiB = 587.0 KiB gconfd-2
480.0 KiB + 236.0 KiB = 716.0 KiB gconf-helper
448.0 KiB + 286.0 KiB = 734.0 KiB avahi-daemon (2)
684.0 KiB + 51.5 KiB = 735.5 KiB hamachid
680.0 KiB + 96.5 KiB = 776.5 KiB smartd
764.0 KiB + 112.0 KiB = 876.0 KiB ntpd
4.6 MiB + -3809.0 KiB = 911.0 KiB at-spi2-registryd
676.0 KiB + 267.5 KiB = 943.5 KiB at-spi-bus-launcher
908.0 KiB + 48.5 KiB = 956.5 KiB systemd-udevd
588.0 KiB + 530.0 KiB = 1.1 MiB sh (5)
1.0 MiB + 115.5 KiB = 1.1 MiB xscreensaver
752.0 KiB + 593.0 KiB = 1.3 MiB cups-browsed
944.0 KiB + 477.0 KiB = 1.4 MiB dbus-daemon (4)
1.2 MiB + 596.0 KiB = 1.7 MiB cupsd
1.3 MiB + 537.0 KiB = 1.8 MiB bash (2)
1.2 MiB + 748.0 KiB = 2.0 MiB tint2
5.5 MiB + -3391.5 KiB = 2.1 MiB lightdm (2)
1.7 MiB + 658.5 KiB = 2.3 MiB systemd (2)
3.0 MiB + 667.0 KiB = 3.7 MiB openbox
3.5 MiB + 547.0 KiB = 4.0 MiB pulseaudio
7.7 MiB + -3735.0 KiB = 4.0 MiB polkitd
2.3 MiB + 2.0 MiB = 4.3 MiB pnmixer
4.2 MiB + 1.5 MiB = 5.6 MiB systemd-journald
10.1 MiB + -1668.0 KiB = 8.5 MiB conky (4)
8.5 MiB + 1.2 MiB = 9.7 MiB spacefm
14.7 MiB + 2.2 MiB = 16.8 MiB terminator
50.0 MiB + -3719.5 KiB = 46.3 MiB Xorg
---------------------------------
129.0 MiB
=================================
I commented out the following lines:
# --enable-gl
# --enable-egl
I couldn't compile cairo with --enable-egl , so that's why I removed it too.
Offline