Gnome2 Performance

Helo BSD friends,

I am running Gnome and there seem to be some services I cannot prevent from autostarting. I think there is a lot of stuff running, which could also be a reason for slowing down the whole system.

Code:
ps aux
USER         PID  %CPU %MEM    VSZ    RSS  TT  STAT STARTED     TIME COMMAND
root          11  47.9  0.0      0     16  ??  RL    7:54PM 41:38.37 [idle]
root       62809   5.4 23.0 377048 356528  v0  R     9:16PM  7:03.75 /usr/local/bin/X :0 -auth /home/pantu/.serverauth.62790 (Xorg)
root          12   2.3  0.0      0    152  ??  WL    7:54PM  7:15.88 [intr]
pantu    67235   2.3  1.5 123780  22880  v0  I     9:33PM  0:46.40 gnome-terminal
root           0   0.0  0.0      0     96  ??  DLs   7:54PM  0:03.48 [kernel]
root           1   0.0  0.0   8032    372  ??  SLs   7:54PM  0:02.46 /sbin/init --
root           2   0.0  0.0      0      8  ??  DL    7:54PM  0:00.00 [cbb0 event thread]
root           3   0.0  0.0      0      8  ??  IL    7:54PM  0:00.00 [fw0_probe]
root           4   0.0  0.0      0      8  ??  DL    7:54PM  0:00.00 [sctp_iterator]
root           5   0.0  0.0      0      8  ??  DL    7:54PM  0:00.08 [pfpurge]
root           6   0.0  0.0      0      8  ??  DL    7:54PM  0:00.00 [xpt_thrd]
root           7   0.0  0.0      0      8  ??  DL    7:54PM  0:05.36 [pagedaemon]
root           8   0.0  0.0      0      8  ??  DL    7:54PM  0:00.00 [vmdaemon]
root           9   0.0  0.0      0      8  ??  DL    7:54PM  0:00.00 [pagezero]
root          10   0.0  0.0      0      8  ??  DL    7:54PM  0:00.00 [audit]
root          13   0.0  0.0      0     24  ??  DL    7:54PM  0:26.01 [geom]
root          14   0.0  0.0      0      8  ??  DL    7:54PM  0:04.03 [yarrow]
root          15   0.0  0.0      0    160  ??  DL    7:54PM  0:06.20 [usb]
root          16   0.0  0.0      0      8  ??  DL    7:54PM  0:02.43 [acpi_thermal]
root          17   0.0  0.0      0      8  ??  DL    7:54PM  0:00.77 [bufdaemon]
root          18   0.0  0.0      0      8  ??  DL    7:54PM  0:12.45 [syncer]
root          19   0.0  0.0      0      8  ??  DL    7:54PM  0:00.33 [vnlru]
root          20   0.0  0.0      0      8  ??  DL    7:54PM  0:03.53 [softdepflush]
root          21   0.0  0.0      0      8  ??  DL    7:54PM  0:00.53 [flowcleaner]
root         115   0.0  0.0   1620    764  ??  Is    7:54PM  0:00.00 adjkerntz -i
root        1265   0.0  0.1   9684   1036  ??  Ss    7:54PM  0:16.61 /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid
root        1292   0.0  0.0   8032    556  ??  Is    7:54PM  0:00.01 /sbin/devd
root        1506   0.0  0.1   9580   1120  ??  Ss    7:54PM  0:00.05 /usr/sbin/syslogd -ss
messagebus  1783   0.0  0.2   9792   2348  ??  Is    7:54PM  0:01.37 /usr/local/bin/dbus-daemon --system
root        1823   0.0  0.1  11660   2224  ??  Is    7:54PM  0:00.00 /usr/sbin/sshd
root        1851   0.0  0.2  11308   2608  ??  Ss    7:54PM  0:00.23 sendmail: accepting connections (sendmail)
_dhcp       1874   0.0  0.1   9520   1348  ??  Is    7:54PM  0:00.00 dhclient: wlan0 (dhclient)
smmsp       1875   0.0  0.2  11308   2600  ??  Is    7:54PM  0:00.01 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail)
root        1881   0.0  0.1   9616   1256  ??  Ss    7:54PM  0:00.04 /usr/sbin/cron -s
haldaemon   1947   0.0  0.3  17896   4036  ??  Is    7:54PM  0:03.70 /usr/local/sbin/hald
root        1949   0.0  0.3  27296   4968  ??  I     7:54PM  0:00.12 /usr/local/sbin/console-kit-daemon --no-daemon
root        1951   0.0  0.3  21960   4876  ??  I     7:54PM  0:00.26 /usr/local/libexec/polkitd
root        1953   0.0  0.1  11768   2192  ??  I     7:54PM  0:00.01 /usr/local/libexec/gam_server
root        1954   0.0  0.2  12456   2668  ??  I     7:54PM  0:00.05 hald-runner
root        1985   0.0  0.1  12176   2104  ??  I     7:54PM  0:00.01 hald-addon-mouse-sysmouse: /dev/ums0 (hald-addon-mouse-sy)
pantu     2071   0.0  0.2  11768   3512  ??  S     7:55PM  0:23.46 /usr/local/libexec/gam_server
root        2209   0.0  0.3  17976   4632  ??  I     7:55PM  0:05.55 /usr/local/libexec/upowerd
pantu    11827   0.0  0.1   9668   1164  ??  R    10:39PM  0:00.03 /usr/bin/netstat -n -I wlan0 -b -f inet
root       62787   0.0  0.1  12176   2228  ??  I     9:16PM  0:00.05 hald-addon-mouse-sysmouse: /dev/psm0 (hald-addon-mouse-sy)
pantu    62836   0.0  0.1   9792   2288  ??  Ss    9:16PM  0:01.82 /usr/local/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
pantu    62839   0.0  0.4  18144   5740  ??  S     9:16PM  0:01.23 /usr/local/libexec/gconfd-2
pantu    62841   0.0  1.6 167880  25312  ??  Is    9:16PM  0:07.77 /usr/local/libexec/gnome-settings-daemon
pantu    62843   0.0  0.2  14220   3756  ??  I     9:16PM  0:00.10 /usr/local/libexec/gvfsd
pantu    62848   0.0  0.3  88116   4484  ??  Is    9:16PM  0:00.10 /usr/local/bin/pulseaudio --start --log-target=syslog
pantu    62849   0.0  0.4  20744   6004  ??  I     9:16PM  0:00.05 /usr/local/libexec/pulse/gconf-helper
pantu    62854   0.0  0.3  18228   4512  ??  S     9:17PM  0:00.39 /usr/local/libexec/gvfs-hal-volume-monitor
pantu    62864   0.0  0.3  14416   4484  ??  S     9:17PM  0:00.37 /usr/local/libexec/gvfsd-trash --spawner :1.8 /org/gtk/gvfs/exec_spaw/0
pantu    62866   0.0  0.2  14544   3852  ??  I     9:17PM  0:00.07 /usr/local/libexec/gvfs-gphoto2-volume-monitor
pantu    62868   0.0  0.3  14444   4488  ??  I     9:17PM  0:00.05 /usr/local/libexec/gvfsd-computer --spawner :1.8 /org/gtk/gvfs/exec_spaw/1
pantu    62870   0.0  0.4  44460   6192  ??  Is    9:17PM  0:00.11 /usr/local/libexec/bonobo-activation-server --ac-activate --ior-output-fd=27
pantu    62873   0.0  1.1 105268  17004  ??  I     9:17PM  0:19.88 /usr/local/libexec/wnck-applet
pantu    62875   0.0  0.9  89632  13556  ??  I     9:17PM  0:12.48 /usr/local/libexec/multiload-applet-2
pantu    62885   0.0  0.3  14220   3964  ??  I     9:17PM  0:00.04 /usr/local/libexec/gvfsd-burn --spawner :1.8 /org/gtk/gvfs/exec_spaw/2
pantu    62887   0.0  0.2  13668   3332  ??  I     9:17PM  0:00.09 /usr/local/libexec/gvfsd-metadata
pantu    62894   0.0  0.1  11900   1560  ??  S     9:17PM  0:13.53 libgtop-server (libgtop_server2)
pantu    77750   0.0  0.7  28544  11204  ??  I     9:53PM  0:00.23 /usr/local/bin/gnome-screensaver --no-daemon
pantu    94343   0.0  0.1  11220   1576  ??  Ss   10:13PM  0:00.07 /usr/local/bin/gpg-agent --sh --no-use-standard-socket --daemon
 --default-cache-ttl 300
