play_nice_sleep not working. 95% cpu
play_nice_sleep not working. 95% cpu
I'm using 056 Donator and I have comskip running with Media Portal.
When comskip runs two or more instances, it totally hangs the PC for minutes and can totally corrupt the MediaPortal recordings. I look in Task Manager and see the CPU running at around 95% (I didnt check the IO usage but that is probably also very high).
I tried adding these settings to comskip.ini but it didn't seem to make any difference. It is still hanging the PC (Core i5 Ivy Bridge, 8GB, Win8.1 64bit, Samsung SSD).
play_nice_sleep=50
play_nice_start=-1
play_nice_end=-1
When comskip runs two or more instances, it totally hangs the PC for minutes and can totally corrupt the MediaPortal recordings. I look in Task Manager and see the CPU running at around 95% (I didnt check the IO usage but that is probably also very high).
I tried adding these settings to comskip.ini but it didn't seem to make any difference. It is still hanging the PC (Core i5 Ivy Bridge, 8GB, Win8.1 64bit, Samsung SSD).
play_nice_sleep=50
play_nice_start=-1
play_nice_end=-1
Re: play_nice_sleep not working. 95% cpu
Could you check at what priority comskip is running. Use task manager.
Comskip should run at nice priority.
Where do you store your recordings? On the SDD or on a network drive?
Comskip should run at nice priority.
Where do you store your recordings? On the SDD or on a network drive?
Re: play_nice_sleep not working. 95% cpu
CPU Priority is Normal in Task Manager.
I save the recordings to the local SSD.
I save the recordings to the local SSD.
Re: play_nice_sleep not working. 95% cpu
How many thread do you use in processing?
Comskip running at normal is weird as comskip set its own priority to nice when it starts.
Comskip running at normal is weird as comskip set its own priority to nice when it starts.
Re: play_nice_sleep not working. 95% cpu
Not sure which setting that is, I'm using the default comskip.ini with the additional play_nice settings.
I checked the affinity the other day and all four cores where being used by Comskip in Task Manager.
I checked the affinity the other day and all four cores where being used by Comskip in Task Manager.
Last edited by K24A3 on Mon Feb 10, 2014 1:51 pm, edited 1 time in total.
Re: play_nice_sleep not working. 95% cpu
Default value is 2
Can you add to your comskip.ini
thread_count=1
Can you add to your comskip.ini
thread_count=1
Re: play_nice_sleep not working. 95% cpu
Ok I've added that option.
I ran comskip but all four CPU's are ticked in Task Manager, and the priority is normal.
1 comskip process is using 44% CPU. IO reads is about 34 per second,
I ran comskip but all four CPU's are ticked in Task Manager, and the priority is normal.
1 comskip process is using 44% CPU. IO reads is about 34 per second,
Re: play_nice_sleep not working. 95% cpu
Perhaps comskip isn't using the INI?
In MediaPortal I have comskip set up as:
Program: c:\comskip\comskip.exe
Parameters: "{0}"
In MediaPortal I have comskip set up as:
Program: c:\comskip\comskip.exe
Parameters: "{0}"
Re: play_nice_sleep not working. 95% cpu
Set
verbose=10
in comskip.ini and comskip should generate a long log file next to the recording.
If that does not happen comskip is not using the ini file
verbose=10
in comskip.ini and comskip should generate a long log file next to the recording.
If that does not happen comskip is not using the ini file
Re: play_nice_sleep not working. 95% cpu
It is already using Verbose=10 and I can see the log file as well as the logo.txt and EDL file in the same folder as the TS file.
Re: play_nice_sleep not working. 95% cpu
play_nice_sleep exists in 056 yes?
I see a later change in 057:
With the increasing speed of CPUs it was time to reduce the default play_nice_sleep to 2 when using playnice.
Should I try 058 anyway?
I see a later change in 057:
With the increasing speed of CPUs it was time to reduce the default play_nice_sleep to 2 when using playnice.
Should I try 058 anyway?
Re: play_nice_sleep not working. 95% cpu
YOu should set
play_nice_start=0000
play_nice_end=2359
play_nice_start=0000
play_nice_end=2359
Re: play_nice_sleep not working. 95% cpu
After googling play_nice I assumed -1 would default to 0 and 2359 since so many people were using -1 but I'll give it a try later. Perhaps you could modify comskip to accept -1
Re: play_nice_sleep not working. 95% cpu
-1 means disable
Re: play_nice_sleep not working. 95% cpu
I see, ok thanks for the help erik.