Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#901 | Link | |
|
Registered User
Join Date: Jan 2018
Posts: 2,170
|
Quote:
https://github.com/Asd-g/AviSynthPlu...ter/MCTD_.avsi |
|
|
|
|
|
|
#902 | Link | |
|
Registered User
Join Date: Dec 2002
Location: Region 0
Posts: 1,481
|
Quote:
|
|
|
|
|
|
|
#903 | Link |
|
Registered User
Join Date: Sep 2007
Posts: 5,669
|
You can click on the "history" for the commits
https://github.com/Asd-g/AviSynthPlu...ter/MCTD_.avsi MCTD_.avsi: fix sharpening internal masks (high bit depth) https://github.com/Asd-g/AviSynthPlu...6c69f12c8bd347 |
|
|
|
|
|
#904 | Link | |
|
Registered User
Join Date: Jan 2018
Posts: 2,170
|
Quote:
https://github.com/Asd-g/AviSynthPlu...CTD_.avsi#L359 |
|
|
|
|
|
|
#905 | Link | |
|
Registered User
Join Date: Dec 2002
Location: Region 0
Posts: 1,481
|
Quote:
Why did you add internal multithreading to MCTD? What benefit does using prefetch internal to the filter vs. letting AVISynth+ do it after the filter with prefetch? I don't see any improvement from using it. I couldn't find a ncpu setting that gave a higher FPS than a prefetch() statement at the end of my script. Additionally, using the internal multithreading in MCTD prevents multithreading any filters in the script after MCTD (I think). With a minimal script of a source, crop, converting to 16bits, & MCTD I got the best performance with ncpu=1 and prefetch(14). ncpu=-6 is the best value I found for the internal multithreading, but it is slightly slower. ncpu=1 & prefetch(14): Code:
AVSMeter 3.0.9.0 (x64), (c) Groucho2004, 2012-2021 AviSynth+ 3.7.2 (r3661, 3.7, x86_64) (3.7.2.0) Number of frames: 1000 Length (hh:mm:ss.ms): 00:00:41.708 Frame width: 1920 Frame height: 804 Framerate: 23.976 (24000/1001) Colorspace: YUV420P16 Frames processed: 1000 (0 - 999) FPS (min | max | average): 0.609 | 117646 | 14.44 Process memory usage (max): 5315 MiB Thread count: 47 CPU usage (average): 86.7% Time (elapsed): 00:01:09.242 Code:
AVSMeter 3.0.9.0 (x64), (c) Groucho2004, 2012-2021 AviSynth+ 3.7.2 (r3661, 3.7, x86_64) (3.7.2.0) Number of frames: 1000 Length (hh:mm:ss.ms): 00:00:41.708 Frame width: 1920 Frame height: 804 Framerate: 23.976 (24000/1001) Colorspace: YUV420P16 Frames processed: 1000 (0 - 999) FPS (min | max | average): 0.447 | 32.07 | 13.89 Process memory usage (max): 4514 MiB Thread count: 87 CPU usage (average): 85.7% Time (elapsed): 00:01:11.984 ncpu=1 & prefetch(14): Code:
AVSMeter 3.0.9.0 (x64), (c) Groucho2004, 2012-2021 AviSynth+ 3.7.2 (r3661, 3.7, x86_64) (3.7.2.0) Number of frames: 1000 Length (hh:mm:ss.ms): 00:00:41.708 Frame width: 1920 Frame height: 804 Framerate: 23.976 (24000/1001) Colorspace: YUV420P10 Frames processed: 1000 (0 - 999) FPS (min | max | average): 0.315 | 357140 | 13.96 Process memory usage (max): 5913 MiB Thread count: 52 CPU usage (average): 86.9% Time (elapsed): 00:01:11.631 Code:
AVSMeter 3.0.9.0 (x64), (c) Groucho2004, 2012-2021 AviSynth+ 3.7.2 (r3661, 3.7, x86_64) (3.7.2.0) Number of frames: 1000 Length (hh:mm:ss.ms): 00:00:41.708 Frame width: 1920 Frame height: 804 Framerate: 23.976 (24000/1001) Colorspace: YUV420P10 Frames processed: 1000 (0 - 999) FPS (min | max | average): 0.380 | 27.16 | 12.89 Process memory usage (max): 4636 MiB Thread count: 98 CPU usage (average): 71.3% Time (elapsed): 00:01:17.590 1) Explain that the default value of 1 disables internal multithreading? (I think this is true) 2) I think the instruction should say "Do not use prefetch() after MCTD if you have enabled internal multithreading." instead of what it says now. 3) Perhaps warn that a good starting value for ncpu is not the value they had been using in their subsequent prefetch statement. I do see it says to start at -2 and decrement by 2 until they find optimal performance, but I think many people will think they if they had been using prefetch(8) they should start with ncpu=-8. I get optimal performance with ncpu=-6 and prefetch(14) respectively. |
|
|
|
|
|
|
#906 | Link | |
|
Registered User
Join Date: Dec 2002
Location: Region 0
Posts: 1,481
|
Quote:
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|