MediaPortal startup time (1 Viewer)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    it could be nice to set hostname ip in hosts files :
    C:\Windows\System32\Drivers\etc\hosts
    Ip of my server is 192.168.0.1 and hostname is server

    Put inside hosts :
    192.168.0.1 server

    :)
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    RC is approx 18s for me in debug mode but there's still a 5s delay between these two events:

    2013-02-07 16:31:22.842765 [Debug][(9)]: PS: Check whether the next event is almost due
    2013-02-07 16:31:27.121010 [Debug][MPMain(1)]: GUIFont:texture disposing:0 debug

    In normal mode with the plugins enabled, it takes approx 41s and the biggest problem seems to be this 24s delay between these two events:

    2013-02-07 16:28:33.877039 [Debug][FileSystemManager Thread(6)]: FileLookUpCacheThread items : 891
    2013-02-07 16:28:57.965416 [Info.][MPMain(1)]: Checking external players plugins compatibility

    Logs attached. Don't worry about the errors at the end of the plugins.log, that was no doubt caused be me force-closing MP once it had finished loading to stop the log getting cluttered with further events and making it hard to see when it had finished loading.
     

    megahorst

    Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Home Country
    Germany Germany
    @doveman:
    Have you activated the file existence cache?

    I have mentioned delays when resuming from suspend that are based on this feature.
    The delay that you have mentioned could be related to this too.

    See my statement here:
    Area51
    You should try to disable this feature and check your logs for delays after wards.
    WIKI: Disable file existence cache
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    @doveman:
    Have you activated the file existence cache?

    I have mentioned delays when resuming from suspend that are based on this feature.
    The delay that you have mentioned could be related to this too.

    Interesting, with that option disabled the debug-load goes down to 5s (from 18s) but the plugin-load is worse at 50s (up from 41s) with the biggest delays being:

    2013-02-08 14:11:53.787898 [Info.][FilterChecker(5)]: FilterChecker: Version of installed quartz.dll: 6.6.7600.16385
    2013-02-08 14:11:59.769241 [Info.][MPMain(1)]: [MPEI] Using language en

    2013-02-08 14:12:04.293499 [Info.][(15)]: [MPEI] Next download of updates scheduled for 14/02/2013 12:18:59
    2013-02-08 14:12:33.640178 [Info.][MPMain(1)]: Checking external players plugins compatibility
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    2013-02-08 14:11:53.787898 [Info.][FilterChecker(5)]: FilterChecker: Version of installed quartz.dll: 6.6.7600.16385
    2013-02-08 14:11:59.769241 [Info.][MPMain(1)]: [MPEI] Using language en

    That is not a real delay, different thread is used for the filter checker (it looks just file details). Delay is something that is not logged - I would assume MPEI makes some network access.

    2013-02-08 14:12:04.293499 [Info.][(15)]: [MPEI] Next download of updates scheduled for 14/02/2013 12:18:59
    2013-02-08 14:12:33.640178 [Info.][MPMain(1)]: Checking external players plugins compatibility

    Again this might be some MPEI related delay.
     
    Last edited:

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    I disabled the Extensions plugin and it still took 37s with this big gap:

    2013-02-08 15:10:46.757973 [Info.][FilterChecker(5)]: FilterChecker: Version of installed quartz.dll: 6.6.7600.16385
    2013-02-08 15:11:14.766575 [Info.][MPMain(1)]: Checking external players plugins compatibility
     

    Terra

    Portal Pro
    August 25, 2009
    230
    57
    Home Country
    Austria Austria
    @Terra
    can you set IP address instead of TVServer host name and test it?
    I did that and now the delay is gone!!
    Quite strange that this is connected with the issue, I can ping my TV-Server without any problems instanty with the hostname.
    Startup is quite fast now (y)

    --------
    2013-02-09 18:01:41.807896 [Debug][MPMain(1)]: TVHome.LoadSettings(): Preferred Audio Languages: deu;ger;eng;
    2013-02-09 18:01:41.810897 [Info.][MPMain(1)]: Prefered language 1 is deu
    2013-02-09 18:01:41.810897 [Info.][MPMain(1)]: Prefered language 2 is ger
    2013-02-09 18:01:41.810897 [Info.][MPMain(1)]: Prefered language 3 is eng
    2013-02-09 18:01:41.815897 [Info.][MPMain(1)]: TVHome V1.2.300.0:ctor
    2013-02-09 18:01:41.816897 [Info.][MPMain(1)]: TvNotify: start
    2013-02-09 18:01:41.830898 [Info.][MPMain(1)]: newsearch ctor
    2013-02-09 18:01:41.830898 [Info.][MPMain(1)]: newsearch init
    --------
     

    DragonQ

    Portal Pro
    August 30, 2011
    644
    79
    Home Country
    United Kingdom United Kingdom
    I've found that with the relevant MSE exclusions, using UNC paths, and using IP addresses instead of host names, MediaPortal starts TV and changes channels just as fast on my clients as on the main HTPC. Which is great news for my future plan of moving the TV-Server to my home server. ;)
     

    x4mer

    MP Donator
  • Premium Supporter
  • November 8, 2007
    306
    24
    Toronto
    Home Country
    Canada Canada
    @Terra
    can you set IP address instead of TVServer host name and test it?
    I did that and now the delay is gone!!
    Quite strange that this is connected with the issue, I can ping my TV-Server without any problems instanty with the hostname.
    Startup is quite fast now (y)

    Yep. Never had to do this with 1.2.3 though, only since moving to 1.3B. In the past I've always used hostname, and never had that large delay.
     

    Users who are viewing this thread

    Top Bottom