pantu    98057   0.0  0.2  17408   3632  ??  I    10:20PM  0:00.03 /usr/local/libexec/evinced
root       62786   0.0  0.1  10076   1444  v0  Is    9:16PM  0:00.02 login [pam] (login)
pantu    62789   0.0  0.1  10800   2164  v0  I     9:16PM  0:00.02 -bash (bash)
pantu    62790   0.0  0.1   9900   1452  v0  I+    9:16PM  0:00.01 /bin/sh /usr/local/bin/startx
pantu    62808   0.0  0.1  10820   1624  v0  I+    9:16PM  0:00.01 xinit /home/pantu/.xinitrc -- /usr/local/bin/X :0
 -auth /home/pantu/.serverauth.627
pantu    62811   0.0  0.1  12468   2244  v0  I     9:16PM  0:00.01 ck-launch-session gnome-session
pantu    62812   0.0  0.0      0      0  v0  Z     9:16PM  0:00.01 <defunct>
pantu    62813   0.0  0.0      0      0  v0  Z     9:16PM  0:00.01 <defunct>
pantu    62815   0.0  0.0      0      0  v0  Z     9:16PM  0:00.02 <defunct>
pantu    62831   0.0  0.8  33324  12000  v0  I     9:16PM  0:01.04 gnome-session
pantu    62834   0.0  0.1  11092   1968  v0  I     9:16PM  0:00.00 dbus-launch --exit-with-session gnome-session
pantu    62847   0.0  1.4 109240  21900  v0  I     9:16PM  0:58.85 metacity
pantu    62850   0.0  1.6 108832  25420  v0  I     9:16PM  0:09.61 gnome-panel
pantu    62851   0.0  0.1  11900   1528  v0  I     9:17PM  0:00.21 libgtop-server (libgtop_server2)
pantu    62852   0.0  3.2 160912  50176  v0  I     9:17PM  0:37.12 nautilus
root       67240   0.0  0.1   9588   1132  v0  I     9:33PM  0:00.03 gnome-pty-helper
pantu    98047   0.0  1.8 121884  28388  v0  I    10:20PM  0:01.94 /usr/local/bin/evince /tmp/itinerary65391-2.pdf
root        1936   0.0  0.1   9580   1064  v1  Is+   7:54PM  0:00.00 /usr/libexec/getty Pc ttyv1
root        1937   0.0  0.1   9580   1064  v2  Is+   7:54PM  0:00.00 /usr/libexec/getty Pc ttyv2
root        1938   0.0  0.1   9580   1064  v3  Is+   7:54PM  0:00.00 /usr/libexec/getty Pc ttyv3
root        1939   0.0  0.1   9580   1064  v4  Is+   7:54PM  0:00.00 /usr/libexec/getty Pc ttyv4
root        1940   0.0  0.1   9580   1064  v5  Is+   7:54PM  0:00.00 /usr/libexec/getty Pc ttyv5
root        1941   0.0  0.1   9580   1064  v6  Is+   7:54PM  0:00.00 /usr/libexec/getty Pc ttyv6
root        1942   0.0  0.1   9580   1064  v7  Is+   7:54PM  0:00.00 /usr/libexec/getty Pc ttyv7


