SageTV Community  

Go Back   SageTV Community > SageTV BETA Release Products > SageTV Beta Test Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Beta Test Software Discussion related to BETA Releases of the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. regarding SageTV Beta Releases should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-15-2006, 10:12 PM
vhurst's Avatar
vhurst vhurst is offline
Sage Advanced User
 
Join Date: Oct 2004
Location: Northern California
Posts: 108
SageTVService.exe priority setting

Does anyone have a clean answer to setting the service to run in something above "normal" priority? Setting the priority in task manager doesn't work. Even if it did, wouldn't I have to do this every time I restarted the service?

I tried running the service via FireDaemon, rather than the SageTVServiceControl, so that I would have control over settings like priority. However, I haven't had any luck getting the service to run that way. It just starts, never shows it using the proper amount of memory (1,300K vs. 100,000K), yet having the requested higher priority, then shuts down. Either I'm missing some detail in the FireDaemon service config, or the SageTVServiceControl does more than just set up SageTVService.exe to run as a service.?.

It would be cool if SageTVServiceControl was built to incorperate a priority level control.

I see some older posts that talk about using apps to change the service priority once it's running, but that doesn't seem like the cleanest way to do things.

Any suggestions?
__________________
Intel Skulltrail D5400XS, Dual Quad Core Xeon L5420, Windows Server 2012 R2 on 200Gb partition, 32Gb RAM, 8x WD 2Tb RE4 RAID6 on LSI 9690SA-8I (DVD/Blu-Ray), 2x 4Tb HDDs (TV), Colossus, 2x HD-PVR, HDHR3 Prime, DirectTV STB, USB-UIRT, Sage v2 v3 v4 v5 v6 v7.1.9, Java v1.6 build 45, 3 Placeshifter licenses, and 3 HD-300's.
Plugins: Phoenix API, PlayOn For SageTV, Comskip Playback, YouTube, Nielm's Sage Utiities
Software: PlayOn, ComSkip Monitor, ComSkip

Last edited by vhurst; 12-15-2006 at 10:19 PM.
Reply With Quote
  #2  
Old 12-16-2006, 06:28 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by vhurst
Does anyone have a clean answer to setting the service to run in something above "normal" priority? Setting the priority in task manager doesn't work. Even if it did, wouldn't I have to do this every time I restarted the service?

I tried running the service via FireDaemon, rather than the SageTVServiceControl, so that I would have control over settings like priority. However, I haven't had any luck getting the service to run that way. It just starts, never shows it using the proper amount of memory (1,300K vs. 100,000K), yet having the requested higher priority, then shuts down. Either I'm missing some detail in the FireDaemon service config, or the SageTVServiceControl does more than just set up SageTVService.exe to run as a service.?.

It would be cool if SageTVServiceControl was built to incorperate a priority level control.

I see some older posts that talk about using apps to change the service priority once it's running, but that doesn't seem like the cleanest way to do things.

Any suggestions?
From this post use one of the downloads listed:

SageService Priority


Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #3  
Old 12-16-2006, 03:25 PM
vhurst's Avatar
vhurst vhurst is offline
Sage Advanced User
 
Join Date: Oct 2004
Location: Northern California
Posts: 108
Thanks Gerr,

Yes, I had read that post, and that's what I was referring to when asking about a "clean" way to set priority. Last night I installed that utility "priority.exe", and made a batch file to call it, setting SageTVService.exe to "above normal", as well as ComSkip's java.exe and wrapper.exe to low priority. I secheduled the batch file to be run hourly via Scheduled Tasks, so that if the server is restarted, the services would get their priority reset to where I want them.

This isn't the clean answer I was looking for, but so far it's accomplishing what I need. My MVP menu doesn't bog down now while ComSkip is searching for recordings to process.

If anyone ever comes up with a way to simply set the SageTVService priority as part of the service startup (like FireDaemon does with other services), please let me know!
__________________
Intel Skulltrail D5400XS, Dual Quad Core Xeon L5420, Windows Server 2012 R2 on 200Gb partition, 32Gb RAM, 8x WD 2Tb RE4 RAID6 on LSI 9690SA-8I (DVD/Blu-Ray), 2x 4Tb HDDs (TV), Colossus, 2x HD-PVR, HDHR3 Prime, DirectTV STB, USB-UIRT, Sage v2 v3 v4 v5 v6 v7.1.9, Java v1.6 build 45, 3 Placeshifter licenses, and 3 HD-300's.
Plugins: Phoenix API, PlayOn For SageTV, Comskip Playback, YouTube, Nielm's Sage Utiities
Software: PlayOn, ComSkip Monitor, ComSkip
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 12:06 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.