setting CPU priority ? (1 Viewer)

gibman

Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Usa
    Home Country
    Ethiopia Ethiopia
    Subject says it all.

    It would be super to be able to set CPU prio. on the tvservice.
    This cannot be done manually in taskmanger, since it's a service.

    /Gibman
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,052
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    It would be super to be able to set CPU prio. on the tvservice.
    This cannot be done manually in taskmanger, since it's a service

    TVService uses so little power from the CPU running as a service, to be not worth bothering about.

    If you are getting high cpu use, i would say you have a problem.
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Usa
    Home Country
    Ethiopia Ethiopia
    Well both places I would say.

    My server is running multiple stuff.

    Ex. when the XMLTV parser thing starts CPU spikes to 100%

    I would like to make sure that the tvserver process is never starved of CPU cycles.
    Shouldn't be too hard to implement.

    Ofcourse buying a new dual core server setup would be preferable.

    /Gibman
     

    crawdaddy

    Portal Pro
    July 24, 2006
    73
    1
    I've been going back and forth as to whether or not to disable Hyperthreading on my P4 processoer that's running both the server and the client. I was going to keep HT enabled since I was running 2 processes, TV Engine and MP. But if TV Engine doesn't each up that much in the line of cycles running in the background, I may just turn HT off and see if I can't get a little more response out of it. (not that the machine has any problems with keeping up as it is now)
     

    dukeelam

    Portal Member
    September 30, 2006
    31
    6
    59
    Home Country
    Sweden Sweden
    I am using this program: http://www.beyondlogic.org/solutions/processutil/processutil.htm

    Like so:
    Code:
    C:\>process -p mediaportal.exe high

    I get much smoother video when running MP in High priority, checking with the Shift-"!" bar it does not lag as it does on normal.
    Though my system is just about able to run TV Server in single seat mode. On modern hardware this might not be necessary.

    And a request.
    This could be done without the external program if Mediaportal was able to be started with:
    Code:
    START /D"C:\MediaportalDirectory" /HIGH mediaportal.exe
    However MP wont recognize the START parameter /HIGH and starts in normal prio using the START command. Think MP sets the priority when it initializes so that overrides the parameter.


    (The process util gives a false positive om some Virus scanners as it can be used to kill processes and stuff also. Tested it with Virustotal)

    Edit: Searched to find this post as i read it before, but forgot this post was about TV Server and not MP that i imply. Tested the utility and it can set the priority of the TVService.exe file also though =)


    Regards
    Duke
     

    Users who are viewing this thread

    Similar threads

    Hi. I was probably being a bit fast and loose with my terminology. I meant "somewhere within the files that MP2 uses in its database". Anyway, I found a way to do this which was far from automated but relatively low effort. I found what looked like all the images (CD covers, DVD covers, backgrounds etc all lumped together in...
    Hi. I was probably being a bit fast and loose with my terminology. I meant "somewhere within the files that MP2 uses in its...
    I am in the process of setting up a legacy media player (Mede8er) which I happened to have laying around into my home cinema setup...
    Replies
    2
    Views
    425
    If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team will create a Jira ticket, and for each ticket, you’ll make the changes and submit a pull request. This will be transparent and straightforward.
    If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team...
    I'm very glad to see that mediaportal 1 is on github, where ordinary devs with github accounts can make contributions. Please can...
    Replies
    7
    Views
    1K
    If everything works, I'll add it to 1.38 Pre
    If everything works, I'll add it to 1.38 Pre
    Would it be possible to add a star rating (1-5) for pictures in the database, preferably even within browsing files? This way, you...
    Replies
    11
    Views
    3K
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select "Internal DirectShow player" as music output, but then you lose gapless playback. If you you don't have multichannel music you can choose WASAPI as the output and set the number of speakers to stereo. I have...
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select...
    Not sure if this a a bug/config/settings problem. I am running a media portal 2.5 server with 2.41 client but it seems I get the...
    Replies
    1
    Views
    804
    It is present, but not with that name. It is called Scheduler, viz: Interesting. I had never noticed that when the "command" is "ACTION", the "cmdproperty" is the actual window id, but it makes sense that it is. Try this for yourself. First backup your working profile for the remote, then in the "Mapping" panel make a change to...
    It is present, but not with that name. It is called Scheduler, viz: Interesting. I had never noticed that when the "command" is...
    I would like to be able to go directly to the Scheduled recordings window without having to first go to the home menu. I saw this...
    Replies
    1
    Views
    2K
    Top Bottom