diff options
author | Brian Cameron <brian.cameron@sun.com> | 2006-02-07 23:57:27 +0000 |
---|---|---|
committer | Brian Cameron <bcameron@src.gnome.org> | 2006-02-07 23:57:27 +0000 |
commit | 55230e8582165a3b96fe7e664428deec46ffeef6 (patch) | |
tree | 2508920aa5ae737297adfc929709f8aa5b029710 /docs | |
parent | be18056421a0241a2843e1a65727da2b8f390b68 (diff) | |
download | gdm-55230e8582165a3b96fe7e664428deec46ffeef6.tar.gz |
This patch resolves some performance issues that I noticed when testing
2006-02-07 Brian Cameron <brian.cameron@sun.com>
This patch resolves some performance issues that I noticed when
testing GDM with the gdmdynamic command. I notice that waiting for
the sockets to timeout made gdmdynamic slower so now all the clients
load all the configuration data in one quick pass and close the
socket. Since the gdm_config_get functions cache the data, the slaves
will not go over the socket to get the data again unless asked to
reread. Bump the maximum messages over the socket from 20 to 80
because gdmlogin pulls about 65 configuration parms over and this
allows all data to be accessed in one connection (and gives a little
room for growth). Improved the way GDM slaves deal with syslog so all
slaves use the same interfaces. Added three missing keys to the daemon
configuration handling code.
* daemon/gdmconfig.c: Add three keys that were missing for background
program support.
* gui/gdmcomm.[ch]: Now if there is a failure connecting to the daemon,
the slave will sleep 1 second before retry (normally retries 5
times). If all retries fail, it will not try sleeping on subsequent
calls to the daemon. This greatly improves performance when the
daemon is flooded with slave requests. In normal usage, this will
likely not happen, but it is good for GDM to not fail so easily.
Added better debug. Added gdm_comm_close function so that slaves
can ask to close the socket when done reading config. Now uses
common syslog functions.
* daemon/gdm.h: Add better comments, rename GDM_SUP_MAX_CONNECTIONS
to GDM_SUP_MAX_MESSAGES which is more accurate, and bump the max
number to 80.
* gui/gdmcommon.h, gui/gdmwm.h, gui/gdmsession.h: Added common syslog
functions to gdmcommon.h and moved some functions that were in
gdmcommon.h to gdmwm.h and gdmsession.h since the implementations
were in those c-files. Renamed functions to make naming consistant.
* gui/gdmXnestchooser, gui/gdmchooser.c, gui/gdmcommon.c,
gui/gdmconfig.c, gui/gdmdynamic.c, gui/gdmflexiserver.c,
gui/gdmlogin.c, gui/gdmphotosetup.c, gui/gdmsession.c, gui/gdmwm.c,
gui/greeter/greeter.c, gui/greeter/greeter_item_ulist.c,
gui/greeter/greeter_session.c, gui/greeter/greeter_system.c: Slaves
close sockets connection when done reading config. Now slaves use
common syslog functions. Naming changes to reflect renaming of
functions in gdmcommon.h/gdmwm.h/gdmsession.h. Better debug.
* daemon/auth.c, daemon/cookie.c, daemon/display.c, daemon/gdm.c,
daemon/gdm-net.c, daemon/misc.c, daemon/slave.c, daemon/xdmcp.c,
gui/gdmlanguages.c, gui/greeter/greeter_canvas_item.c,
gui/gdmsetup.c, vicious-extensions/ve-config.c: Make spacing around
"++" more consistant. Add better debug in some functions
Diffstat (limited to 'docs')
-rw-r--r-- | docs/es/es.po | 4 | ||||
-rw-r--r-- | docs/es/gdm.xml | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/es/es.po b/docs/es/es.po index e36863c6..45682dd2 100644 --- a/docs/es/es.po +++ b/docs/es/es.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: es\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-02-02 17:04-0800\n" +"POT-Creation-Date: 2006-02-02 17:06-0800\n" "PO-Revision-Date: 2006-01-22 13:10+0100\n" "Last-Translator: Francisco Javier F. Serrador <serrador@cvs.gnome.org>\n" "Language-Team: Spanish <traductores@es.gnome.org>\n" @@ -223,7 +223,7 @@ msgstr "" #, fuzzy msgid "" "This manual describes version 2.13.0.7 of the GNOME Display Manager. It was " -"last updated on 01/15/2006." +"last updated on 02/02/2006." msgstr "" "Este manual describe la versión 2.13.0.6 del Gestor de entrada de Gnome. Se " "actualizó por última vez en 15/01/2006." diff --git a/docs/es/gdm.xml b/docs/es/gdm.xml index e9c8e460..ab213959 100644 --- a/docs/es/gdm.xml +++ b/docs/es/gdm.xml @@ -2,7 +2,7 @@ <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ <!ENTITY legal SYSTEM "legal.xml"> <!ENTITY version "2.13.0.7"> -<!ENTITY date "01/15/2006"> +<!ENTITY date "02/02/2006"> ]> <article id="index" lang="es"> <articleinfo> @@ -64,14 +64,14 @@ - <releaseinfo>This manual describes version 2.13.0.7 of the GNOME Display Manager. It was last updated on 01/15/2006.</releaseinfo> + <releaseinfo>This manual describes version 2.13.0.7 of the GNOME Display Manager. It was last updated on 02/02/2006.</releaseinfo> </articleinfo> <sect1 id="preface"> <title>Términos y convenciones usados en este manual</title> - <para>This manual describes version 2.13.0.7 of the GNOME Display Manager. It was last updated on 01/15/2006.</para> + <para>This manual describes version 2.13.0.7 of the GNOME Display Manager. It was last updated on 02/02/2006.</para> <para>Selector - Un programa que se usa para seleccionar un equipo remoto para gestionar una pantalla remotamente en la pantalla local (<command>gdmchooser</command>).</para> |