Root slow at startup when connected to the internet

Hi,

I’ve noticed that if I’m connected to the internet, root takes a significantly longer time to start. I’ve noticed this only now that I’m travelling abroad…

Below is the output of “time root”, after quitting right away, when I have my airport turned off (it takes ~4 secs to start up) and when I have my airport turned on (~32 secs to startup)

I’m using root 5.13/02 on a mac OSX 10.4.11

Any ideas why this might be ?

Thanks!

Nicolas.

[Nico@Dorotea Nico]$ time root


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.13/02 29 August 2006 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      [root.cern.ch](http://root.cern.ch)            *
    
  •                                     *
    

FreeType Engine v2.1.9 used to render TrueType fonts.
Compiled on 11 September 2006 for macosx with thread support.

CINT/ROOT C/C++ Interpreter version 5.16.14, August 18, 2006
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .q

real 0m4.138s
user 0m0.729s
sys 0m0.090s
[Nico@Dorotea Nico]$ time root


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.13/02 29 August 2006 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      [root.cern.ch](http://root.cern.ch)            *
    
  •                                     *
    

FreeType Engine v2.1.9 used to render TrueType fonts.
Compiled on 11 September 2006 for macosx with thread support.

CINT/ROOT C/C++ Interpreter version 5.16.14, August 18, 2006
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .q

real 0m32.587s
user 0m0.746s
sys 0m0.106s
[Nico@Dorotea Nico]$

When starting root with “root” the splash screen is shown and this requires the X11 server to contact your name server.
Coukld you repeat the same operation with

time root -l -q or

time root.exe -q or

time root -b -q
On my MAC each of the 3 commands above take 0.6 seconds where

time root -q takes 4 seconds

Rene

Hi,

I still get a slow startup even when running in batch mode, and it’s much faster when I turn off the airport. Below are the outputs of each command.

With the airport on it took 36 secs for root -l -q and 30 secs for root -b -q, and 1 sec and 0.7 sec respectively with the airport off…

Nicolas


[Nico@Dorotea Nico]$ time root -l -q
root [0]

real 0m36.923s
user 0m0.890s
sys 0m0.190s
[Nico@Dorotea Nico]$ time root -b -q


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.13/02 29 August 2006 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      [root.cern.ch](http://root.cern.ch)            *
    
  •                                     *
    

Compiled on 11 September 2006 for macosx with thread support.

CINT/ROOT C/C++ Interpreter version 5.16.14, August 18, 2006
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0]

real 0m30.753s
user 0m0.537s
sys 0m0.075s
[Nico@Dorotea Nico]$ echo "Now I turn off the airport"
Now I turn off the airport
[Nico@Dorotea Nico]$ time root -l -q
root [0]

real 0m1.070s
user 0m0.754s
sys 0m0.085s
[Nico@Dorotea Nico]$ time root -b -q


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.13/02 29 August 2006 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      [root.cern.ch](http://root.cern.ch)            *
    
  •                                     *
    

Compiled on 11 September 2006 for macosx with thread support.

CINT/ROOT C/C++ Interpreter version 5.16.14, August 18, 2006
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0]

real 0m0.730s
user 0m0.524s
sys 0m0.071s
[Nico@Dorotea Nico]$

Could you try with a recent version of ROOT?

Cheers, Fons.

Hi,

with root 5.14 I don’t have this problem.

Thanks!

Nicolas