Archive: Experimental multiprocessor support


27th February 2004 05:27 UTC

Experimental multiprocessor support
How does the SMP(AVS Editor > Settings > Display ) affect framerate and beat detection?
Anybody uses Winamp AVS on multiprocessor?


17th March 2004 10:59 UTC

what I'm curious about is: how does the whole thing work???
All the effects in AVS must be done in the right order to achieve the correct results so how do they split that up to multiple threads?
I've got a Dual Celeron 466 here I'll test that... got a specific preset for testing?


17th March 2004 13:32 UTC

Effects like the DM or Movement can (partially) be split into chunks for parallel processing. Only intra-effect splitting is performed, not inter-effect.


17th March 2004 13:44 UTC

ok, DM is a point :)
but SSC/Texer II can in most cases not be split i think

i'm gonna try a raytracing avs on my dual cel...


17th March 2004 14:38 UTC

Test results
I tested the SMP thing now :)
Hardware:
Abit BP-6
2 Celeron466 Processors
256 MB RAM (66 MHz SDR i think)
ELSA GeForce 256 SDR

Software:
Windows 2000 Professional SP3
Winamp 5.02
AVS 2.81b
Desktop Resolution 1024x768x32
AVS Resolution 332x343 with Pixel Doubling (=168x171)
VSync enabled

I used a modified version of "Jheriko - Pack 9\Jheriko - UnConeD - 23 - VJ Chmutov.avs"

I removed the SSCs from the main list and put ph=10; at the beginning of the frame part of the DM. I also commented out the rotation line.

grid size/framerate without SMP/framerate with SMP(2 threads)
168x171/2.6/2.6
83x86/8.0/8.5
42x43/17.1-17.7/17.9-18.6
10x10/27.9-28.3/29.7-30.1

that's a performance of:
168x171: 0.00%
83x86: 6.25%
42x43: 4.68%-5.08%
10x10: 6.45%-6.63%

not really that high (at least for my crappy PC :) )


17th March 2004 19:53 UTC

It all depends on the effects. Justin once told me which effects had been converted. I think DM, Movement, Blur, Fadeout, Colorfade.

My APEs aren't compatible with SMP, I might do Colormap, Channelshift, Multiplier and Colorreduction (also splittable) if people are interested.


2nd June 2009 16:14 UTC

hey guys !

i realy like using avs on my full hd tv
using multiprocessing makes it work what's in only one thread unthinkable.

but there is the problem, that some avs presets crashes down my winamp immediately while using multiprocessing.

so my question is:
what exactly is the problem ?
knowing this, i'd be able to select out all presets with the not compatible content.

please excuse my bad english, that's not my first language

greetings from germany and thanks in advance.


2nd June 2009 16:43 UTC

Don't expect double speeds or anything. Internally, it's hardly used even if you get it to work properly.

I don't know if it causes AVS to crash. I mean, AVS has always tended to crash now and then, with or without SMP.

More likely is that you're using the newest version of AVS (2.82). It's (very) unstable. Look for 2.81d and install that one instead.


3rd June 2009 13:55 UTC

i running avs using 4 threads and it runs just as stable as with only 1!


3rd June 2009 15:27 UTC

does anyone got a linkt to the 2.81d version ?

and in deet i've got nearly double speed with smp.

in zamuz - spiritual.avs
i got with 8 threads ~22 frames
using just one thread that are ~12 frames
testet at 1920*1080@32BPP


3rd June 2009 15:59 UTC

Originally posted by schnorri
does anyone got a linkt to the 2.81d version ?
click here

and in deet i've got nearly double speed with smp.
as described here, i can confirm that the fps increase more dramatically with smp, if wait-for-retrace (wtr) is disabled. however, i prefer the picture quality with wtr enabled.

4th June 2009 16:57 UTC

thanks for the link

disabling wtr doesn't take efekt in fps on my pc, i just tested this


5th June 2009 12:33 UTC

okay, the v2.81d works fine !
thanks again !


5th June 2009 14:56 UTC

Originally posted by Yathosho
..if wait-for-retrace (wtr) is disabled..
should've been wfr of course!

Originally posted by schnorri
disabling wtr doesn't take efekt in fps on my pc, i just tested this
you sure you switched it in the right setting (display vs fullscreen)? with wfr switched off, i have gains ranging from 50% to 333% - depending on the complexity of the preset.