How to Increase VI Performance FOR FREE

Discussion of Digital Performer use, optimization, tips and techniques on MacOS.

Moderator: James Steele

Forum rules
This forum is for most discussion related to the use and optimization of Digital Performer [MacOS] and plug-ins as well as tips and techniques. It is NOT for troubleshooting technical issues, complaints, feature requests, or "Comparative DAW 101."
User avatar
HCMarkus
Posts: 9750
Joined: Tue Jan 10, 2006 9:01 am
Primary DAW OS: MacOS
Location: Rancho Bohemia, California
Contact:

How to Increase VI Performance FOR FREE

Post by HCMarkus »

I added this to another topic a few days back, but feel it bears repeating.

RAM is in the range of one or two orders of magnitude faster than the memory chips used in SSDs, be they SATA or PCIe attached. The speed disparity is obviously even greater between RAM and spinning disks. As such, having enough RAM and using it to the fullest are critical to system performance.

Do this:

Take a look at your preferences for sample-based VIs (Kontakt, Ivory, Omnisphere, etc) and maximize the amount of RAM used to pre-load samples. This will allow your system to serve samples more efficiently.

As explained at https://impactsoundworks.com/optimizing ... low-part-2:
By default, Kontakt loads only a small portion of each sample into RAM. The rest is kept on the hard drive and streamed via “DFD” (direct-from-disk). DFD settings can be changed to adjust this ratio. More memory will allow you to (a) load more samples simultaneously, and/or (b) conserve CPU by loading more of the sample into RAM! In fact, with enough RAM (16, 32, 64gb or more) it is even possible to disable DFD entirely for a big performance gain.
When we were running 32 bit systems, it was advantageous to preload the smallest possible portion of samples to conserve precious RAM space. Now, at 64 bits (and assuming adequate RAM), we are best served by maximizing preload, thus minimizing drive calls.

Edit: changed title to emphasize this is a no-cost upgrade!
Last edited by HCMarkus on Mon Jul 03, 2017 9:20 am, edited 1 time in total.
HC Markus
M1 Mac Studio Ultra • 64GB RAM • 828es • macOS 13.6.4 • DP 11.31
User avatar
Shooshie
Posts: 19820
Joined: Sat Oct 16, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Dallas
Contact:

Re: How to Increase VI Performance and Get More from your DA

Post by Shooshie »

Wow, I didn't even think of that. Great idea!
|l| OS X 10.12.6 |l| DP 10.0 |l| 2.4 GHz 12-Core MacPro Mid-2012 |l| 40GB RAM |l| Mach5.3 |l| Waves 9.x |l| Altiverb |l| Ivory 2 New York Steinway |l| Wallander WIVI 2.30 Winds, Brass, Saxes |l| Garritan Aria |l| VSL 5.3.1 and VSL Pro 2.3.1 |l| Yamaha WX-5 MIDI Wind Controller |l| Roland FC-300 |l|
User avatar
Gravity Jim
Posts: 2005
Joined: Wed Apr 30, 2008 2:55 am
Primary DAW OS: MacOS
Location: Santa Rosa, CA

Re: How to Increase VI Performance and Get More from your DA

Post by Gravity Jim »

Super Hot Pro Tip.
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
HCMarkus
Posts: 9750
Joined: Tue Jan 10, 2006 9:01 am
Primary DAW OS: MacOS
Location: Rancho Bohemia, California
Contact:

Re: How to Increase VI Performance and Get More from your DA

Post by HCMarkus »

Thanks guys. Bumping this to make sure everybody sees it.
User avatar
MIDI Life Crisis
Posts: 26254
Joined: Wed May 18, 2005 10:01 pm
Primary DAW OS: MacOS
Contact:

Re: How to Increase VI Performance FOR FREE

Post by MIDI Life Crisis »

Cool! Thank you!
2013 Mac Pro 32GB RAM

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

MIDI LIFE CRISIS
User avatar
Gravity Jim
Posts: 2005
Joined: Wed Apr 30, 2008 2:55 am
Primary DAW OS: MacOS
Location: Santa Rosa, CA

Re: How to Increase VI Performance FOR FREE

