Notifications
Clear all

Any CPU reduction options with Unify 2?

9 Posts
4 Users
0 Reactions
205 Views
(@woodslanding)
Eminent Member
Joined: 7 years ago
Posts: 18
Topic starter   [#5881]

I love having all my effects under one roof, but the CPU hit for live use with Unify is causing crackles.  Using U2 with a single instance of crystallizer takes 25% of my CPU cycle while the plugin alone in the same patch uses 6%. 

My host is Usine, which properly reports CPU as a % of the sample cycle.

I'm not using a lot of the features of Unify, as this is for live use, not recording.  My synth channels still use Unify1, because CPU is much lower.  But I love the control mapping which allows me to assign the same knobs to different destinations from one patch to another, without it looking any different to my host.

Are there any features/settings in U2 I could turn off to save CPU?  It's really not an option to increase latency, as this is predominantly an FX rig, and the lag gets doubled. 

I'm using WIN10 server 22, RME babyface at 64 samples.



   
Quote
Topic Tags
(@woodslanding)
Eminent Member
Joined: 7 years ago
Posts: 18
Topic starter  

I just read the release notes for 2.05, and it looks like there might be some reduction of background activity... I'll try it and see if it helps.



   
ReplyQuote
(@getdunne)
Illustrious Member Admin
Joined: 7 years ago
Posts: 4905
 

Unify works less efficiently at smaller buffer sizes like 64, especially on Windows. Please try setting your host to use, say 256 or 512 samples, and see if if the difference between using the plugin inside Unify vs. using it directly is reduced. If the difference is dramatic, the small buffer size is probably the cause.



   
ReplyQuote
(@woodslanding)
Eminent Member
Joined: 7 years ago
Posts: 18
Topic starter  

It doesn't matter to me if the performance improves at higher buffer sizes, as increasing the buffer is not an option... I know this setup works effortlessly at 128, which is usable for keyboards, but not for effects. 

Any other thoughts?  CPU doesn't need to come down much, it's sooo close 😉

I'm also going to do another pass for possible latency issues in the OS, but it's pretty cleaned up.



   
ReplyQuote
(@wavesequencer)
Honorable Member Admin
Joined: 2 years ago
Posts: 555
 

As far as audio load goes, Unify2 should be quite similar to Unify1 - there may be some extra CPU overhead in terms of the UI (there is a little extra going on with the live metering refresh).
The underlying layer processing code has not changed much if at all.

What's new/extra in terms of load:

We have a parallel instance of Unify2 always running in the background for the 'metronome' (which is also running latency compensation) - it shouldn't really have much impact (unless there is a complex groove loaded), but it's like always having at least one extra embedded Unify2 instance running in parallel.

The other new thing is the Macro LFOs - those are updated in the audio thread at a relatively low rate - but that is 32 extra updates that also potentially trigger UI (knob animation) refreshes from the audio blocks (it's divided down to a lower rate, so not every block).

Probably the biggest impact CPU/audio load wise is Gurusampler 2 vs Gurusampler 1, due to the polyphonic modulation matrix and 3 polyphonic LFOs vs 1 mono-LFO in GS1 - that's a lot of extra calculations going on per voice - e.g. you can have 64 voices X 3 LFOs modulating multiple parameters... vs just 1 LFO in GS1 (of course a bunch of optimization and load mitigation was done to reduce the load as much as possible, but the number of mod-sources/targets is also much greater vs GS1.. and we have an extra envelope too).

64 samples is a bit tough on Unify as Shane mentioned, 128 would definitely make it happier, but it also depends a lot on your audio interface driver (RME is usually pretty good) and actual CPU.. more cores/more recent chip = better for Unify.

I'm not sure on why you'd find it worse to increase buffer size for audio FX.. usually latency is a bigger issue for live playing of instruments.
128 samples is pretty good.. unless you have a very specific use case.

2.05 avoids constantly polling all plugin windows to see if they have a parameter update (for parameter learning/assignment) - it's just a small optimization - now it's only listening for parameter changes when you click the 'ear' button. This was less of an issue for Unify1, but in Unify2, especially when macro LFOs are running, it means there will be lots of parameter update events and checks continuously happening (prior to 2.05) due to the macro LFOs causing parameter changes in the plugins (if a parameter link is assigned).

 

 

 



   
ReplyQuote
(@woodslanding)
Eminent Member
Joined: 7 years ago
Posts: 18
Topic starter  

Thanks for all the information!

To be clear, when I say effects, I am running them live on guitar, and using amp simulators, so the chain is 100% wet, and latency is doubled, AtoD and DtoA.  But even on keyboard patches, I can feel the difference between 64 and 128.  If I could run the guitar at 32 I would, although guitar is just not as percussive as drum samples.  It seems to be a little more forgiving....

I went through some tests with latencymon, and discovered that ms anti-virus was still running, and spiking, even though everything was turned off in settings.  I disabled the exe from regedit.  This computer is online about 5 minutes once every few months (to update or authorize software) so I don't worry much about not being protected.  Anyway, that may have helped.

Also I installed the 2.05 update.

Whatever the reason (and hoping its not a fluke) the CPU on my crystallizer Unify2 patch went down from 24% to 14%.  And I played blissfully for an hour.   So fingers crossed all is well.

I've never used the metronome, and can't see a use case for me since I run U2 in a host, so it would be nice if there was a global disable of the feature that would remove the need for a second instance... but maybe it really doesn't matter.  In any case, that was the kind of thing I wondered about... if there were any settings that might reduce overhead.

 

Thanks!

-e  


This post was modified 2 months ago by woodslanding

   
ReplyQuote
(@wavesequencer)
Honorable Member Admin
Joined: 2 years ago
Posts: 555
 

Good to hear about those load reductions - hopefully partly related to the update. 
In it's default state the metronome just includes an instance of 'clickbox' and so there really no significant processing going on.. it's more an issue of memory usage and patch load/save time (including saving the prior state when you load a new patch for undo purposes) that could be improved with it totally removed/disabled.

 



   
ReplyQuote
(@woodslanding)
Eminent Member
Joined: 7 years ago
Posts: 18
Topic starter  

I will say that any improvement in loading/startup time would be welcome. 

Also, it is the nature of my setup that I am not recalling patches from within U2, but rather loading state from the host.  It can be slow (although I assume most of that is attributable to the loading of the actual vsts being hosted by Unify....)

Having a host within a host is not the most efficient way to operate, but it's crucial to be able to operate live from a touchscreen, which Usine is specifically designed to support, and still allow fluid patch changes and controller mapping across different vsts, which Unify supports.



   
ReplyQuote
(@ssquared)
Member
Joined: 7 years ago
Posts: 290
 

Interesting.  I've noticed my fan kicking in more often than usual with Ableton Live projects.  I have a set for this week where the fan is constantly running.  Low, but in the past, I usually don't get any fan.  I've noticed this for some time.

Last night I narrowed it down to U2.  I created a brand new project.  Added two instances of U2 with Guru Sampler (initial sound) and the fan kicked in on low.  Ableton would show about a 2% increase in its CPU meter for each U2 instance and max out at 8% after four or more.  My projects used to sit around 1 to 3% when stationary.

I have noticed CPU spikes with VST3, so I try to stay with VST2 when I can.  I am on v10 and maybe Ableton has made improvements since then.



   
ReplyQuote
Share: