Re: [ROOT] root startup time

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Dec 28 2001 - 12:18:56 MET


Hi Bill,

   the delay is due to all the X11 messages sent between app and X server.
We already greatly reduced the startup time by delaying as much as possible
the initialization of X resources, like fonts and colors (especially on
true color and direct color devices). To improve things more one can think of
a higher level protocol than X11 (an initial attempt was made in the 
TGXServer and TGXClient classes, but quite some work remains to be done to 
make it fully functional). Another approach is to not use X11 over WAN but 
make a simple event server (maybe just accessing remote event files via
rootd is enough) and a local event display (like one would have to do in
a Windows environment anyway).

Cheers, Fons.



On Thursday 27 December 2001 19:35, William Hanlon wrote:
> Hi,
>
> When I start root on a remote machine (e.g. through an xterm) the
> delay in starting becomes significant. I am writing an application
> that will use root as an event display and would like to reduce that
> delay. Is there anything that I can do in my code to reduce that time
> during starting root?
>
> I use the following code to include root in my program:
> #include "TROOT.h"
> #include "TApplication.h"
> #include "TCanvas.h"
> #include "TLine.h"
> TROOT simple("simple","event display");
> TApplication theApp("App", 0, NULL);
>
>
> Thanks,
> Bill

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:14 MET