Post by Gravity Jim »

HC - are you seeing 240 KB as the maximum pre-load size on Kontakt?
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]
dix
Posts: 2994
Joined: Fri Oct 15, 2004 10:01 pm
Primary DAW OS: MacOS
Location: San Francisco
Contact:

Re: How to Increase VI Performance FOR FREE

Post by dix »

File this under: Duh! I'm not sure why this didn't occur to me sooner.

I've never felt the need for more than 24gb of RAM in my MP, but this would change that notion. With Kontakt's smart-loading scheme I wouldn't think upping the buffer would change load times much either. ....would it?

240kb is the max Pre-load Buffer setting I'm seeing btw.
14-inch MBP M1 Max (2021), 13.6.x, 64GB RAM, UAD Quad Tb Satellite, 4 displays ::: 2009 4,1 > 5,1 MacPro 12-core 3.33 ghz , 10.14.x, 96GB RAM, GeForce GTX 770 , NewerTech eSATA/USB3 PCIe Host Adapter, UAD-2 Quad, ::: 15-inch MBP (2015) 10.14.x, 16GB RAM ::: Lynx Aurora (n) USB ::: DP (latest version), Vienna Ensemble Pro danwool.com
User avatar
HCMarkus
Posts: 9750
Joined: Tue Jan 10, 2006 9:01 am
Primary DAW OS: MacOS
Location: Rancho Bohemia, California
Contact:

Re: How to Increase VI Performance FOR FREE

Post by HCMarkus »

Gravity Jim wrote:HC - are you seeing 240 KB as the maximum pre-load size on Kontakt?
Range is 6.00 to 240.00 on my rig. I have maxed it out. If you have oodles of RAM and don't use too many VI's, you could disable streaming from disk...

I haven't noticed terribly long load times Dix.
dix
Posts: 2994
Joined: Fri Oct 15, 2004 10:01 pm
Primary DAW OS: MacOS
Location: San Francisco
Contact:

Re: How to Increase VI Performance FOR FREE

Post by dix »

Has anyone tried applying these adjustments to real world scenarios? I'm not seeing the improvements I expected on the rudimentary stress-tests I've created. Whether I have the override/default preload buffer size at 60kb or 240kb - which dramatically increases the RAM used, Kontakt and DP's CPU crap out and start glitching at more or less the same point.
14-inch MBP M1 Max (2021), 13.6.x, 64GB RAM, UAD Quad Tb Satellite, 4 displays ::: 2009 4,1 > 5,1 MacPro 12-core 3.33 ghz , 10.14.x, 96GB RAM, GeForce GTX 770 , NewerTech eSATA/USB3 PCIe Host Adapter, UAD-2 Quad, ::: 15-inch MBP (2015) 10.14.x, 16GB RAM ::: Lynx Aurora (n) USB ::: DP (latest version), Vienna Ensemble Pro danwool.com
User avatar
philbrown
Posts: 2366
Joined: Fri Nov 05, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Almost Mexico

Re: How to Increase VI Performance FOR FREE

Post by philbrown »

I just bought a Mac pro that already had 64 gig of ram loaded. My previous one had 20 gig. So I had the question lately - how much RAM is overkill? So your post is timely for me HC, although I don't use Kontakt very often myself. Not sure if there are any settings in the Spectrasonics plugs that would affect this...

[googles]

OK, I found this that may be of interest to Spectrasonics users:

https://support.spectrasonics.net/manua ... index.html
2020 iMac 27" 3.6GHz 10 core i9 • Mac OS 12.2.1 • DP 11.04 • UAD-8 Octo card • Midas M32R

Plugs: UAD•Slate•Scuffham•Flux IRCAM•NI Komplete•Klanghelm•Waves•Spectrasonics•Arturia•Soundtoys•Nomad Factory•PSP•Stillwell•Cytomic•Korg•Five12•GForce
User avatar
midilance
Posts: 857
Joined: Mon Oct 18, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Las Vegas, Nevada
Contact:

Re: How to Increase VI Performance FOR FREE

Post by midilance »

