Mediaportal is really slow after resuming from sleep. (2 Viewers)

Jay_UK

Test Group
  • Team MediaPortal
  • October 6, 2009
    1,780
    283
    Derby
    Home Country
    United Kingdom United Kingdom
    Hi there,

    The concept of hybrid sleep, is that when the device goes into standby, the contents of the memory is written to disk (as well as being kept in RAM), such that in the event of a power failure, the standby state can be restored from disk (when the RAM copy is lost).

    With some RAM Drive programs, when you enter standby with hybrid sleep, the memory used by the RAM Drive (eg 2GB or more) is also written to the hibernation file. So you are now writing GB's worth of data to the file - which can slow the standby process down.

    J.
     

    corporate_gadfly

    Portal Pro
    May 17, 2011
    396
    136
    Home Country
    Canada Canada
    That is a really good point. I assumed that it might be a problem with memory but there is always the possibility of the processor going flat out for some reason.
    I shall start task manager and write down what is happening in terms of CPU, RAM etc. and then try it again when it next starts to run slowly following resume and see if there is a noticable difference.
    Hi there,

    In my case, i was getting slow startup (and slow resume from sleep) because of one particular plugin. So, I started by eliminating all plugins and adding them one-by-one, until I could reproduce the slowness (I know... tedious). MP-TVSeries was somehow hanging and pegging CPU. After finding that out, I did an uninstall, followed by a fresh install (for MP-TVSeries) and it has been behaving since (perhaps the MP-TVSeries database was corrupted).

    In any case, just an idea.

    Cheers and hope the gremlins go away.
     

    elsmandino

    Portal Pro
    March 3, 2011
    351
    12
    Home Country
    United Kingdom United Kingdom
    After having messed around with the HTPC over the long weekend, I think I have finally cracked it. It appears that all my problems were being caused by the fact that I was not using static IP addresses. This had been mentioned by a number of people to me before but for a different problem, which unfortunately it did not cure

    Just in case it helps anyone else with the same problem, I assigned a static IP address to every one of my computers and then rather then letting the TV Server authomatically assign an address, I told it to only use its own address every time (in my case 192.168.1.9). I then configured mediaportal on each device to use this IP address as a client.

    I have had my setup up and running for a few days now and the stalling problem seems to have gone away.

    Though I am chuffed to bits that my problem has been solved, I cannot help but wonder why allowing dynamic IP addresses was causing such problems in my set up. Any ideas, if only out of curiousity?

    P.S. Further to Jay and Corporate Gadfly's further comments, I am leaving my set up in sleep mode anyway from now on and I am going to have a careful look at what affect all my plugins are having on my system generally to see if they are hogging resources. Thanks very much for the advice in relation to this.

    Alex
     

    Users who are viewing this thread

    Top Bottom