I was thinking of getting rid of the following, I don't know though, if it is safe to not let those run.

Code:
hald
dbus
Console-kit-daemon
polkitd
gam_server
hald-runner
ald-addon-mouse-sysmouse
dbus-daemon
gconfd-2
gnome-settings-daemon
gvfsd
pulseaudio
gvfsd
gconf-helper
gvfsd
gvfs-gphoto2-volume-monitor
gvfsd-computer
bonobo-activation-server
libgtop-server
gnome-screensaver
evinced
libgtop-server (libgtop_server2)
gnome-pty-helper

See. There seems to be a lot of stuff running by default. I am not really sure, if I need all of this. I like the automount-feature for USB sticks, but apart from that I am not sure what all this does.

So what can I remove from that, and how do I tell gnome to not load all this?
 
hmm Ok, thanks.
It was just suspicious that so much stuff is running in the background.
Maybe it's just Xorg itself which is reacting too slow.
 
@wblock:

No this is not in the xorg.conf. I have many many fonts loaded (maybe this could be a reason).
So I give a bit more detailed describtion:

When I drag a terminal window very fast around the screen (doing circles), my xorg server starts to eat up a lot of cpu power. Sometimes when dragging those windows, they will hang for a short period of time and then react again.
 
hmm, somehow I cannot edit my above post, so I have to add a new one...?

I just thought of maybe adding a ram disk for the tmp directory could help.
Some applications will probably do some disk-working which might slow them down.
What do you think?
 
The system is usually not writing to /tmp while you're dragging a window. It sounds more like your problem is not with Gnome or system code, but with xorg 2D acceleration. Look at that first. Either in this thread or maybe a new one, show your xorg.conf and /var/log/Xorg.0.log. Also describe the make and model of your video card.

Edit: ah, you already did, in this thread. I'll be over there.
 
Back
Top