Some Kontakt libraries use more CPU than others - RESOLVED

For seeking technical help with Digital Performer and/or plug-ins on MacOS.

Moderator: James Steele

Forum rules
This forum is for seeking solutions to technical problems involving Digital Performer and/or plug-ins on MacOS, as well as feature requests, criticisms, comparison to other DAWs.
Post Reply
David Polich
Posts: 4827
Joined: Tue Dec 07, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Los Angeles, CA
Contact:

Some Kontakt libraries use more CPU than others - RESOLVED

Post by David Polich »

I have the very latest version of Kontakt 5 (5.5). Running DP 8.07 in 64-bit mode, OS X 10.10.3, Quadcore Mac Pro 5.1 with 32GB of RAM. I'm experiencing a very weird issue with
"some" Kontakt libraries.

Certain libraries, when loaded, cause the Performance meter to show about 70% to 90% usage. This is with buffer set at 256. Specifically, Vir2's Electricity (18 GB data footprint), and all Orange Tree libraries (averaging about 1GB of data per library).. Yes, I have the latest versions of these installed. Loading any of these and then trying to play them usually causes the audio to stutter and drop out intermittently. Changing the Buffer size to 1024 helps a bit, but not much.

What's odd is that my largest K5 library, Soniccouture's Hammersmith piano, weighs in at over 45GB, and yet loading it does not peg my Performance meter, even at 128 Buffer setting. And none of the NI libraries (Session Strings Pro, Session Horns, Studio Drums, etc.) cause any problems.

Wondering if anyone else is experiencing this with certain Kontakt libraries.
Last edited by David Polich on Wed May 06, 2015 7:58 pm, edited 2 times in total.
2019 Mac Pro 8-core, 32GB RAM, Mac OS Ventura, MIDI Express 128, Apogee Duet 3, DP 11.2x, Waves, Slate , Izotope, UAD, Amplitube 5, Tonex, Spectrasonics, Native Instruments, Pianoteq, Soniccouture, Arturia, Amplesound, Acustica, Reason Objekt, Plasmonic, Vital, Cherry Audio, Toontrack, BFD, Yamaha Motif XF6, Yamaha Montage M6, Korg Kronos X61, Alesis Ion,Sequential Prophet 6, Sequential OB-6, Hammond XK5, Yamaha Disklavier MK 3 piano.
http://www.davepolich.com
User avatar
Gravity Jim
Posts: 2005
Joined: Wed Apr 30, 2008 2:55 am
Primary DAW OS: MacOS
Location: Santa Rosa, CA

Re: Some Contact libraries use more CPU than others in DP8

Post by Gravity Jim »

I've seen some variation, but nothing so dramatic as one instrument eating 70% of the bandwidth. I've read online that Kontakt libraries with heavy scripting can do what you describe.
Jim Bordner

MacPro 5,1 (3.33Ghz 12-core), 32g RAM, OS X 10.14.6 • MOTU DP 10.11 • Logic Pro X 10.2.5 • Waves Platinum, UAD-2, Slate Digital, Komplete, Omnisphere 2, LASS, CineSamples, Chipsounds, V Collection 5[color]
labman
Posts: 1944
Joined: Sun Jan 23, 2005 10:01 pm
Primary DAW OS: Unspecified

Re: Some Contact libraries use more CPU than others in DP8

Post by labman »

Jim is correct. Heavy scripting can peg DP (or any other DAW)
AMPGUI themes - Andy rocks!, 3 macs, MacPro 768GB ram, 16core OS11.7.10, DP11.31, all Waves, all SLATE, PSP, IK multimedia & Audioease plugs, all PAlliance, Softube, tons of NI VI's all air Spitfire, all Audiobro, all Berlin, EW PLAY, LLizard, MachFive3, Kontakt5, Omnisphere, RMX, LASS, all Soundtoys, Lexicon AU's, melodyne and others I know am forgetting, cause I'm old...Also mucho outboard rigs, MTPs, DTP, antelope WC, and 4 control surfaces with Raven.
User avatar
MIDI Life Crisis
Posts: 26254
Joined: Wed May 18, 2005 10:01 pm
Primary DAW OS: MacOS
Contact:

