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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th March 2021, 10:02   #401  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by wonkey_monkey View Post
Is this a known issue?


CPU usage underreported by 50%. Nothing else was running.
First time I see this. Is the utilisation on the right picture an average or a snapshot?
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 15th March 2021, 11:33   #402  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
It's a snapshot. The graph was pretty constant at around 50% for an extended period of time, and nothing else was using a significant amount of CPU.

The plugin I was testing is internally multithreaded. If I use all available threads (12), AVSMeter reports about 70-75% usage while Task Manager says 100%. The above screenshot was using 4 threads, under which circumstances AVSMeter reports about 50% of what Task Manager does, which remains the case for 1 or 2 threads as well.

The framerate of the plugin tails off with more threads (which is what I was testing) which I think is down to a RAM bottleneck. Maybe AVSMeter's way of measuring usage doesn't include all that time spent waiting, or something?

CPU is Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 15th March 2021, 14:35   #403  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by wonkey_monkey View Post
Maybe AVSMeter's way of measuring usage doesn't include all that time spent waiting, or something?

CPU is Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz
AVSMeter uses the same API as TaskManager to determine CPU usage and I doubt that it saw changed since Windows 7. Have you tried to create a log file and look at CPU usage spikes?
Can you post the script and let me know which plugins are needed?
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 15th March 2021, 20:19   #404  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
It seems to be some quirk of Task Manager/Windows 10

A simple script (e.g. blur(1)) saturates one logical CPU and AVSMeter reports 8% utlisation. Task Manager's Performance and Processes tabs show 16%, but in the Details tab it only shows 8%.

It's the same with SuperPi. I'll delete my other posts as it's clearly not AVSMeter's fault.
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 25th March 2021, 12:28   #405  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
Could AVSMeter be given the facility to fetch audio as well as/instead of video? E.g. just call GetAudio for each frame's audio.
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 25th March 2021, 17:31   #406  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by wonkey_monkey View Post
Could AVSMeter be given the facility to fetch audio as well as/instead of video? E.g. just call GetAudio for each frame's audio.
Can you elaborate on "fetch audio"? Do you just want the statistics?
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 25th March 2021, 18:17   #407  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
Yeah, just an option to have it call GetAudio so that it accounts for audio processing time.

Although, maybe even the most complicated audio processing is so fast that it wouldn't be likely to give very useful results, and should instead be performed internally by a plugin during development...
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 29th March 2021, 16:12   #408  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by wonkey_monkey View Post
Although, maybe even the most complicated audio processing is so fast that it wouldn't be likely to give very useful results, and should instead be performed internally by a plugin during development...
That's what I think as well, probably not worth the effort.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 31st March 2021, 18:24   #409  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
v3.0.9.0
- Updated libcpuid (Intel Rocket Lake, AMD Ryzen Milan)
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 28th May 2021, 01:55   #410  |  Link
DiablosDemon
Registered User
 
Join Date: Apr 2020
Posts: 11
I'm starting to do some more film restoration work after about 6 months off. I replaced my CPU with a Ryzen 5900X. When running AVSmeter64 all 12 of my cores are maxed out at 4500Mhz (not sure CPU is designed for this) which puts my VRMs at 100% (not good I don't think) The completion time is about 4hrs. When running the script with AVSR64 only one core runs at 4500Mhz the rest are between 2500 and 3000Mhz. VRMs are now at 65% which is OK. Completion time is now about 13hrs. What is AVSmetr64 doing to the CPU to max out ALL the cores and is the CPU designed to do this? I'm using AMD Ryzen Master to see CPU speeds and VRM %. Switching CPUs did cut my completion time about in half which I'm very happy about.
DiablosDemon is offline   Reply With Quote
Old 23rd June 2021, 11:52   #411  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,361
v3.0.9.0 crashes when using avsresize_r7: "z_ConvertFormat(pixel_type="YUV420P16",colorspace_op="601:601:170M:l=>709:601:709:l", dither_type="none")"
v3.0.2.0 reports the next error message.
I'm on Win7 SP1 x64. No prob on avspmod.

__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread

Last edited by Dogway; 23rd June 2021 at 11:56.
Dogway is offline   Reply With Quote
Old 5th July 2021, 00:59   #412  |  Link
DiablosDemon
Registered User
 
Join Date: Apr 2020
Posts: 11
Anyone heard from Groucho2004? It's been more than 3 months since his last post.
DiablosDemon is offline   Reply With Quote
Old 27th September 2021, 17:38   #413  |  Link
Thundik81
Registered User
 
Join Date: Jul 2004
Posts: 22
I hope he's okay!
Thundik81 is offline   Reply With Quote
Old 29th September 2021, 06:40   #414  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,902
Yeah... it's now 182 days, so 5 months and 4 weeks since his last post on Doom9.
I'm beginning to worry now. He's been around for years, I can't believe he would just leave like this, out of the blue, without saying anything to anyone.
I mean, it's not something he would do.
I very much hope he's just taking a break and he'll be back and nothing bad happened to him...
FranceBB is offline   Reply With Quote
Old 4th February 2022, 22:25   #415  |  Link
DTL
Registered User
 
Join Date: Jul 2018
Posts: 1,058
Can the Windows 10 accelerator performance % be added:
GPU->CUDA
GPU->VideoEncode
GPU->VideoDecode
GPU->Compute_0/Compute_1 (still not sure if it need to be separated or simply sum of %) ?
DTL is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.