Plug-in Hygiene (when are they using resources?)

Support and feedback for Acoustica's Mixcraft audio mixing software.

Moderators: Acoustica Greg, Acoustica Eric, Acoustica Dan, rsaintjohn

Post Reply
User avatar
Starship Krupa
Posts: 699
Joined: Mon Jun 23, 2014 3:05 am
Location: California

Plug-in Hygiene (when are they using resources?)

Post by Starship Krupa »

Partially in the interest of extending the life of my aging 2.4GHz Core 2 Quad DAW system, and partially out of plain curiosity, I am trying to figure out when FX and Virtual Instruments are still active from a processor and memory use standpoint.

I often find myself when deep in a mix, having tracks that go muted for a long time waiting to be brought back in, takes that I plan on using for comping, etc. I want to know how to really "park" them so that they are not dragging down the rest of the project in some way. Some of these are audio, like vocal and drum tracks with plenty of processing, and some are VSTi's, like string sample players that use a lot of RAM.

I'm talking about VST2's here, because it looks like VST3's have ways to unload themselves when they are not processing audio.

So far I am pretty sure that both FX and VSTi's are still fully in memory and in the case of the FX at least, doing their work even when their track is muted or there is silence on the track.

From within the Effect List window, so far it looks like if you uncheck the box next to the word "Effect," all plug-ins go inactive for that track and give back their resources. I may be wrong.

Where I am less certain is whether muting the individual FX in the list releases their resources.

Also, in a chain of FX, does the signal still have to go "through" a muted version of the plug? Or is it routed "around" it?

Regarding VSTi's, I think that they are still in memory, with all of their samples and whatnot loaded whether their track is muted or not. I am also again unsure whether unchecking an instrument in the Instrument window does anything to relieve this.
-Erik
___________
3.4 GHz i7-3770, 16G RAM, Win 10 64-bit, ATi Radeon HD 5770
2X PreSonus Firepods, Event 20/20's, Alesis Monitor Ones, Alesis Point Sevens
Mixcraft Pro Studio 8.5, Cakewalk by BandLab
User avatar
aquataur
Posts: 610
Joined: Sun Apr 15, 2012 12:01 pm
Location: Innsbruck, Austria

Re: Plug-in Hygiene (when are they using resources?)

Post by aquataur »

When I still had my 32bit machine, memory was at its limits when using samplers like EZD. I observed that memory does not get released when unloading plug-ins or upon freezing.

I requested that feature, but as of now (end of V.7 development) this does not seem to have changed.
With 64 bits and oodles of memory it probably is not that crucial any longer, howerver programmers seem to ever get sloppier in memory mangement due to the availability of cheap memory.

Look at the following memory numbers I staged. I took memory snapshots before, after opening MX7, after importing EZD2 and a project (MIDI directly imported into the MX track), freezing, unloading equal to new project, closing MX7.
EZD2 seems to consume a whopping good 1GB of memory (too much for a 32 bit system...), which does not get down when you freeze the track.

Note that some numbers never go down again (standby memory), but this may be a operating system peculiarity.
With the mills going slowly and more important things to fix this appears to have remained the same it ever was.

-helmut
Attachments
Before MX7 start
Before MX7 start
before.jpg (70.44 KiB) Viewed 4434 times
After starting MX7
After starting MX7
after Mixcraft empty.jpg (73.3 KiB) Viewed 4434 times
After loading EZD2
After loading EZD2
after loading ezd2.jpg (69.63 KiB) Viewed 4434 times
After freezing EZD2track
After freezing EZD2track
after freezing.jpg (67.46 KiB) Viewed 4434 times
After deleting EZD2track again
After deleting EZD2track again
after deleting track.jpg (68.95 KiB) Viewed 4434 times
After new project without MX7 restart
After new project without MX7 restart
after new project without close.jpg (72.19 KiB) Viewed 4434 times
After closing MX7
After closing MX7
after closing mixcraft.jpg (68.99 KiB) Viewed 4434 times
C# or Bb!
User avatar
chibear
Posts: 1861
Joined: Sun Sep 04, 2011 7:25 am
Location: Manitoba, Canada

Re: Plug-in Hygiene (when are they using resources?)

Post by chibear »

I can see the RAM issue with totally unloading plugins as you mute them, you would then have to wait for the plugin to load again each time you re-activated them, but I think the OP is referring more to CPU usage and how Mixcraft routs around muted plugins. Watching this one 8)
Win 7 Pro, 3930K, Gigabyte Ga-X79-UP4, Corsair AX860i, 64GB gSkill 1600 RAM, 5 X 120 GB Intel 520 SSD, 1T & 2T WD caviar black, EVGA nVidea 560, Asus Xonar Essence STX EWQL CCC, Kirk Hunter, Chris Hein, Omnisphere
Soundcloud YouTube
User avatar
Starship Krupa
Posts: 699
Joined: Mon Jun 23, 2014 3:05 am
Location: California

Re: Plug-in Hygiene (when are they using resources?)

Post by Starship Krupa »

aquataur wrote: I requested that feature, but as of now (end of V.7 development) this does not seem to have changed.
With 64 bits and oodles of memory it probably is not that crucial any longer, howerver programmers seem to ever get sloppier in memory mangement due to the availability of cheap memory.
Bit of insight from my days as a pro software QA engineer:

Resource creep can be exacerbated in smaller companies without dedicated QA departments to maintain a collection of "minimal" systems.

Devs obviously have up-to-date, even perhaps extra-capable systems for the work they do, so issues of resource scarcity are just not as in-their-face as they might otherwise be.

I am good at system tuning, I often use Process Lasso when mixing to bump my audio apps and drivers in priority, as well as to kill unnecessary processes.

The advertised system requirements for Mixcraft 7 are:

"1 GB RAM (2 GB or more recommended) 1.5 GHz CPU (Dual Core or higher recommended)"

I don't even try it any more on my old Pentium D system. Can't imagine trying to do much of anything on a single-core box with 1G of RAM. Heck, I would not like to have to browse the web and do word processing with such a system!

Maybe doing stuff with only MIDI and the supplied loops and plug-ins would work, but I'd not like to have to try.
-Erik
___________
3.4 GHz i7-3770, 16G RAM, Win 10 64-bit, ATi Radeon HD 5770
2X PreSonus Firepods, Event 20/20's, Alesis Monitor Ones, Alesis Point Sevens
Mixcraft Pro Studio 8.5, Cakewalk by BandLab
User avatar
Acoustica Greg
Posts: 24655
Joined: Wed Mar 01, 2006 5:30 pm
Location: California
Contact:

Re: Plug-in Hygiene (when are they using resources?)

Post by Acoustica Greg »

Hi,

There's RAM usage, but there's also CPU usage. Performance problems are often caused by bottlenecks in CPU processing. Muting the track seems to free up CPU processing, and of course freezing would do that as well.

In regard to RAM, I'm not sure what it would take to change the RAM footprint as the program was running, but RAM is cheap these days and most people with relatively new computers have plenty.

Greg
Mixcraft - The Musician's DAW
Check out our tutorial videos on YouTube: Mixcraft 10 University 101
Post Reply