Re: root.exe startup is slow in mac 10.6.4

From: xsatya <xsatya_at_gmail.com>
Date: Sun, 15 Aug 2010 09:53:43 +0530


Hello,

Thank you very much. Earlier I left the DNS "search domain" as blank. Now I have put one domain name (my institute dn). It is much faster now.

time root.exe -n -q -l

real 0m3.520s
user 0m0.103s
sys 0m0.025s

However it is remaining still slower when I disconnected from network. I tried few of DNS settings, like switching "IPv6" off, DNS Search to "local". Butting nothing works out when it is not connected to net.

Could you please suggest if any thing could be done. Thanks,

With regards,
satya

On Sat, Aug 14, 2010 at 10:59 PM, Fons Rademakers <Fons.Rademakers_at_cern.ch>wrote:

> Hi,
>
> As you can see ROOT is waiting in gethostbyname(). This is normally due
> to a misconfigured dns. Check the dns setting in you config panel. Maybe
> there is a search domain still specified that is not available anymore. See
> e.g. <http://www.macosxhints.com/article.php?story=20071221101005962>
> http://www.macosxhints.com/article.php?story=20071221101005962
>
> Cheers, Fons.
>
> On 14 Aug 2010, at 13:52, xsatya <xsatya_at_gmail.com> wrote:
>
> Hello Fons,
>
> rootlogon.C is default one. I have not changed it.
>
> Still it takes long time even if I do root.exe -n option. I tried to checks
> through Activity Monitor and following is the outputs from *"Inspect"*
>
> /Users/sjena
> /Users/sjena/AliSoft/v5-26-00c/bin/root.exe
> /Users/sjena/AliSoft/v5-26-00c/lib/libCore.5.26.so
> /Users/sjena/AliSoft/v5-26-00c/lib/libCint.5.26.so
> /Users/sjena/AliSoft/v5-26-00c/lib/libMathCore.5.26.so
> /Users/sjena/AliSoft/v5-26-00c/lib/libRint.5.26.so
> /usr/lib/dyld
> /private/var/db/dyld/dyld_shared_cache_x86_64
> /dev/ttys000
> /dev/ttys000
> /dev/ttys000
> /private/var/folders/Yw/YweMm3pTHiioSeYBkDwZqE+++TI/-Tmp-/tmp.o1mMiq
> ->0x05dd5710
>
> *it waits here for maximum time ( ~30sec )*
>
> /private/var/folders/Yw/YweMm3pTHiioSeYBkDwZqE+++TI/-Tmp-/tmp.kfeor5
> /private/var/folders/Yw/YweMm3pTHiioSeYBkDwZqE+++TI/-Tmp-/tmp.gbbBON
> /Users/sjena/AliSoft/v5-26-00c/etc/plugins/TSystem/P010_TRFIOSystem.C
> /Users/sjena/AliSoft/v5-26-00c/etc/plugins/TSystem/P020_TDCacheSystem.C
> /Users/sjena/AliSoft/v5-26-00c/etc/plugins/TSystem/P030_TAlienSystem.C
> /Users/sjena/AliSoft/v5-26-00c/etc/plugins/TSystem/P040_TXNetSystem.C
> /Users/sjena/AliSoft/v5-26-00c/etc/plugins/TSystem/P050_TWebSystem.C
> /Users/sjena/AliSoft/v5-26-00c/etc/plugins/TSystem/P060_THDFSSystem.C
> /Users/sjena/AliSoft/v5-26-00c/cint/cint/include/iostream
> /Users/sjena/AliSoft/v5-26-00c/cint/cint/include/iostream.h
> /Users/sjena/AliSoft/v5-26-00c/cint/cint/include/iosenum.h
> /Users/sjena/AliSoft/v5-26-00c/cint/cint/include/bool.h
> /Users/sjena/AliSoft/v5-26-00c/cint/cint/include/_iostream
> /Users/sjena/AliSoft/v5-26-00c/cint/cint/stl/_string
> /Users/sjena/AliSoft/v5-26-00c/include/RtypesCint.h
> /Users/sjena/AliSoft/v5-26-00c/include/DllImport.h
> ------------
>
> I have attached a txt file captured from *"Sample Process"*
>
> Thanks and regards,
> satya
>
> On Sat, Aug 14, 2010 at 2:17 PM, Fons Rademakers <<Fons.Rademakers_at_cern.ch>
> Fons.Rademakers_at_cern.ch> wrote:
>
>> Hi,
>> Do you have something in your rootlogon.C file or .rootrc? Please try
>> root.exe -n. If still happens, run activity monitor and while it hang/waits
>> do stack trace by selecting root.exe.
>>
>> Cheers, Fons.
>>
>> On 14 Aug 2010, at 06:29, xsatya < <xsatya_at_gmail.com>xsatya_at_gmail.com>
>> wrote:
>>
>> > Hi,
>> >
>> > root.exe startup is very slow in my mac.
>> >
>> > MAC 10.6.4, 2.4GHz, 2GB Ram, Xcode 2.3.3
>> >
>> > gcc version 4.2.1 (Apple Inc. build 5664)
>> >
>> > gcc version 4.2.1 (Apple Inc. build 5659) + GF 4.2.4 { gfortran }
>> >
>> > --------------
>> > I have tested with both root_v26-00-00b
>> > time root.exe -b -q
>> >
>> > real 0m33.273s
>> > user 0m0.128s
>> > sys 0m0.064s
>> > ---------------------
>> > root_v26-00-00c
>> > time root.exe -b -q
>> >
>> > real 0m32.213s
>> > user 0m0.078s
>> > sys 0m0.022s
>> > -------
>> > I tried to read couple of posting, but didn't get any solution. Could
>> any one suggest how to improve it.
>> >
>> > Thanks,
>> > Satya
>> > --
>> > ---------------
>> > Research Student,
>> > High Energy Physics, India.
>>
>
>
>
> --
> ---------------
> Research Student,
> High Energy Physics, India.
>
> <SampleRoot.txt>
>
>

-- 
---------------
Research Student,
High Energy Physics, India.
Received on Sun Aug 15 2010 - 06:23:51 CEST

This archive was generated by hypermail 2.2.0 : Sun Aug 15 2010 - 17:50:01 CEST