Thank you.
Mac Studio m2 Max // OS 14.3.1 // DP 11.3.1 // MotU Ultralite mk4 // Komplete Ultimate 14 // Arturia V Collection 9 // Korg Collection // Stylus RMX 1.8 // Omnisphere 2.6.2c // Scarbee Keys and Basses // T-Racks 5 // Amplitube 5 // BFD3 // Blue3 // PolyM //
User avatar
mhschmieder
Posts: 11288
Joined: Wed Jul 06, 2005 10:01 pm
Primary DAW OS: MacOS
Location: Annandale VA

Re: How to Increase VI Performance FOR FREE

Post by mhschmieder »

This has been very helpful. It makes me realize that I should probably immediately upgrade my new 2017 iMac to max allowed memory, and not fret so much about having given up internal SATA drives and internal PCI3 SSDs.

I'm thinking that with max memory, and setting Kontakt and other players properly for streaming from memory, it won't make such a big difference if the samples are on a somewhat slower external drive, once a session is loaded.
iMac 27" 2017 Quad-Core Intel i5 (3.8 GHz, 64 GB), OSX 13.6.6, MOTU DP 11.31, iZotope RX 10
RME Babyface Pro FS, Radial JDV Mk5, Hammond XK-4, Moog Voyager

Eugenio Upright, 60th Anniversary P-Bass, USA Geddy Lee J-Bass, Yamaha BBP35
Select Strat, 70th Anniversary Esquire, Johhny Marr Jaguar, 57 LP, Danelectro 12
Eastman T486RB, T64/V, Ibanez PM2, D'angelico Deluxe SS Bari, EXL1
Guild Bari, 1512 12-string, M20, Martin OM28VTS, Larivee 0040MH
dix
Posts: 2994
Joined: Fri Oct 15, 2004 10:01 pm
Primary DAW OS: MacOS
Location: San Francisco
Contact:

Re: How to Increase VI Performance FOR FREE

Post by dix »

It makes me realize that I should probably immediately upgrade my new 2017 iMac to max allowed memory,
Buying more memory was my first though too, but as I say above, I'm not seeing any performance improvement over streaming from a SATA III SSD by increasing the preload buffer size.
14-inch MBP M1 Max (2021), 13.6.x, 64GB RAM, UAD Quad Tb Satellite, 4 displays ::: 2009 4,1 > 5,1 MacPro 12-core 3.33 ghz , 10.14.x, 96GB RAM, GeForce GTX 770 , NewerTech eSATA/USB3 PCIe Host Adapter, UAD-2 Quad, ::: 15-inch MBP (2015) 10.14.x, 16GB RAM ::: Lynx Aurora (n) USB ::: DP (latest version), Vienna Ensemble Pro danwool.com
frankf
Posts: 1132
Joined: Tue Oct 19, 2004 10:01 pm
Primary DAW OS: MacOS
Location: NYC
Contact:

Re: How to Increase VI Performance FOR FREE

Post by frankf »

Another way to use extra RAM: When I was using a MP 3,1 with 32 gb RAM, running 64 bit DP I created a RAM disk to run current projects' movies from. I automated its creation and copying of the QT file to it upon boot using Keyboard Maestro. The result was a very noticeable speed boost. Since upgrading to MP 6,1 and SSDs I've no need for a RAM disk solution, but it was a great help to my scoring workflow.


Sent from my iPad using Tapatalk Pro
Frank Ferrucci
http://www.ferruccimusic.com
Mac Pro 6,1 64gb RAM DP9.52 OSX 10.12.6 MIO 2882d & ULN2d Firewire Audio Interfaces, MOTU MTP-AV USB
User avatar
HCMarkus
Posts: 9750
Joined: Tue Jan 10, 2006 9:01 am
Primary DAW OS: MacOS
Location: Rancho Bohemia, California
Contact:

Re: How to Increase VI Performance FOR FREE

Post by HCMarkus »

Great idea Frank. We have lots of RAM now... why not use it?

As far as impact of maximizing RAM pre-load on DP performance, I haven't tried to quantify, but my impression has been more efficient operation when using smaller buffers.
HC Markus
M1 Mac Studio Ultra • 64GB RAM • 828es • macOS 13.6.4 • DP 11.31
Post Reply