Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 12-06-2015, 06:13 AM   #1
HighVoltage
Human being with feelings
 
HighVoltage's Avatar
 
Join Date: Jan 2007
Posts: 308
Default PDC on folder-tracks disables multi-threading (test file included) (FIXED)

Please if you have 1 minute, test this for me, cause i think i'm going insane here.

The thing basically is:

If you have a plugin that has any amount of PDC on a folder-track, it will send all the processing to a single core, thus easily and unnecessarily bottlenecking your system.
It ONLY applies with record armed tracks (or if you have anticipative fx processing OFF)

Here i have a bunch of ReaXcomps routed to a folder track. CPU is evenly distributed on 4 cores. Everything is paying nice.

http://prntscr.com/9ay2dw

As soon as i enable a plugin with PDC on the folder, in this case a reaInsert - (notice it's only 1 sample delay) All processing jumps to one thread.

http://prntscr.com/9ay32j

This is very very bad on real life scenarios, for example if you set up a multi-output drum kit from kontakt, and you use some plugins on the BUS that has PDC. (again: even 3 samples breaks it)

It's not related to my config either,i have tested it on 3 different machines with the DUMMY audio driver too.


Attached a very basic file to test it, you just have to watch your CPU meter while enabling the ReaInsert on the folder track.
(You might have to ease up on the number of Xcomps if you have a slower CPU)

-----------
I had another thread about this here:
http://forum.cockos.com/showthread.php?t=164801
but now i tracked the bug to it's core with only built-in plugins, so anyone can test if it occours.
-----------
Attached Files
File Type: rpp CPU TEST THREADING.rpp (140.5 KB, 43 views)
HighVoltage is offline   Reply With Quote
Old 12-06-2015, 06:54 AM   #2
PitchSlap
Human being with feelings
 
PitchSlap's Avatar
 
Join Date: Jan 2008
Location: Vancouver, BC
Posts: 3,175
Default

Enabling the folder plugin causes my RT CPU to go from around 70% to 250%.

Though strangely in the resource monitor the CPU usage reported goes down noticeably when enabling the folder plugin.
__________________
FRs: v5 Media Explorer Requests, Global Quantization, Session View
Win10 64-bit, Reaper 5(x64), Core i7-5700HQ, 16GB RAM, GeForce GTX 960M, SSD
PitchSlap is offline   Reply With Quote
Old 11-23-2017, 12:56 PM   #3
dimitris
Human being with feelings
 
Join Date: Nov 2008
Posts: 70
Default

Confirmed. CPU usage quadrupled, while threads reduced from 4 to 1.
dimitris is offline   Reply With Quote
Old 12-02-2017, 06:50 PM   #4
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 11,057
Default

Duplicated, have a fix but need to save it for a major release cycle. For now make sure you use anticipative FX for this scenario
Justin is offline   Reply With Quote
Old 12-02-2017, 06:53 PM   #5
HighVoltage
Human being with feelings
 
HighVoltage's Avatar
 
Join Date: Jan 2007
Posts: 308
Default

Ooooh yessssssss!!! Can't wait
HighVoltage is offline   Reply With Quote
Old 12-02-2017, 09:31 PM   #6
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Posts: 278
Default

Hahah I've bumped like 5 different versions of this exact post in the past few weeks. This gets even worse with nested folders, and with sidechain send/receives.

SO glad to see this get ironed out, please keep us informed Schwa/Justin. Huge killer of the amazing routing possibilities in Reaper.
ferropop is offline   Reply With Quote
Old 12-03-2017, 03:21 AM   #7
dimitris
Human being with feelings
 
Join Date: Nov 2008
Posts: 70
Default

Quote:
Originally Posted by Justin View Post
Duplicated, have a fix but need to save it for a major release cycle. For now make sure you use anticipative FX for this scenario
That's great news! Many thanks!
dimitris is offline   Reply With Quote
Old 12-03-2017, 05:41 AM   #8
HighVoltage
Human being with feelings
 
HighVoltage's Avatar
 
Join Date: Jan 2007
Posts: 308
Default

I wonder what a major release cycle suggests though. Is it version 6?
Cause that seems to be pretty far away
HighVoltage is offline   Reply With Quote
Old 12-04-2017, 12:27 PM   #9
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Posts: 278
Default

Sure hope sooner, it explains so many performance issues I and many people have been having.

Defeats all the benefits of using folders in the first place sadly
ferropop is offline   Reply With Quote
Old 12-04-2017, 12:45 PM   #10
serr
Human being with feelings
 
Join Date: Sep 2010
Posts: 7,021
Default

Jeeze, I wonder if this explains the random behavior with those suspect plugins that seem to crash PDC? This sounds like a real good find!

Is this just an issue with folders or does it also follow standard sends/returns?
__________________
Mac Pro 8x 3.33GHz i7, 16GB, various SSD's and systems; MacBook Pro 4x 3.6GHz i7, 16GB, various SSD's and systems; 2x True Precision 8; Apogee AD-16; 2x MOTU 828mk3, Evolution UC-33e; Faderport; WiRanger, iPad. Remember hardware mixers? Me neither.
serr is offline   Reply With Quote
Old 12-04-2017, 01:29 PM   #11
mlprod
Human being with feelings
 
Join Date: Jul 2015
Location: Stockholm, Sweden
Posts: 509
Default

This will be VERY interesting to follow. Hopefully for 5.7.
mlprod is offline   Reply With Quote
Old 12-04-2017, 05:44 PM   #12
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 11,057
Default

We'll probably put it in some 5.Xpre builds to test, though it might not get into a release until v6, depending on the feedback from testing and what unintended side effects there are.
Justin is offline   Reply With Quote
Old 12-04-2017, 05:49 PM   #13
Mercado_Negro
Moderator
 
Mercado_Negro's Avatar
 
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,175
Default

Count me in for the testing. This problem has given me headaches for years!
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway
Mercado_Negro is offline   Reply With Quote
Old 12-16-2017, 06:33 PM   #14
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Posts: 278
Default

Let's get this in the next Pre ! I will test this for 48,000 hours straight.
ferropop is offline   Reply With Quote
Old 12-17-2017, 01:30 AM   #15
ivansc
Human being with feelings
 
Join Date: Aug 2007
Location: Near Cambridge UK and Near Questembert, France
Posts: 17,094
Default

(grin) Lemmeseenowwww... 48,000 divided by 24.... divided by 365.... Allow for meal breaks, sleep breaks, bathroom breaks, sick days....vacations....

How old did you say you were again?
__________________
We are in a rudderless ship with a fool at the wheel who doesnt even realise it ain`t working any more
ivansc is offline   Reply With Quote
Old 12-30-2017, 02:28 PM   #16
HighVoltage
Human being with feelings
 
HighVoltage's Avatar
 
Join Date: Jan 2007
Posts: 308
Default

Edit: moved to the right thread
Attached Files
File Type: rpp Multiprocessing bug.rpp (5.4 KB, 19 views)

Last edited by HighVoltage; 12-30-2017 at 03:48 PM.
HighVoltage is offline   Reply With Quote
Old 12-30-2017, 02:33 PM   #17
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 21,273
Default

You should post that to the prerelease thread, not here.
EvilDragon is offline   Reply With Quote
Reply

Thread Tools
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 -7. The time now is 08:32 PM.


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