High CPU usage of TvService.exe when timeshifting and recording.

Discussion in 'Television (MyTV frontend and TV-Server)' started by Sethiano, June 21, 2007.

  1. Sethiano

    Sethiano Portal Member

    Joined:
    June 9, 2007
    Messages:
    7
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Sweden Sweden
    TV-Server Version: TVEngine3 Snapshot: 06-21
    MediaPortal Version: MediaPortal SVN-Snapshot: 06-21-2007
    MediaPortal Skin: BlueTwo Wide
    Windows Version: XP Professional SP2
    CPU Type: Celeron 2,6 Ghz
    HDD: Seagate 250 GB 16 MB cache
    Memory: 1024 MB
    Motherboard:
    Motherboard Chipset:
    Motherboard Bios:
    Video Card: Powercolor Radeon 9600 PRO 128 MB
    Video Card Driver:
    Sound Card: Soundblaster Augility 2
    Sound Card AC3:
    Sound Card Driver:
    1. TV Card: Hauppauge PVR 350 (analogue)
    1. TV Card Type:
    1. TV Card Driver:
    2. TV Card:
    2. TV Card Type:
    2. TV Card Driver:
    MPEG2 Video Codec: MPV
    MPEG2 Audio Codec: MPA
    Satelite/CableTV Provider: ComHem
    HTPC Case:
    Cooling:
    Power Supply: FPS 350 W
    Remote: Hauppauge 45 Button
    TV: Sony HD 32 "
    TV - HTPC Connection: VGA

    Hi all!

    I have used the TV-server (mostly the 2006-06-10 snapshot) for some days and suddenly today the total CPU usage when timeshifting and recordning (only in the TVSetup.exe not in Mediaportal.exe) peaks at around 75 -100 % compared to around 30 % before.
    After investigating the running prcesses closer I have found that the TVservice.exe is accaully around 20 % - 30%, but the "System" process (not to be confused with the System Idle Process) is also aorund 20-30% witch seems kinda stange.

    Any ideas?


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. gibman
    • Team MediaPortal

    gibman Retired Team Member

    Joined:
    October 4, 2006
    Messages:
    2,998
    Likes Received:
    1,321
    Occupation:
    Developer
    Location:
    Aarhus
    Ratings:
    +1,372 / 0
    Home Country:
    Denmark Denmark
    Are u using any plugins on the server ?

    ex. the XMLtv plugin will eat up quite a few cpu cycles when importing EPG data.

    Try and disable all avail. plugins.
    Then watch CPU usage.

    /Gibman
     
  4. Sethiano

    Sethiano Portal Member

    Joined:
    June 9, 2007
    Messages:
    7
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Sweden Sweden
    Thanks for the tip. I did as you wrote and disabled all TV server plugins, but the CPU usage remained on the same level.
    I also observed that the vsmon.exe process used by Zone alarm is quite demanding when recoding (around 10 % of total CPU).

    Any other tips are more then welcome!
     
  5. Roberdin

    Roberdin Portal Pro

    Joined:
    December 26, 2005
    Messages:
    114
    Likes Received:
    3
    Location:
    London, United Kingdom
    Ratings:
    +3 / 0
    Try using Process Explorer (it's like a super Task Manager) to determine which thread is causing the problem.
    http://www.microsoft.com/technet/sysinternals/utilities/ProcessExplorer.mspx

    Once running, double click on TvService.exe and click on the Threads tab. After a few moments, it will show you how much CPU usage per thread is being consumed. I don't know how ZoneAlarm works but it may be introducing a 'hook' into one of the threads, if you double click on the troublesome thread it will show you a stack trace (that is, how the thread got to the stage it is at now) which may reveal a foreign process is interfering with the TV Service. In any case, it's a useful (and free) tool for diagnosing these type of issues.
     
  6. Sethiano

    Sethiano Portal Member

    Joined:
    June 9, 2007
    Messages:
    7
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Sweden Sweden
    Hmm... I didn't see anything unusual really. There was alot of hardware interupts and the "Interupt process" was peaking at 30%, but that seems quite reasonable due to the continuously writing to the disk.
     
  7. Syntaxius

    Syntaxius New Member

    Joined:
    September 30, 2007
    Messages:
    4
    Likes Received:
    1
    Ratings:
    +1 / 0
    Home Country:
    Sweden Sweden
    Does anyone have another tips what can be the problem if your CPU is at 70%-100% constantly when timeshifting and recording if you have a card doing hardware decoding?
     
  8. Paranoid Delusion
    • Team MediaPortal

    Paranoid Delusion Moderation Manager

    Joined:
    June 13, 2005
    Messages:
    13,062
    Likes Received:
    1,481
    Gender:
    Male
    Occupation:
    Electrical Engineer
    Location:
    Cheshire
    Ratings:
    +1,482 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Besides the obvious, if you are using as a HTPC, check if Virus or AntiSpyware running, as both will do the things you state, Windows update can also this (ok as long as it is scheduled).

    All virus checkers are not equal.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!