TranceAddict Forums

TranceAddict Forums (www.tranceaddict.com/forums)
- Production Studio
-- CPU maxed out? Freezing? Sputtering? Read here!
Pages (2): [1] 2 »


Posted by DigiNut on Nov-17-2005 03:25:

CPU maxed out? Freezing? Sputtering? Read here!

Alright, let's have at it. This question gets asked almost every day but the discussion is too long-winded to answer in the FAQ - hence the reason for this thread.

I'll start with what I'm ostentatiously going to call DigiNut's First Law of Home Studio Production:


No matter how fast or expensive your computer is, you WILL, eventually, some day, exceed its processing capability while working on a track.

That's great, you say. I already knew that, butthead. What am I supposed to DO about it? Don't worry, I'm getting to that.

The very first thing you need to do is remind yourself that even if you use an "all-software studio", there is still one piece of hardware in it: your computer. And like any piece of hardware, it has hard limitations. Those limitations may not be as clear-cut as, say, the number of channels on your mixer, or the polyphony limit on a rack synth, but they still exist in the more general form of "the amount of stuff I can do at once".

With that in mind, understand that going out and buying the hottest new PowerMac on the market won't solve your problem. Sure, it may raise the aforementioned limit, but it won't eliminate it altogether. There are many more ways to deal with CPU limits than buying a new computer that are both far more effective and far less expensive, and without further ado, here they are!


In order of priority

1. Bounce instruments to audio!
People who use a lot of studio hardware are probably more familiar with this one because they are constantly having to deal with the limitations of that hardware. I've noticed that many people who produce only with software refuse to take this suggestion seriously, even though it is ten times faster and simpler when using software.

The most common excuses I hear for refusing to do this are:

- "But I might want to change something later!"
> Sure, you might. No one is telling you to delete the original MIDI sequence. Just render the output of your VST/AU/etc. to audio and turn off the instrument! When you need to add or change something later, just turn it back on and re-render the 10 seconds you added or changed, and splice it into the original rendered audio. Simple!

- "But it takes forever!
> Sure, it takes forever because you waited until you were already maxing out your CPU before you even thought about doing it. Rendering at "full load" takes more than 5 times as long as rendering with a light CPU load (trust me, I've tested this and I'm not exaggerating). If you bounce as you progress with the track and make it into a habit, you'll never have to sit around waiting for more than 10 or 20 seconds.

I don't care what your excuse is. This is by far the most effective solution to any CPU problems and most importantly it costs you nothing. What's more, if you have a bunch of effects on the instrument that are also sucking up CPU cycles, you can turn off all those effects after rendering as well. It's a win-win situation, so just do it!


2. Ditch the onboard audio
Many if not most new motherboards hype up their fancy-pants "integrated 6-channel audio", and every single one of them blows chunks. These "AC '97" chips and other onboard sound devices are beyond crap, and it's not just because of their inefficiency. Many of them also distort the audio signal hideously, to the point where your $800 studio monitors are completely useless because the sound that's getting fed into them is not even close to what it should be.

If you don't have a real sound card, get one right now. They're not expensive. M-Audio Audiophile, SB Audigy, SB X-Fi, E-mu 1616/1820, MOTU PCI-424, it really doesn't matter as long as it's got a low-latency ASIO driver, and almost every new sound card does. And don't you dare ask "which is the best sound card" - read the FAQ.


3. Use your sound card's ASIO driver!
This seems like common sense, but I've actually seen people who have spent $500 or more on the best sound cards/sound modules money can buy and have their sequencer set to use the DirectX driver, or some software-emulated ASIO driver (i.e. that one that ships with Cubase). If you're not actually using the vendor's ASIO driver (or a decent substitute like ASIO4all) then you've wasted your money!

And if you're not sure how to install the proper drivers or change the audio output settings in your sequencer, please, RTFM. Don't ask that question here.


