|
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
|
||||
|
||||
Process Rules
I'm using comskip and comskip monitor set to allow 2 concurrent threads. I also use the integrated sagetv transcoder to convert videos and transfer them to a zen device. The processer in my server is a meager 2.2ghz pentium dual core, and i'd like to set a rule somehow that prevents comskip from processing files while the transcoder is running. What is the easiest way to do this? I'd kind of like to continue to use comskip monitor, but i'm willing to move to something else if it can handle both chores pretty easily.
__________________
Windows 10 X64 ASUS Z270 TUF2 MOBO Intel I5 Kaby Lake @3.3 Corsair H65 AIO water cooler 16GB GSkill DRR4 10 SATA hotswap bays in 4U RM case Redundant power supply, dual UPS's, etc Samsung EVO 850 SSD X2 OS drives WD 4TB Purple drive for recordings, various other drives for archives Tuners are a work in progress |
#2
|
|||
|
|||
I switched to dirmon2 and am very happy with it. It won't start processing a file if there's less than xx% of cpu capacity free.
|
#3
|
|||
|
|||
You are going to have to move on to something more powerful like Sage Job Queue.
|
#4
|
||||
|
||||
I think I looked into that awhile back, seemed kind of difficult to setup. What would be the simplest thing to do?
__________________
Windows 10 X64 ASUS Z270 TUF2 MOBO Intel I5 Kaby Lake @3.3 Corsair H65 AIO water cooler 16GB GSkill DRR4 10 SATA hotswap bays in 4U RM case Redundant power supply, dual UPS's, etc Samsung EVO 850 SSD X2 OS drives WD 4TB Purple drive for recordings, various other drives for archives Tuners are a work in progress |
#5
|
||||
|
||||
I've been looking at DirMon2, is it capable of setting a condition where it won't run comskip if sagetv transcoder is running? I'm hesitant to use SJQ since I'm not looking to do anything too complicated.
__________________
Windows 10 X64 ASUS Z270 TUF2 MOBO Intel I5 Kaby Lake @3.3 Corsair H65 AIO water cooler 16GB GSkill DRR4 10 SATA hotswap bays in 4U RM case Redundant power supply, dual UPS's, etc Samsung EVO 850 SSD X2 OS drives WD 4TB Purple drive for recordings, various other drives for archives Tuners are a work in progress |
#6
|
|||
|
|||
It doesn't look for any particular program running, just as much free cpu % as you specify. If the transcoder is running it's a safe bet that cpu is being used more than 50%.
|
#7
|
|||
|
|||
Quote:
Quote:
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#8
|
||||
|
||||
OK, I've setup DirMon2 and i'm pretty happy with it so far. I have a couple of problems though....I set the "resources required" to 25 and the "total resources available" to 50 with the understanding that I could run 2 instances of comskip at a time using 50% of the total cpu resources. Each instance is using 50% apiece so when 2 are running the system is maxed out. What am I doing wrong?
Also, how long does sagetv wait to delete a tv file that wasn't set to record? Comskip occasionaly processes files before sage gets rid of them, and I want to time it so that there is just enough time for the temp files to be removed before dirmon scans for new files.
__________________
Windows 10 X64 ASUS Z270 TUF2 MOBO Intel I5 Kaby Lake @3.3 Corsair H65 AIO water cooler 16GB GSkill DRR4 10 SATA hotswap bays in 4U RM case Redundant power supply, dual UPS's, etc Samsung EVO 850 SSD X2 OS drives WD 4TB Purple drive for recordings, various other drives for archives Tuners are a work in progress |
#9
|
||||
|
||||
The total resources available has nothing whatsoever to do with the CPU utilization.
|
#10
|
||||
|
||||
Is there a way I can add the "playnice" command in there for dirmon or do I have to do that in the .ini file for comskip itself?
__________________
Windows 10 X64 ASUS Z270 TUF2 MOBO Intel I5 Kaby Lake @3.3 Corsair H65 AIO water cooler 16GB GSkill DRR4 10 SATA hotswap bays in 4U RM case Redundant power supply, dual UPS's, etc Samsung EVO 850 SSD X2 OS drives WD 4TB Purple drive for recordings, various other drives for archives Tuners are a work in progress |
#11
|
|||
|
|||
i have no idea what the playnice setting does but my guess is you need to set it in the comskip ini file
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#12
|
||||
|
||||
Just set it to run comskip at idle priority, and it won't hog resources from higher priority tasks. It will just use 'leftover' cpu cycles.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Forum Rules | Opus4 | General Discussion | 4 | 09-10-2009 11:52 AM |
Sage TV RULES | karpodiem | General Discussion | 2 | 03-24-2008 09:42 AM |
DVB Udev rules | bcjenkins | SageTV Linux | 5 | 10-05-2007 08:34 PM |
Diskspace Rules? | jpwegas | SageTV Linux | 13 | 08-31-2007 09:27 AM |
New DST Rules | hmca | General Discussion | 3 | 02-27-2007 09:02 PM |