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. |
5th September 2017, 16:30 | #3582 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
Edit: Alternatively, change the system locale to Japanese and check if you still can't load the file in mpc-hc. Last edited by Groucho2004; 5th September 2017 at 17:54. |
|
5th September 2017, 16:56 | #3583 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Speed progressively drops after 2000 MiB mark. AVS meter silently crashes or terminates around 3.5 GiB (around 32 bit memory limit) . Speed drops to 0.5 fps before silent crash.
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
5th September 2017, 17:19 | #3584 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
I've always thought that there was something not quite right with either avs or windows use of pagefile (dont know which).
EDIT: What do the 'big guns' think could be wrong ?
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 5th September 2017 at 17:22. |
5th September 2017, 18:24 | #3586 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
More data but this time on nice graph
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
6th September 2017, 09:51 | #3587 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
Well, you used AVSMeter 2.6.2 (x86), so, a 32-bit process.
AVSMeter64 will run a 64-bit process. Yet ... if you have LAA binaries, utilizing above 2.0 and up to 3.5 GB RAM should not cause so much speed penalty, that's a different issue (bold guess: maybe using a plugin which is not really LAA compatible, thus system calls occur a lot to try to prevent issues?). Last edited by LigH; 6th September 2017 at 09:55. |
6th September 2017, 10:29 | #3588 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
I have no idea why Avisynth+ doesn't exit gracefully with a proper out of memory message, I guess it's a plugin misbehaving in combination with multi-threaded AVS+. Last edited by Groucho2004; 6th September 2017 at 10:34. |
|
6th September 2017, 10:44 | #3589 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
I'm sorry about my lack of in-depth knowledge here ... long ago, I read a brief remark about compilers or linkers abusing the most significant bit of addresses (which will be unused in a 32-bit process environment) as a behavioral flag, which I did not understand in detail, but since then I am unsure if there might be code – even in a DLL – which might rely on this bit serving as a flag, rather than being ignored. Very vague, I know. But some people use strange memory addressing trickery. I would not be able to exclude this as "half-wit nightmares", unless pointed to a convincing reason why I don't need to bother.
On the other hand, I can easily imagine issues regarding threading, despite the list of default plugin functions threading modes being so much tuned already. |
6th September 2017, 13:21 | #3590 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
|
|
6th September 2017, 15:50 | #3591 | Link |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
@Atak_Snajpera: could you please put this line at the beginning of the script?
SetLogParams("log.txt", LOG_DEBUG) Then look into the generated file. When there are a lot of messages for shrinking caches, it can cause heavy slow down. And another question: what are your speed numbers when you specify e.g. SetMemoryMax(2000) or SetMemoryMax(3000)? |
6th September 2017, 17:17 | #3592 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Quote:
Code:
--------------------------------------------------------------------- INFO: Ignoring unnecessary MT-mode specification for mvtools2_MSuper() by script. --------------------------------------------------------------------- INFO: Ignoring unnecessary MT-mode specification for mvtools2_MAnalyse() by script. --------------------------------------------------------------------- WARNING: Caches have been shrunk due to low memory limit. This will probably degrade performance. You can try increasing the limit using SetMemoryMax(). --------------------------------------------------------------------- WARNING: A plugin or the host application might be causing memory leaks. Code:
--------------------------------------------------------------------- INFO: Ignoring unnecessary MT-mode specification for mvtools2_MSuper() by script. --------------------------------------------------------------------- INFO: Ignoring unnecessary MT-mode specification for mvtools2_MAnalyse() by script. --------------------------------------------------------------------- WARNING: Caches have been shrunk due to low memory limit. This will probably degrade performance. You can try increasing the limit using SetMemoryMax(). --------------------------------------------------------------------- WARNING: A plugin or the host application might be causing memory leaks. Code:
AVSMeter 2.2.6 (x86) AviSynth+ 0.1 (r2508, MT, i386) (0.1.0.0) Loading script... Number of frames: 420 Length (hh:mm:ss.ms): 00:00:14.014 Frame width: 1920 Frame height: 1080 Framerate: 29.970 (5000000/166833) Colorspace: YV12 Frames processed: 420 (0 - 419) FPS (min | max | average): 0.397 | 472295 | 12.13 Memory usage (phys | virt): 2686 | 2880 MiB Thread count: 53 CPU usage (average): 87% Time (elapsed): 00:00:34.632 Code:
--------------------------------------------------------------------- INFO: Ignoring unnecessary MT-mode specification for mvtools2_MSuper() by script. --------------------------------------------------------------------- INFO: Ignoring unnecessary MT-mode specification for mvtools2_MAnalyse() by script. --------------------------------------------------------------------- WARNING: A plugin or the host application might be causing memory leaks. Code:
AVSMeter 2.2.6 (x86) AviSynth+ 0.1 (r2508, MT, i386) (0.1.0.0) Loading script... Number of frames: 420 Length (hh:mm:ss.ms): 00:00:14.014 Frame width: 1920 Frame height: 1080 Framerate: 29.970 (5000000/166833) Colorspace: YV12 Frames processed: 420 (0 - 419) FPS (min | max | average): 0.300 | 472295 | 13.40 Memory usage (phys | virt): 2627 | 2819 MiB Thread count: 53 CPU usage (average): 92% Time (elapsed): 00:00:31.334
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
6th September 2017, 17:27 | #3594 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
7th September 2017, 07:50 | #3596 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
"WARNING: A plugin or the host application might be causing memory leaks." I'd say the safe limit is 3000, but you have to experiment. AviSynth+ maintains its own memory consumption (frames, caches) internally but cannot count with a situation when a plugin is allocating so much memory that the total consumption is over limit. |
|
7th September 2017, 08:20 | #3597 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Your version of mvtools2 solves performance drop after 2000 MiB mark. I don't even have to specify SetMemoryMax values at all
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
7th September 2017, 16:59 | #3598 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Simple question. Which one is better?
Code:
#Prefetch video=Prefetch(video,16) #Triming video=Trim(video,0,1771) Code:
#Triming video=Trim(video,0,1771) #Prefetch video=Prefetch(video,16)
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
7th September 2017, 17:36 | #3599 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
It may not matter at all. |
|
8th September 2017, 19:16 | #3600 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
This isn't working with Avisynth 2.6
Code:
if (!vi.IsY() && !vi.Is420() && !vi.Is422() && !vi.Is444() && !vi.IsRGB()) env->ThrowError("ConvertToShader: Source format is not supported."); |
|
|