4. Raise the ASIO latency
I know, we'd all like to have our latency set to 1 millisecond so we can record in real time with perfect accuracy. It's just not going to happen. When sound module manufacturers advertise that their product has "zero latency", that usually means under ideal conditions with say, 1 or 2 instrument playing. That figure is not practical - almost nobody gets away with < 10 ms latency, and most people (including myself) have to set it at 50 or above to get reasonably good performance. You can always temporarily lower the latency and turn off the other instruments in order to do realtime recording, but I find that 50 ms is adequate for that task anyway.

Zero latency means zero buffer, which means that you're going to hear skips and stutters with every single spike in CPU usage - raising the latency gives you some additional headroom.


5. Use Send (Auxilliary) effects and group channels
Don't put a separate reverb or delay line on every single track. It's completely unnecessary. Even EQ settings can be CPU-optimized with proper routing.

Virtually every sequencer offers *some* aux effect and grouping capability. If an effect is "wet only" (most often reverb or delay, but there are others) then you should be putting just ONE instance of said effect on an auxilliary channel, setting it to 100% wet, and routing a copy of each of your affected tracks to it using Sends. You can put reverb or other effects on an umlimited number of tracks this way without using any extra CPU. Even if you use different reverbs for different instruments, chances are you can lay everything out using two or three aux reverbs.

If you're using stereo expanders, filters, parametric EQ, etc., those can't be used with Send FX. However, if you're using the exact same EQ settings on two instruments, don't waste CPU cycles by putting a separate EQ on both of them; create a routing group for both of them and EQ the routing group!


6. Preview your track on low(er) quality
If you're using software, you should optimize your real-time record/play settings for performance, not quality. For example:



7. Keep your computer clean
If your computer is full of viruses, spyware, or other harmful or unnecessary programs, it's going to slow down. Again, common sense.

If your computer is completely cut off from any public network then you don't need to worry about this (just don't install any more programs than you really need). Otherwise, you should have some proper anti-virus software like Symantec Anti-Virus or Avast, and some decent spyware search/removal tools such as Ad-Aware from Lavasoft or Spybot Search & Destroy.

If you're running Windows, you should also turn off any unnecessary services. I can't tell you precisely what these are since it will depend on your individual configuration and what else you use the computer for, but what you can do is open up the service manager (go to Start->Run and type "services.msc"), look at which services say "Started", and type their names into google to see what they do and whether or not you can disable them. This is not a laborious process - usually the information you're looking for will be the first result that pops up. If a service isn't required, then stop it and set it to "Manual" or "Disabled" instead of "Automatic".


8. Network additional workstations
We're now moving out of the low-cost solutions and into the medium-cost. Rather than springing for a brand new computer, consider if you've got any OLD computers lying around, or enough spare parts that you can use to build one. Having two separate workstations is FAR more effective than a single dual-processor machine, and it is easier than you think to perform the load balancing. There are fairly low-cost and easy-to-use utilities like FX Teleport, or the VST System Link if you use Cubase. I know that there are equivalent products for Macs and for Logic Audio, Digital Performer, etc., although I don't remember their names offhand.

Even if you don't have an old PC sitting around, it's much more cost-effective to put $500-$1000 down on a new bare-bones entry-level PC than it is to blow $5000 on a brand-spanking-new production workstation.


9. Go hardware!
I personally have no hardware except for an Emu 1010 PCI card which is quasi-hardware. However, if you've already gone through all of the previous steps and they haven't helped you, then evidently you've exceeded the limits of a software studio.

Hardware synths obviously take up nearly zero CPU because the sequencer only needs to send them the MIDI data. There are also various reverb/delay modules, compressors and other mastering boxes that can easily perform the same tasks which eat up huge amounts of CPU when done in software. I'm not going to list them all here, I don't even know which ones are any good, but there are lots of useful links for that in the Master Tutorial List.

Hardware is expensive. But it's often still cheaper than a brand new workstation and there are many other advantages to owning it (resale value and boosted creativity/productivity come to mind).


10. Get another hobby
If you've tried all those things and are still having CPU problems, then I'm sorry to say that you're wasting your time with music production because you obviously have no clue what you're doing. I hear the local Wal-Mart is hiring part-time!


Posted by armanivespucci on Nov-17-2005 03:31:

Your wisdom strikes again.

Too bad people -still- don't read the stickies.


Posted by IDarkISwordI on Nov-17-2005 03:44:

Hey. Another quality post. I'd say its all pretty accurate. One thing about FX units. Some of the most processor intensive FX are not the ones you think they should be. Reverb is of course going to hog a lot of processor but the parametric EQ requires tons and tons and tons of funtion calculations. The more points you have, the higher the number of calculations required to make the funtion displayed. My recomendation when youre EQing, turn off bands you arent using. If you only need a single boost or drop in a frequency range, set the resonance on it and turn off all the others. This will save you lots of processing power.

Cheers,
Zac


Posted by DigiNut on Nov-17-2005 03:54:

Good advice Zac. FYI for everyone reading this, if you have your own tips feel free to add them; the original post should have all the basic information but it's of course not going to be all-encompassing. I just wanted to have *one* thread about CPU stuff that actually contains useful answers... in the vain hope that people won't start new threads about it.

If I see anything that I think I can fit into the first post, I'll edit it; if I don't include a particular tip, that doesn't mean I think it's wrong or useless, just that I'm not sure how or where to include it!


Posted by djbruuen on Nov-17-2005 05:31:

i'm aware of most of the these tips...although great resource to hopefully eliminate the usual questions...heres a tip thats fairly cheap:

have a dedicated music harddrive! go to the local computer shop, buy a mobile rack for a second harddrive that installs into any front loading bay of your computer, secondly, buy an additional inner tray for the mobile rack. In the insert that comes with the mobile rack, use it as your every day computer harddrive...when you want to do music, disconnect the internet and pop in the dedicated music production harddrive...bamo, never worry about a virus! (just to be mr. obvious, only change hardrives where your computer is off! duh!!!


heres a question though! what is an efficient way to hook up two computers?


Posted by Dj Pyster on Nov-17-2005 05:32:

Great topic, I love ur posts digi-nut, they get right to the point and they are very very informative.

when you say bounce instruments to audio, like in FLstudio for example, I open up a VST Instrument, then I create a melody, now when i bounce it to audio, does that mean render it to a .wav file and then use that file as a sample file?


Posted by IDarkISwordI on Nov-17-2005 05:34:

quote:
Originally posted by djbruuen
heres a question though! what is an efficient way to hook up two computers?


Just two? If thats all, a crossover cable would be cheapest and most efficient.


Posted by djbruuen on Nov-17-2005 05:38:

^ lol, how many computers do you use? if only i could afford more, but all my production money has gone to my monitors and soundcard...so it'll be awhile for bigger and better things.


Posted by IDarkISwordI on Nov-17-2005 06:36:

Lol, well you'd jsut have to see the 'computer graveyard' in the basement at my parents house :P. Before I moved out, there were 7 computers on the network. I did lots of stuff with 3D though and the more computers the better in that case :P. Course, counting all the computers in the graveyard, theres probably 30-40 computers down there. Working, just... decomissioned :P.


Posted by Thois on Nov-17-2005 12:18:

Re: CPU maxed out? Freezing? Sputtering? Read here!

quote:
Originally posted by DigiNut
>Sure, you might. No one is telling you to delete the original MIDI sequence. Just render the output of your VST/AU/etc. to audio and turn off the instrument! When you need to add or change something later, just turn it back on and re-render the 10 seconds you added or changed, and splice it into the original rendered audio. Simple!

Great tutorial, learned alot (especially about my ac97 sucking big time)
But the thing I quoted: You can't turn instruments of in FL Studio, when I click on the green little circle in front of an instrument it doesnt produce sound anymore, but it still keeps eating cpu...

Is it possible to really turn off instruments in other sequencers (CPU=0%)?

What about effects? Should you render the instrument with effects and turn them off later, or keep the fx on and render without fx?
Is it possible to turn of fx completely (cpu=0%) in fl? What about other sequencers?

Hmmmm sorry if i sound like a noob, lot of stupid questions i guess, but these are things �'ve asked myself lots of times in the past...


Posted by Storyteller on Nov-17-2005 12:31:

yes it is possible in some, FL 4 compared with FL 5 has a huge difference already in cpu usage of plugs which are not begin used, I don't know what they've changed exactly, but working conditions are way better in fruity 5 for a friend of mine whom works on a lousy pc .

Renoise is the only sequencer I know which actaully suspends VSTi's from using cpu when they don't generate a sound (which makes it super CPU efficient). I don't know if it also suspends effects though. It is able to bypass them (so they won't use CPU), but that has to be done manually.


Posted by Maor Levi on Nov-17-2005 12:47:

quote:
Originally posted by Storyteller
yes it is possible in some, FL 4 compared with FL 5 has a huge difference already in cpu usage of plugs which are not begin used, I don't know what they've changed exactly, but working conditions are way better in fruity 5 for a friend of mine whom works on a lousy pc .

Renoise is the only sequencer I know which actaully suspends VSTi's from using cpu when they don't generate a sound (which makes it super CPU efficient). I don't know if it also suspends effects though. It is able to bypass them (so they won't use CPU), but that has to be done manually.


FLStudio has "Smart Disable" Option so every VST who dosent play or behing touched for few seconds freezes..


Posted by DigiNut on Nov-17-2005 14:59:

quote:
Originally posted by Dj Pyster
when you say bounce instruments to audio, like in FLstudio for example, I open up a VST Instrument, then I create a melody, now when i bounce it to audio, does that mean render it to a .wav file and then use that file as a sample file?

Yes.

quote:
Originally posted by djbruuen
heres a question though! what is an efficient way to hook up two computers?

I use FX Teleport and a cheap gigabit switch. That'd be good for up to 4 computers, although you'd have to buy more licenses for FX Teleport (well worth the money though IMO).

quote:
Originally posted by Thois
Is it possible to really turn off instruments in other sequencers (CPU=0%)?

I'm almost positive that you can do it in FL somehow, but I haven't used it for a while... and I *know* that Logic has that option.

In Cubase, every single VST instrument and effect has a "power" button that just turns it on or off. You can leave everything else the way it is, just click off the power button and no sound, no CPU usage from that plugin.


I realized that I forgot one or two things yesterday (mainly with respect to lowering the quality/polyphony on instruments and effects)... I'll be back later today to update the thread.


Posted by dj jasonF on Nov-17-2005 15:09:

Re: Re: CPU maxed out? Freezing? Sputtering? Read here!

quote:
Originally posted by Thois
Great tutorial, learned alot (especially about my ac97 sucking big time)
But the thing I quoted: You can't turn instruments of in FL Studio, when I click on the green little circle in front of an instrument it doesnt produce sound anymore, but it still keeps eating cpu...


i dont know if itll work for you but here is what i do:

when i have laid down the basic ideas in a project i make a new folder put it in and rename it to xxxxx-for render or something. then i delete every fx and vsti leaving only the drums and fx samples in the project and renaming it to the original name. i go back to the "for render" and render all vsts that i have deleted and use it as audiofiles in the main project. if i come up with a new melody and stuff i make a new project (lets say "for render_2"). that way i can use as many instruments and fx processing in them as i want. and im still with 5,5 ms latency for the main project plus lots of cpu for more fx processing and premastering stuff.

it was a huge problem for me and its the best way to do it... having 2 althlons fx57 and 4 gigs of ram isnt going to solve your prolems anyway.


Posted by djbruuen on Nov-17-2005 15:55:

[QUOTE]Originally posted by DigiNut
Yes.


I use FX Teleport and a cheap gigabit switch. That'd be good for up to 4 computers, although you'd have to buy more licenses for FX Teleport (well worth the money though IMO).


thanks for the tip! a second computer is something i can't afford at the time being...but down the road as i expand my studio, since i favour software for production, multiple computers are definatelly going to be a necessity.

so with fx teleport, you load vst's on a second computer, and the folder it creates will automatically detect the vsts on the host machine?


Posted by dj jasonF on Nov-17-2005 18:12:

fx teleport wont do it for me... is 100mbit network enough?


Posted by Azza Robinson on Nov-17-2005 18:32:

Smoking ..umm..something

Great Thread Diginut


Posted by Subtle on Nov-17-2005 20:59:

you`re a FaqNut

how about adding something about which CPU to use: (dont use Celeron, 800 MHZ wont do, AMD 64 rocks.. etc..)


Posted by Storyteller on Nov-17-2005 23:57:

don't forget the 'fork pentium' remark in that section!


Posted by DigiNut on Nov-18-2005 02:10:

quote:
Originally posted by djbruuen
so with fx teleport, you load vst's on a second computer, and the folder it creates will automatically detect the vsts on the host machine?

More or less. FX Teleport actually uses a client/server architecture, so you install the "master" program on the computer with your sequencer, and the "slave" program on the others. Then you install your various VST plugins on the slave computers, and FX Teleport will automatically detect them from the master system.

It sounds like a chore, but it's really a no-brainer to set up. Took me all of 5 minutes to get up and running. Just keep in mind that it may not be 100% compatible with some of the rinky-dink plugins (I've tested it with z3ta+, SIR, Ambience, Guitar Rig, Ozone, and all the other CPU whores and it works fine with those).

It's not a requirement, but it helps if you spend an extra $20 on a second network card for your master PC, and put it on a private internal network with your slave PCs. That way you don't have internet traffic sucking up bandwidth that you want to use for audio.


quote:
Originally posted by dj jasonF
is 100mbit network enough?

That all depends on your interpretation of "enough". Enough for what? Refer to the First Law.


Posted by dkode on Nov-18-2005 03:40:

an old trick i used to use with processor heavy vsti's is to make a soundfont of the patch you want to use, make sure it's recorded dry(no onboard fx from the vsti) so you can apply effects to the soundfont.

this works best for bass and sometimes leads, but for pads it's not ideal obviously.


Posted by SgtFoo on Nov-18-2005 07:34:

AUX SENDS!!

Another tidbit of useful info to add that I've seen many ppl forget....

Use aux-send FX when adequate!
.. routing/sending to auxiliary FX units (if using hardware) or to auxiliary-channels in your software mixer, with FX patched to them lets you run several sounds thru one or several effects at once, without having to apply it over and over.
I find that most percussion instruments that need reverb or flange or such similar FX can be aux-sent to a single channel for processing rather than each with its own instance of the same effects.
Often times the amount of effect can more easily/precisely be changed uning this method as well.


Posted by thoughtlessjex on Nov-18-2005 13:41:

Re: CPU maxed out? Freezing? Sputtering? Read here!

quote:
9. Get another hobby
If you've tried all those things and are still having CPU problems, then I'm sorry to say that you're wasting your time with music production because you obviously have no clue what you're doing. I hear the local Wal-Mart is hiring part-time!

*cries* You're horrible.

Good work, though. This is some good advice.


Posted by dj jasonF on Nov-18-2005 13:43:

quote:
Originally posted by DigiNut



That all depends on your interpretation of "enough". Enough for what? Refer to the First Law.


well i have glitches with one instance of korg legacy cell and i cant use it in any way with a second vst loaded/


Posted by DigiNut on Nov-18-2005 14:12:

quote:
Originally posted by dj jasonF
well i have glitches with one instance of korg legacy cell and i cant use it in any way with a second vst loaded/

So you're asking if a 100 Mb NIC is going to help your CPU? No, it won't. That information is applicable to networked machines, not standalone DAWs. The speed of your network makes no difference whatsoever if you don't *have* a network.

It's pretty sad if you can't even run one instance of legacy cell. What are you running, a 3-year-old Celeron?


-- Anyway, some more good tips guys - I'm going to add the last two to the first post (send effects and sampling). Sends are so fundamental to my production workflow that it didn't even occur to me that some people don't use them...


Pages (2): [1] 2 »

Powered by: vBulletin
Copyright © 2000-2021, Jelsoft Enterprises Ltd.