All times are UTC+02:00




Post new topic  Reply to topic  [ 287 posts ]  Go to page Previous 117 18 19 20 2129 Next
Author Message
PostPosted: Mon Feb 10, 2014 9:20 am 
User avatar

Joined: Wed Nov 19, 2008 7:44 pm
Posts: 1169
Location: Bulgaria
Since many versions ago plugins consumes more CPU power than the Stand alone and i don`t know why is that . Still the most CPU load monsters are the Advanced Clipper and Composite Clipper :) Well the ND is almost like the Advanced clipper compared to loading the CPU with the initial values


Top
   
PostPosted: Mon Feb 10, 2014 12:04 pm 

Joined: Mon Jan 21, 2013 3:01 pm
Posts: 126
Just installed beta 028 stand alone version.

RA Bojcha King’s Fire 2 compleet
beta 28 proc.33-38% mem.153.008 kB with input sound it's 153.260 kB
beta 27 proc.34-39% mem.221.108 kB
beta 24 proc.34-40% mem.221.928 kB

This information is measured without incoming sound. Stereo and RDS are switched on.


Top
   
PostPosted: Mon Feb 10, 2014 2:40 pm 
User avatar

Joined: Thu Oct 25, 2012 3:22 pm
Posts: 237
Location: Poland
Quote:
Since many versions ago plugins consumes more CPU power than the Stand alone and i don`t know why is that . Still the most CPU load monsters are the Advanced Clipper and Composite Clipper :) Well the ND is almost like the Advanced clipper compared to loading the CPU with the initial values
Always if I use the DSP plugin in a other software than winamp I see more CPU load, I don't know why.

_________________
Urban Junglist


Top
   
PostPosted: Tue Feb 11, 2014 12:36 pm 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
Windows stand alone: http://www.stereotool.com/download/ster ... 41-029.exe
Winamp DSP: http://www.stereotool.com/download/dsp_ ... 41-029.exe
VST32: http://www.stereotool.com/download/vst_ ... 41-029.dll

Changes:
- Hm, what about the FM output latency??? -> Fixed
- Reduce stand alone version memory usage (unused low latency thread items can be removed.)
- Stand alone version: OPTIMIZE SOUND CARD HANDLING CODE (USES EXTREMELY AMOUNT OF CPU POWER). Done, CPU load is a few % lower now. More testing needed to make sure no new bugs are introduced!
- For ASIO HQ mode, add redundancy protection. This reduces the effect of hiccups if the buffer is too small. Done for Normal and Low Latency, FM still needed

Older changes:
- Declipper display was broken.
- Lower ASIO latencies possible. Now both for normal and low latency monitoring outputs.
- Fix ASIO buffer size calculation. Probably need an offset to allow easy upgrades from older versions.
- Bugs in beta's after BETA023 should be fixed now. The extra thread is still gone though.
- FM output for input sample rates below 30 kHz is no longer possible. This makes things a lot easier (I know that I will never need more than 4 times upsampling so I don't have to change buffer sizes depending on the input sample rate).

- Get rid of chain2() thread. This should also allow reducing the ASIO latency by 1 step (usually 1.5 ms). Hm.... Or not? I'm confused :( Well at least the thread is gone now.
- New ASIO behavior: Push samples, read them back directly from buffer, skip whole Chain2 stuff.
- Old Hard Limit for composite limiting was slightly tighter input level was very high. And had no overshoots; the new one does.
- Lot of things from separate thread moved to main code. This includes a lot of changes that affect different sample rates and might be buggy. -> Was indeed buggy
- Memory usage reduced by 60 MB -> No, was only in my VMware environment. Removed this change. Hm now other people are confirming it. Will add this change again.
- Removed some multi-threading, replaced it by doing everything in the same thread. I would have expected a small deterioration in performance, but on my pc it's actually running faster!
- Memory usage should have been a lot lower but appears to be nearly unaffected. I don't understand why... Oddly, if I turn some compiler optimizations off, it uses about 60 MB less!

- Hard Limit for composite clipper caused very soft clicks every block!!! Also in older versions...
- Composite Limiter was running in a separate thread, and taking 2 ms extra latency. The new version does not do that anymore, and returns a cleaner spectrum, but it requires a bit more horse power from the PC because it doesn't run on a separate CPU anymore.
- Added HQ mode Not available, for testing only
- Improve Multiband3 and Singleband2 limiting and (to a lesser extent) compression for low latency settings. LQ output should sound similar to normal output! Fixing this will also improve audio at lower latency settings. Compressor is probably more or less ok, limiter is pretty horrible, also at lower latencies!
- Fixed Phase Rotation frequency effects at low latencies (need to compensate for loss at certain freqs in low latency modes)
- Fixed AZIMUTH behavior at lower latencies
- AGC behaves slightly differently for lower latencies - Kinda OK. With shorter block size the drop for short spikes is bigger, which leads to a slightly lower overall output level. But I cannot easily fix that. Other differences are fixed now.
- Clipper (probably only ABDP) does not work well for latency 128. Yup -> if I lower the top bass freq from 400 to 200 Hz it's MUCH better. Fixed.
- Something removes low bass in low latency modes. -> EQ and other things. -> Improved. Difference is still large though.
Rewrote LQ Low Latency monitoring to use the normal processing code. Works reasonable, sound resembles that of the normal latency EXCEPT for the bass limiters and to a lesser extent the compressors in the multiband section. Memory usage for plugin version is reduced by more than 20 MB. Stand alone version might use slightly more than before.
- Fixed FOX TV Carbon Coder R128 normalization issue Waiting for feedback.
- Moved a lot of threads into a single thread. Might improve hiccups that some people have reported.
- Added Power Highs (it's in the same window as Power Bass).
- Moved Power Bass and Power Highs to before the wideband AGC to improve volume level consistency.
- Sudden fast rise of bass or highs is limited, new slider 'Release boost' added. I'm not really sure yet if this is ok; if there's a loud high or low sound it can push the band down a lot, and it comes down slower than before. If needed I can add something to allow it to come back faster after a short spike. Waiting for feedback first though.
- Sidechain checkbox removed (without that doesn't exist anymore).

Attempt #2: Redesigned Simple Clipper. Reduced CPU load.
- Reduced the memory usage
- Fixed most of the Stereo Image artifacts!!! "Deprecated" is removed from the sliders that were marked with it. See (*) for a cool new possibility!
- Removed some more unnecessary steps (AZIMUTH 2x, Stereo Boost 2x).
10 remaining.
Fixed 'Post filter for DC offset' problem.
52. Check CPU load. Start with checking if there's anything left that uses the 'unnecessary steps'. Sevdah Web preset: Data still gets converted 58 times... I think I need to do this one first, it should have some effect on the CPU load. 28 removed - next convert the 2 IIR filters so they can be optimized and the merge/split around it can be removed. I'm not measuring any effect from this though (but it makes the code simpler which is also good)
53. Noise Gate/Stereo Boost: Pre-calculate 1-cos() and sqrt() values.
55. Check MemoryPool behavior for cache improvements -> No effect measured, and might make behavior less constant.
56. Check if we can go in opposite direction for each next step to improve cache.
57. Check if lazy reverse FFT is an option. -> No, difficult and gain does not even seem to be measurable.
58. Created a separate class that performs the processing chain. Currently the same code is repeated twice (once for normal processing, once for low latency processing) - which means that a lot of code is duplicated and it's difficult to add extra chains. Most, not all, of that code is now moved elsewhere.

TO BE DONE:
- Asio hiccups protection: FM still needed
- Make 'Hide hiccups' behavior switchable (now enabled for Normal and Low Latency output, not yet for FM).
- Spread over cores is not constant, which causes differences in performance. I *think* it might be the chain2() code that causes this. Actually it might be a good idea to get rid of that completely... - Check if this is still the case
- Still some weird buffer filling behavior, definitely when using normal (non-ASIO) I/O. But ASIO also has a small offset sometimes.
- Composite Limiter effect no longer visible in GUI. (Is that bad?)
- Add watchdog for stand-alone version. Both built-in and separate.
- Make Low Latency monitoring latency configurable (between 128 and 512, current value is 256).
- Add some code to New/Delete in _DEBUG mode to test for never used memory (large blocks filled with 0's).


Top
   
PostPosted: Tue Feb 11, 2014 12:55 pm 
User avatar

Joined: Wed Nov 19, 2008 7:44 pm
Posts: 1169
Location: Bulgaria
Looks like in Stand alone no any big difference in CPU load . Is the Advanced clipper maked with the new method of threads ? or spread over cores in the new way ?


Top
   
PostPosted: Tue Feb 11, 2014 1:09 pm 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
On an old pc here, when doing NOTHING, 192 kHz input and output, both Low Latency Monitoring and FM output on, the CPU load dropped from 16% to 9%. About half of those 9% comes from a function that I still want to optimize...

@DJ_DOGGY: Advanced Clipper is also using the new mechanism (nearly everything is, only Low Latency Monitoring uses a separate set of threads, and the GUI uses one.)


Top
   
PostPosted: Tue Feb 11, 2014 1:45 pm 
User avatar

Joined: Tue Sep 28, 2010 10:56 pm
Posts: 326
Location: Usa
Cpu load drop 3-4% and memory usage as well.

_________________
Sexy Girls in your city


Top
   
PostPosted: Tue Feb 11, 2014 2:14 pm 
User avatar

Joined: Wed Nov 19, 2008 7:44 pm
Posts: 1169
Location: Bulgaria
Yes i saw for the memory usage , but not that big decrease of CPU load. From 16 to 9 % i guess 4 cores is about 40% less. But even 2 cores it`s still nearly 40% down. i don`t see this here.
It`s still 17-19% with GUI down. Last beta was same , even before beta 23 was same. I can`t remember after what beta it came on this load but yeah after 7.40 the load is decreased. this is for sure.

Please anyone with Intel 2 cores to make some simple video on his task manager with a preset that i will give him. it will be good to be around 2.8 Ghz like mine CPU. If anyone have such an Intel i will upload the preset here.


Top
   
PostPosted: Tue Feb 11, 2014 8:28 pm 

Joined: Wed Dec 19, 2012 8:19 am
Posts: 140
Installed the last beta (first beta for me for 7.41) but something is wrong. Installed the beta over last release.

Sound Card is the Marian trace Alpha,

Back to 7.40 no problems..
Attachment:
WTF.jpg
WTF.jpg [ 205.01 KiB | Viewed 5316 times ]

_________________
The Power of Sound

''Music is a moral law. It gives soul to the universe, wings to the mind, flight to the imagination, and charm and gaiety to life and to everything.'' - Plato


Top
   
PostPosted: Tue Feb 11, 2014 8:59 pm 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
@PowerSound: I suppose that it also sounded really bad?

which sound card do you have? Do you have any idea what the bit depth is?

I optimized some ASIO stuff and I thought I had fixed some things. Maybe not...


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 287 posts ]  Go to page Previous 117 18 19 20 2129 Next

All times are UTC+02:00


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited