|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
How can I bump up SageTVservice.exe's CPU priority?
Does anyone know if the below command will help accomplish this? If so, where would I put this command? In not, is there any other way to do it?
wrapper.ntservice.process_priority=ABOVENORMAL
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#2
|
|||
|
|||
Task Manager>Set Priority?
P |
#3
|
||||
|
||||
XP wont let you do that.
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#4
|
||||
|
||||
Have you tried this? Right-click My Computer, choose Properties, Advanced, Performance Settings, Advanced, Background Services. This will give more CPU time to all services, not just Sage. But it sounds like you want your machine to run more like a server than like an interactive user workstation, and that's what this control is for.
You probably have to be logged in as an administrator to make this change (just like Task Manager's Set Priority command).
__________________
-- Greg |
#5
|
||||
|
||||
Thanks for replying. Yes, I know of that setting. I'm trying to only modify the priority of sageTVservice. Since I use this PC mainly as a workstation.
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#6
|
|||
|
|||
Quote:
P |
#7
|
||||
|
||||
If you click on YES, it wont let you. Trust me, its not that simple... But thanks for trying.
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#8
|
||||
|
||||
Are you running Sage service through the system account on the machine? That may be stopping you from upping it's priority. I have a few services on my laptop running as my logged-in user, and I can adjust the priority fine on those. Might try sage server on here later in service mode just to see if I can if it's logged in as a regular user, not system...
__________________
Server: AMD Phenom 2 920 2.8ghz Quad, 16gb Ram, 4tb Storage, 1xHVR-2250, 1 Ceton Cable Card adapter, Windows 7 SP1 |
#9
|
||||
|
||||
Actually, even if I'm able to change the CPU priority in taskmanager, it's not a practical solution to what I'm trying to do. I'm looking for an automated way to do this when the the sagetvservice starts.
I found a very handy commandline tool which changes the priority of the sageTV service on the fly; regardless if it's using the local system account or not. http://www.beyondlogic.org/solutions...rocessutil.htm process.exe -p SageTVService.exe AboveNormal
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** Last edited by mkanet; 02-09-2006 at 04:10 PM. |
#10
|
||||
|
||||
How did you get this utility to run on startup? Did you make a command file and put it in the starup folder?
thanks, |
#11
|
||||
|
||||
Yes. That's what I did. Its pretty nice because this tool doesnt stay in memory and is VERY small.
In case people are wondering why the heck I'm trying to do this... it's to prevent problems with video stuttering (ruining the recordings) when sagetv is recording in the background and there's a high CPU load from forground processes; I use my SageTV machine as a workstation as well. In the past, I used to think bumping up the CPU priority in SageTV.exe would help prevent stuttering under high CPU load, but later realized the CPU priority should go to the service since in my setup the service is doing all the critical work. EDIT: I forgot to mention that I had to add a 30 second delay before running that commandline in the Windows startup menu in order for it to run after the sagetvservice starts during bootup. I used another free command line too called sleep.exe Quote:
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** Last edited by mkanet; 02-09-2006 at 05:31 PM. |
#12
|
||||
|
||||
** This tweak REALLY WORKS! **
I'm happy to say this tweak DOES prevent sageTV's recordings from being ruined with stuttering when there are CPU intensive tasks running on the same machine! Plus, it also prevents sageTVservice.exe from crashing or being unstable during high CPU usage (when recording multiple digial/analog channels).
Before this tweak, ORB Networks video encoding/streaming would cause problems while recordings multiple channels.
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#13
|
|||
|
|||
Quote:
Could you post this command file you created for general use? Thanks, -D |
#14
|
||||
|
||||
This is a great utility...
I've been using this utility for some time. I have a Pentium D and use it to for the SageTV service to run on one processor and the UI to the other. I still need to figure out how to get comskip to run on one also (from Dirmon2). I think I can set it up from a batch file (ie run comskip, then set process to 1 cpu at low priority).
__________________
SageTV 9 / 3 SageTV Clients / Ceton InfiniTV 6 / ComSkip |
#15
|
|||
|
|||
Quote:
If you'd rather use the batch file, rename the .txt to .cmd to use in Windows. Copy a shortcut to your startup folder. You'll need the following 2 files if you want to use the .cmd script: http://www.beyondlogic.org/solutions...rocessutil.htm http://go.microsoft.com/fwlink/?linkid=20334 -D Last edited by mdnttoker; 09-30-2006 at 05:21 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|