Re: Some Contact libraries use more CPU than others in DP8

Post by MIDI Life Crisis »

And one solution is to use more instances of Kontakt with less instruments is each. Large sample count and/or heavily scripted instruments should be in their own instance. Lighter weight one can share instances.

According to Magic Dave, this distributes the CPU load across more of the cores. This is true of any VI, but you're probably seeing it more in K since more 3rd party instruments are (in my experience) available for it. I also see better results in MachFive with that method but don't see as much of a problem with a newer Mac Pro trash can. In fact I've yet to see much of a CPU hit at all in anything done since upgrading. That might also be the SSD.
2013 Mac Pro 32GB RAM

OSX 10.14.6; DP 10; Track 16; Finale 26, iPad Pro, et al

MIDI LIFE CRISIS
David Polich
Posts: 4827
Joined: Tue Dec 07, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Los Angeles, CA
Contact:

Re: Some Contact libraries use more CPU than others in DP8

Post by David Polich »

MIDI Life Crisis wrote:And one solution is to use more instances of Kontakt with less instruments is each. Large sample count and/or heavily scripted instruments should be in their own instance. Lighter weight one can share instances.

According to Magic Dave, this distributes the CPU load across more of the cores. This is true of any VI, but you're probably seeing it more in K since more 3rd party instruments are (in my experience) available for it. I also see better results in MachFive with that method but don't see as much of a problem with a newer Mac Pro trash can. In fact I've yet to see much of a CPU hit at all in anything done since upgrading. That might also be the SSD.
Thanks everyone for the replies. I never run more than one instrument at a time in Kontakt. In fact
I never run more than one VI at a time. SonicCouture's Hammersmith involves some fairly extensive scripting. So does Sample Modeling's Trumpet. Neither of those cause this Audio
Performance overload.

I contacted Greg at Orange Tree, he says he's stumped. This is a weird issue. So far, my only workaround is to make a quick mix down, take every other audio track offline, and then record the part, bus K5 to an audio track and record it as audio, then remove the instrument from Kontakt.
2019 Mac Pro 8-core, 32GB RAM, Mac OS Ventura, MIDI Express 128, Apogee Duet 3, DP 11.2x, Waves, Slate , Izotope, UAD, Amplitube 5, Tonex, Spectrasonics, Native Instruments, Pianoteq, Soniccouture, Arturia, Amplesound, Acustica, Reason Objekt, Plasmonic, Vital, Cherry Audio, Toontrack, BFD, Yamaha Motif XF6, Yamaha Montage M6, Korg Kronos X61, Alesis Ion,Sequential Prophet 6, Sequential OB-6, Hammond XK5, Yamaha Disklavier MK 3 piano.
http://www.davepolich.com
David Polich
Posts: 4827
Joined: Tue Dec 07, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Los Angeles, CA
Contact:

Re: Some Contact libraries use more CPU than others in DP8

Post by David Polich »

After loading some more libraries that "used to work fine" in the previous version of Kontakt, I
now believe that this is an issue with the latest version of Kontakt and DP 8.07 running in Yosemite.
Because now almost all of my libraries peg the Audio performance meter, even at a buffer setting of 1024.

This sucks. Well, I don't recommend downloading the latest version of K5.

Anyone know how to get older versions of Kontakt?
2019 Mac Pro 8-core, 32GB RAM, Mac OS Ventura, MIDI Express 128, Apogee Duet 3, DP 11.2x, Waves, Slate , Izotope, UAD, Amplitube 5, Tonex, Spectrasonics, Native Instruments, Pianoteq, Soniccouture, Arturia, Amplesound, Acustica, Reason Objekt, Plasmonic, Vital, Cherry Audio, Toontrack, BFD, Yamaha Motif XF6, Yamaha Montage M6, Korg Kronos X61, Alesis Ion,Sequential Prophet 6, Sequential OB-6, Hammond XK5, Yamaha Disklavier MK 3 piano.
http://www.davepolich.com
User avatar
MIDI Life Crisis
Posts: 26254
Joined: Wed May 18, 2005 10:01 pm
Primary DAW OS: MacOS
Contact:

Some Contact libraries use more CPU than others in DP8

Post by MIDI Life Crisis »

Not seeing that. How are your hard drives?
2013 Mac Pro 32GB RAM

OSX 10.14.6; DP 10; Track 16; Finale 26, iPad Pro, et al

MIDI LIFE CRISIS
User avatar
Michael Canavan
Posts: 3578
Joined: Fri Jul 15, 2005 10:01 pm
Primary DAW OS: MacOS
Location: seattle

Re: Some Contact libraries use more CPU than others in DP8

Post by Michael Canavan »

I get some issues with certain libraries, Cinesamples takes far more CPU than any other library for instance. I definitely have to run that one as separate Kontakt instances.

I'm not seeing all my libraries running high CPU though, only Cinesamples, and it does have heavy scripting. Sounds amazing though.
M2 Studio Ultra, RME Babyface FS, Slate Raven Mti2, NI SL88 MKII, Linnstrument, MPC Live II, Launchpad MK3. Hundreds of plug ins.
David Polich
Posts: 4827
Joined: Tue Dec 07, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Los Angeles, CA
Contact:

Kontakt library problem - RESOLVED

Post by David Polich »

Ok, I think I've found the culprit. I turned off Kontakt's Memory Server and Multi-Processor support.
That reduced the CPU usage greatly. I still have some libraries that are more CPU intensive than others, but I can still load an instance of them at a buffer setting of 256 and DP doesn't fall over.

So, lesson learned, at least for me - when running Kontakt 5 in DP 8.07 in Yosemite 10.10.3, disable
Kontakt memory Server and Multi-Processor support.

I just upgraded my Mac Pro to Yosemite this past Friday. I didn't encounter this issue running Mountain Lion 10.8.5. So it's a Yosemite thing - maybe just specific to my system. I still advise DP users to dsiable Memory Server and Multi-Processor support in Kontakt if you're on Yosemite.
2019 Mac Pro 8-core, 32GB RAM, Mac OS Ventura, MIDI Express 128, Apogee Duet 3, DP 11.2x, Waves, Slate , Izotope, UAD, Amplitube 5, Tonex, Spectrasonics, Native Instruments, Pianoteq, Soniccouture, Arturia, Amplesound, Acustica, Reason Objekt, Plasmonic, Vital, Cherry Audio, Toontrack, BFD, Yamaha Motif XF6, Yamaha Montage M6, Korg Kronos X61, Alesis Ion,Sequential Prophet 6, Sequential OB-6, Hammond XK5, Yamaha Disklavier MK 3 piano.
http://www.davepolich.com
User avatar
kgdrum
Posts: 4068
Joined: Tue Nov 16, 2004 10:01 pm
Primary DAW OS: MacOS
Location: NYC

Re: Some Kontakt libraries use more CPU than others - RESOLV

Post by kgdrum »

I'm glad you figured out the problem,from my hazy memory Memory Server was designed to get past the 3 or 4 gig limitation that existed in the 32 bit kernel,from my understanding it's no longer needed in the 64 bit kernel.
If I remember correctly I stopped using Memory Server after the move to 64 bit & DP8.
2012 Mac Pro 3.46GHz 12 core 96 gig,Mojave, DP11.01,Logic 10.51, RME UCX,Great River ME-1NV,a few microphones,UAD2, Komplete 12U,U-he,Omni & way too many VI's,Synths & FX galore!, Mimic Pro w/ SD3,Focal Twin 6 monitors, Shunyata...........
User avatar
MIDI Life Crisis
Posts: 26254
Joined: Wed May 18, 2005 10:01 pm
Primary DAW OS: MacOS
Contact:

Re: Some Kontakt libraries use more CPU than others - RESOLV

Post by MIDI Life Crisis »

Sounds right to me.
2013 Mac Pro 32GB RAM

OSX 10.14.6; DP 10; Track 16; Finale 26, iPad Pro, et al

MIDI LIFE CRISIS
User avatar
mikehalloran
Posts: 15231
Joined: Sun Jan 25, 2009 5:08 pm
Primary DAW OS: MacOS
Location: Sillie Con Valley

Re: Some Kontakt libraries use more CPU than others - RESOLV

Post by mikehalloran »

rom my hazy memory Memory Server was designed to get past the 3 or 4 gig limitation that existed in the 32 bit kernel,from my understanding it's no longer needed in the 64 bit kernel
My hazy memory is agreeing with yours. 4G is the max that a 32bit app can use without a kluge like Memory Server. 64bit sets you free.
DP 11.31; 828mkII FW, micro lite, M4, MTP/AV USB Firmware 2.0.1
2023 Mac Studio M2 8TB, 192GB RAM, OS Sonoma 14.4.1, USB4 8TB external, M-Audio AIR 192|14, Mackie ProFxv3 6/10/12; 2012 MBPs Catalina, Mojave
IK-NI-Izotope-PSP-Garritan-Antares, LogicPro X, Finale 27.4, Dorico 5.2, Notion 6, Overture 5, TwistedWave, DSP-Q 5, SmartScore64 Pro, Toast 20 Pro
User avatar
Gravity Jim
Posts: 2005
Joined: Wed Apr 30, 2008 2:55 am
Primary DAW OS: MacOS
Location: Santa Rosa, CA

Re: Some Kontakt libraries use more CPU than others - RESOLV

Post by Gravity Jim »

Your Hazinesses are correct. I was told when going to 64-bit to turn off the Memory Server to avoid problems. Didn't hear about Multi-Processor Support.
Jim Bordner

MacPro 5,1 (3.33Ghz 12-core), 32g RAM, OS X 10.14.6 • MOTU DP 10.11 • Logic Pro X 10.2.5 • Waves Platinum, UAD-2, Slate Digital, Komplete, Omnisphere 2, LASS, CineSamples, Chipsounds, V Collection 5[color]
User avatar
kgdrum
Posts: 4068
Joined: Tue Nov 16, 2004 10:01 pm
Primary DAW OS: MacOS
Location: NYC

Re: Some Kontakt libraries use more CPU than others - RESOLV

Post by kgdrum »

Gravity Jim wrote:Your Hazinesses are correct. I was told when going to 64-bit to turn off the Memory Server to avoid problems. Didn't hear about Multi-Processor Support.

I still have multi-processor support on..............
may the haze be with you ;-)
2012 Mac Pro 3.46GHz 12 core 96 gig,Mojave, DP11.01,Logic 10.51, RME UCX,Great River ME-1NV,a few microphones,UAD2, Komplete 12U,U-he,Omni & way too many VI's,Synths & FX galore!, Mimic Pro w/ SD3,Focal Twin 6 monitors, Shunyata...........
DanielCoe
Posts: 49
Joined: Sat Mar 12, 2011 11:32 am
Primary DAW OS: MacOS
Location: United States of America

Some Kontakt libraries use more CPU than others - RESOLVED

Post by DanielCoe »

David Polich wrote:
So far, my only workaround is to make a quick mix down, take every other audio track offline, and then record the part, bus K5 to an audio track and record it as audio, then remove the instrument from Kontakt.
That sounds quite cumbersome. I run into similar issues with rev. It just gobbles up my CPU. But with any such gobblers what I do is freeze whatever is on that instrument instance. Then I simply disable the instrument in the tracks window using that little blue button. It's a task but simpler than what you are describing. The freeze function automatically solos the necessary information without having to manually change anything. It's quite handy. Plus, it makes it such that you can revisit the MIDI easily at a later point. Everything is still there but it's just disabled and not using any CPU.


Sent from my iPhone using Tapatalk
Mac Pro (Mid 2010) 2 x 2.93 GHz 6-Core Intel Xeon
128GB RAM
MOTU 2408 mk3
Mac OS 10.14.6
Post Reply