On Sat, Jan 28, 2006 at 11:49:41PM +0100, Josselin Mouette wrote:
> Le samedi 28 janvier 2006 ? 16:36 +1100, Peter Eckersley a ?crit :
> > Hmmmm.  I still notice much higher latency for a new window opened by 
> > running
> > "gnome-terminal" than for one opened from the File menu.  Perhaps this is an
> > IPC overhead?
> 
> This is caused by the need to load the binary and all its libraries,
> while it will just send a request to the running instance. 

Aha!  In that case, perhaps there should be a very small binary with just
enough stuff linked to check if another instance is running?  If not, it could
exec() the real binary.  A wrapper script even?

Maybe this is too much work for a small performance improvement, but 
gnome terminals do feel slow to load, even on this newish Sempron box.

> I think the
> overhead introduced by CORBA is negligible, compared to the time needed
> by the dynamic linker to load the binary.
> -- 
>  .''`.           Josselin Mouette        /\./\
> : :' :           [EMAIL PROTECTED]
> `. `'                        [EMAIL PROTECTED]
>   `-  Debian GNU/Linux -- The power of freedom



-- 
Peter Eckersley
Department of Computer Science   &                  mailto:[EMAIL PROTECTED] 
IP Research Institute of Australia             http://www.cs.mu.oz.au/~pde
The University of Melbourne               

Reply via email to