MCS manager [WAS: screenshot plugin and xfmenu grab]

Olivier Fourdan fourdan at xfce.org
Sun Mar 12 18:02:07 CET 2006


Hi Benny,

Benedikt Meurer wrote:
> 
> Please, not another useless MCS plugin. The MCS manager already takes a
> lot of time to startup and requires way too much memory. Why not simply
> store the two/three prefs using XfceRc (that's what the panel does)?

I don't know why you keep saying that the MCS manager requires too much 
memory. It does its job and I'm not sure it uses more memory than other 
components.

If I look at the values on my system, I see nothing wrong with MCS 
manager memory usage:

mcs-manager
===========
Virtual memory: 89.8Mb
Resident memory:7.2Mb
Shared memory: 3.6Mb

Compared with other components:

Thunar
======
Virtual Memory: 101.1 Mb
Resident memory: 13.5 Mb
Share memory 8.2 Mb

Terminal
========
Virtual memory: 81.4Mb
Resident memory: 17.2Mb
Shared memory: 7.9Mb

xfwm4
=====
Virtual memory: 62.7Mb
Resident memory: 8.9Mb
Shared memory: 6.1Mb

xfce4-panel
===========
Virtual memory: 75.6Mb
Resident memory: 11.4Mb
Shared memory: 7.1Mb

Ubuntu update notifier
======================
Virtual memory: 96.4Mb
Resident memory: 11.5Mb
Shared memory: 8.4Mb

xfdesktop
=========
Virtual memory: 97.0Mb
Resident memory: 12.6Mb
Shared memory: 7.8Mb

Now about startup time. It's usually the first component to run, so it 
has to load all of the missing libraries. When I look at the numbers (by 
enabling --enable-loadprof for example), I don't think it's that much of 
a problem :

Started /usr/lib/xfce4/mcs-plugins/ui_plugin.so in 1.252189 sec.
Started /usr/lib/xfce4/mcs-plugins/keyboard_plugin.so in 0.028981 sec.
Started /usr/lib/xfce4/mcs-plugins/mouse_plugin.so in 0.028982 sec.
Started /usr/lib/xfce4/mcs-plugins/screensaver_plugin.so in 0.008994 sec.
Started /usr/lib/xfce4/mcs-plugins/shortcuts_plugin.so in 0.074951 sec.
Started /usr/lib/xfce4/mcs-plugins/display_plugin.so in 0.023985 sec.
Started /usr/lib/xfce4/mcs-plugins/sound_settings.so in 0.011992 sec.
Started /usr/lib/xfce4/mcs-plugins/session_settings.so in 0.000000 sec.
Started /usr/lib/xfce4/mcs-plugins/splash_settings.so in 0.001999 sec.
Started /usr/lib/xfce4/mcs-plugins/terminal_settings.so in 0.017988 sec.
Started /usr/lib/xfce4/mcs-plugins/backdrop_settings.so in 0.011992 sec.
Started /usr/lib/xfce4/mcs-plugins/workspaces_plugin.so in 0.595614 sec.
Started /usr/lib/xfce4/mcs-plugins/xfwm4_plugin.so in 0.131915 sec.
Started /usr/lib/xfce4/mcs-plugins/orage_plugin.so in 0.001999 sec.
Started /usr/lib/xfce4/mcs-plugins/xfprint_plugin.so in 0.016989 sec.
Started /usr/lib/xfce4/mcs-plugins/wmtweaks_plugin.so in 0.000999 sec.
Started 
/usr/lib/xfce4/mcs-plugins/exo-preferred-applications-settings.so in 
0.000999 sec.

(I suspect the ui plugin is taking longer because it affect gtk apps and 
the mcs manage ritself is a gtk application, and therefore it has to 
update its theme and engine in the same time)

Cheers,
Olivier.




More information about the Xfce4-dev mailing list