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: 496
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, 493 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,792
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 Pro 64-bit, Reaper 6(x64), AMD 3950x, Aorus X570 Master, 64GB DDR4 3600, PowerColor Red Devil 5700XT, EVO 970 2TB, 10TB HD, Define R6
PitchSlap is offline   Reply With Quote
Old 11-23-2017, 12:56 PM   #3
dimitris
Human being with feelings
 
Join Date: Nov 2008
Posts: 104
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: 15,721
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: 496
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
Location: Los Angeles, CA
Posts: 3,116
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: 104
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: 496
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
Location: Los Angeles, CA
Posts: 3,116
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: 12,557
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?
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: 1,343
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: 15,721
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,676
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
Location: Los Angeles, CA
Posts: 3,116
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: 22,754
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?
__________________
Ici on parles Franglais
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: 496
Default

Edit: moved to the right thread
Attached Files
File Type: rpp Multiprocessing bug.rpp (5.4 KB, 408 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: 24,790
Default

You should post that to the prerelease thread, not here.
EvilDragon is online now   Reply With Quote
Old 12-15-2020, 05:01 PM   #18
rasmusmarshagen
Human being with feelings
 
Join Date: May 2020
Posts: 53
Default Not fixed

I know this is an old thread, but is this fixed? I’m experiencing exactly this, the whole signal chain of tracks with anticipative fx turnt OFF will bottleneck to one thread/core. Increasing the RT cpu badly

Anyone got a fix? Reainsert for example needs to be used without the apfx (on just that track),- it’s going to force ALL the tracks it’s feeding to end up on the same thread causing massive RT cpu load. It’s not a problem if it’s the last track I use in a serial chain of course.

Have I missed the fix for this?
rasmusmarshagen is offline   Reply With Quote
Old 12-15-2020, 08:15 PM   #19
ferropop
Human being with feelings
 
ferropop's Avatar
 
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,116
Default

Also wondering, is this rolled up in all the PDC stuff we've been seeing in recent pres?
ferropop 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 04:21 AM.


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