Help with slow tuning (4 Viewers)

ianc

MP Donator
  • Premium Supporter
  • December 29, 2007
    132
    1
    wicklow
    Home Country
    Ireland Ireland
    C: drive is 180 of 300GB free with minimal fragmentation - not SSD.
    Timeshit drive is 400GB of 2TB (mirrored & striped).
    CPU use is nominal <5%, physical memory is about 40% available (2GB total).

    However the log file was only about 60-70KB and tuning was very quick.
    So I stopped the service again and copied the earlier large (10mb) log file back and restarted the service.
    Selected a channel and.......
    CPU use increased to 30% and channel selection took >10 seconds. CPU dropped back to <5% once the channel was visible.
    Deleted the log restarted and all was quick again.

    So it appeared to be directly related to the log file size.
    Could portions of the logging code be doing scans? I don't know and I'm too incompetent to check!
    Then I relaised I'd seen the problem before - A virus scanner buggering up a log file writer on NT4.
    I told EndPoint to ignore the log file directory and the problem is now avoided.

    My question still stands though - Is there a way to reduce the verbosity of the TVServer logfie?
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Then I relaised I'd seen the problem before - A virus scanner buggering up a log file writer on NT4.
    I told EndPoint to ignore the log file directory and the problem is now avoided.
    Great. :)

    My question still stands though - Is there a way to reduce the verbosity of the TVServer logfie?
    As I recall there is a config file either in the ProgramData or Program folder that allows you to specify this. I'm in a bit of a rush at the moment though so I'm sorry for the lack of specifics.
     

    StarWup

    Portal Pro
    April 7, 2011
    113
    5
    Home Country
    Germany Germany
    I've battled with the delay for a year and never been able to find a proper solution. Switching channels in DVBViewer never takes more than 2 seconds, switching the same channels in MediaPortal never takes less than 5 seconds. I've kind of given up on finding a solution to this to be honest. The timeshift folder is on a RAMDisk and is excluded from the virus scanner (MS Security Essentials) as well as the TvService.exe. System drive is a fast SSD. The whole system is fast as hell except for channel switching and for a 3-4 sec delay when starting up MePo when it comes to "Loading Display Plugins". Waiting for MePo v2.0 to fix that ;-)
     

    octessence

    Portal Pro
    May 8, 2012
    76
    10
    Germany
    Home Country
    United Kingdom United Kingdom
    I've battled with the delay for a year and never been able to find a proper solution. Switching channels in DVBViewer never takes more than 2 seconds, switching the same channels in MediaPortal never takes less than 5 seconds. I've kind of given up on finding a solution to this to be honest. The timeshift folder is on a RAMDisk and is excluded from the virus scanner (MS Security Essentials) as well as the TvService.exe. System drive is a fast SSD. The whole system is fast as hell except for channel switching and for a 3-4 sec delay when starting up MePo when it comes to "Loading Display Plugins". Waiting for MePo v2.0 to fix that ;-)

    N.B. excluding tvserver.exe from "Excluded files and locations" does nothing. Excluding it from "Exclude processes" is what fixed the problem for me.
     

    StarWup

    Portal Pro
    April 7, 2011
    113
    5
    Home Country
    Germany Germany
    Try fully disabling security essentials

    Post debug logs.


    What tuner card do you have


    Well, fully disabling MSE isn't an option since I do not want to run without virus scan. Instead I added both services (mediaportal.exe and tvservice.exe) to the service exclusions and additionally the drive R: to the path exclusions (which is my DATARam ram disk and holds the timeshift buffers).
    Shifting time reduced to about 3 seconds which is OK for me. So I guess that worked well. Thank you for the advice and thanks to oczessence, too.

    As you can see from my system specs I run a TECHNOTREND TT-budget S2-1600 DVB-S2 PCI-Card. The drivers are the manufacturers standard BDA drivers for Win7 x64. The card works reliable except some "No signal"-errors now and then when shifting. Shifting to the same channel again will clear the problem. That's ok for me since it's a low budget card.
     

    octessence

    Portal Pro
    May 8, 2012
    76
    10
    Germany
    Home Country
    United Kingdom United Kingdom
    Well, fully disabling MSE isn't an option since I do not want to run without virus scan.

    Although it's an excellent way to determine whether that program is the cause.

    I have recently had other issues will slow data transfer from DVDs so I'm thinking of giving Avast a go instead.
     

    spacemanc

    MP Donator
  • Premium Supporter
  • October 20, 2011
    89
    14
    48
    I've just updated to 1.3beta and Win8 which meant I lost the TBS patch I was using with the custom data grabber. I found this thread while searching for a new TBS patch, but the tips in the thread have already brought down the channel change time considerably. It makes me wonder how fast the changes would have been if I had stayed on 1.2.3 with the TBS patch and then applied the changes in this thread!

    I really think that the DEV's should devote more time to things like the channel change speed rather than new features, as it's something we all see and are affected by everyday.
     
    Last edited:

    octessence

    Portal Pro
    May 8, 2012
    76
    10
    Germany
    Home Country
    United Kingdom United Kingdom
    I'm sure they'd welcome your input if you supplied a patch...

    For this one I don't think the devs can be blamed. My problems were causes by Security Essentials not by MP.
     
    Last edited:

    spacemanc

    MP Donator
  • Premium Supporter
  • October 20, 2011
    89
    14
    48
    I'm sure they'd welcome your input if you supplied a patch...

    For this one I don't think the devs can be blamed. My problems were causes by Security Essentials not by MP.

    I wasn't blaming the DEV's and I'm not sure that a patch would even be appropriate, because I know alot of people would not want any security features turned off. But it would be good if people knew about this "problem" or maybe had a tick box to turn of security on the relevant files, so that it was a little more obvious.
     

    Users who are viewing this thread

    Top Bottom