Threads setting - donators V0.81.093

Where all the bugs are reported and discussed
Post Reply
sheppy99
Posts: 88
Joined: Mon May 10, 2010 2:44 am

Threads setting - donators V0.81.093

Post by sheppy99 » Wed Feb 15, 2017 5:03 am

I've been optimising my ini files in donators version 0.81.093 and have discovered that despite having thread_count=4, it seems to only use 2 threads in the first logo finding pass and then 1 in the main pass. I'm running a 6700K with an SSD on a 1080i file so it shouldn't be starved of data. The 6700K is a quad core with hyperthreading, so 4 threads is about 50%, 2 threads is around 25%, and 1 thread is around 12.5% CPU use
Is this a bug?

erik
Site Admin
Posts: 3297
Joined: Sun Aug 21, 2005 3:49 pm

Re: Threads setting - donators V0.81.093

Post by erik » Wed Feb 15, 2017 8:41 am

Will have a look

erik
Site Admin
Posts: 3297
Joined: Sun Aug 21, 2005 3:49 pm

Re: Threads setting - donators V0.81.093

Post by erik » Wed Feb 15, 2017 1:16 pm

Is this for all recordings?
I see difference depending on the recording format, even between different h.264 recordings

sheppy99
Posts: 88
Joined: Mon May 10, 2010 2:44 am

Re: Threads setting - donators V0.81.093

Post by sheppy99 » Wed Feb 15, 2017 7:20 pm

erik wrote:Is this for all recordings?
I see difference depending on the recording format, even between different h.264 recordings
Not sure, the SD files I was working on earlier were scanned fast, so I didn't look at them to see how many threads they were using.
the one I'm working on now is
File: Name : C:\tv\temp_tv2\The Test File.wtv
Size : 3.489 GB
Duration : 00:45:58.14
Mux type : WTV
Video: Encoding : H.264
VideoStreamID : x252
Frame rate : 25.00 fps
Encoding size : 1920 x 1080
Aspect ratio : 16:9
Header bit rate : 20.000 Mbps
VBV buffer : 456 KBytes
Profile : Main/4.0
Progressive : Interlaced
Chroma : 4:2:0
Entropy mode : CABAC
Bit rate : 9.347 Mbps
Audio Stream: 1 Codec : AAC-HE
Format : LATM/LOAS
Channels : 2.0
Language : ita
PID : x24E
PES Stream Id : xC0
Sampling rate : 48000 / 24000
Audio Stream: 2 (Primary) Codec : AAC-HE
Format : LATM/LOAS
Channels : 2.0
Language : eng
PID : x24F
PES Stream Id : xC0
Sampling rate : 48000 / 24000
Audio Stream: 3 Codec : AC3
Format : AC3 stream
Channels : 5.1
Language : eng
PID : x250
PES Stream Id : xBD
Bit rate : 384 Kbps
Sampling rate : 48000
Sample size : 16 bits
Subtitle: 1-1 Type : DVB Subpic
PID : 0x24D
Language : eng
Page : 1

erik
Site Admin
Posts: 3297
Joined: Sun Aug 21, 2005 3:49 pm

Re: Threads setting - donators V0.81.093

Post by erik » Wed Feb 15, 2017 7:50 pm

The multi theaded decoding does not work for some recordings.
This is not specific for the latest build but has always been there
Bad luck you ran into this feature
Do not expect a quick solution

sheppy99
Posts: 88
Joined: Mon May 10, 2010 2:44 am

Re: Threads setting - donators V0.81.093

Post by sheppy99 » Wed Feb 15, 2017 8:03 pm

OK, Is it relevant that it uses 2 threads in the logo finding phase and just one in the final phase?

sheppy99
Posts: 88
Joined: Mon May 10, 2010 2:44 am

Re: Threads setting - donators V0.81.093

Post by sheppy99 » Wed Feb 15, 2017 9:42 pm

This is repeatable behaviour, it seems to drop to 1 thread on the second pass and uses 2 on the first. If I start it with a saved logo it starts on 2 threads and stays that way. Are there possibly 2 bugs here?
Bug 1 - Doesn't use more than 2 threads on some H264 files
Bug 2 - Doesn't use more than 1 thread on some H264 files in the second pass
Difference in speed is 2 threads with debug window minimised around 176FPS,
1 thread around 88FPS

Post Reply