Host Buffer Multiplier

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."
Post Reply
User avatar
tommymandel
Posts: 1055
Joined: Tue Nov 30, 2004 10:01 pm
Primary DAW OS: MacOS
Location: New York
Contact:

Host Buffer Multiplier

Post by tommymandel »

Hey Frodo, maybe this one's for you, and James, I did do a search, but got a lot of peripheral hints at an answer, but no answer to my specific question, namely:

2007-2008 Intel 8-core 3ghz, E-SATA card for Audio drive, internal SATA drive for VI's and Libraries, 2x 24io's (PCI-E), plus 1x Digidesign 002R.

I now seem to get a great deal better Audio Performance Bar Graph when I set it to
256, 4x Host Buffer.

Now I'm reading that latency is the product of those 2 numbers, and (an earlier Frodo post) that the older Intel machines had a slower FW bus.

And also that the host buffer multiplier should reflect how many (different?) audio drivers (in my case, 2: Digicore and Motu PCI-E) are in use.

As I'm only bringing 4 channels, max, of audio in or out of the FW (Digi002R) bus at any time, is my 256, 4x Host Buffer the way I should be configuring?

Thanks ! ! !
DP 11.03 12core(5,1): 64GB/10.13.6, two 24i/o's, two 2408mk3's, 4pre, MicroLite-- MBP 2015 16GB/ 2TB 'Blade SSD 10.14.4, Mainstage, Numa C2x, ReMOTE SL -- SupDrmr, 32 Lives, SampleTron,Keyscape,MTronPro,RolCloud,Icarus,Dune,OB-E; Clearmountain Domain,Soundtoys,AdrenaLinnSync, LinnSequencers,Tempest, Montage, JU80, Sledge, Prophet-X, OB-6 V-Synth, s70xs, D-50, TS-10, JD800, Karma, Pa-1x B3, Wurly, Mason Hamlin.
Hardware rig: http://www.tommymandel.com/famous.html/tmrig.html"
User avatar
tommymandel
Posts: 1055
Joined: Tue Nov 30, 2004 10:01 pm
Primary DAW OS: MacOS
Location: New York
Contact:

Re: Host Buffer Multiplier

Post by tommymandel »

(Talking to yerself again, Tommy? :shake: )

I wish the DP 7 User Manual had a more comprehensive index. Couldn't find Host Buffer or Multiplier in it. I finally found a reference to the Getting Started Guide. I could only locate my v.5 Getting Started Guide, but even so, now understand that :idea: Host Buffer Multiplier is not for multi cores, it's for :arrow: extending your Buffer Settings to greater numbers, and for :arrow: Multiple Audio Drivers (in my case, the PCI 424 and the DigiCore drivers). Accordingly, in the absence of real glitching, I should keep mine at 2, unless I want to introduce more latency, which I could just as easily do by changing the Audio Buffer setting to 512 (I guess it's actually been equal to 1024 since I've set it to 256 with 4x Host Buffer Multiplier - no wonder the Audio Performance bar was so wonderfully low!)
And it was good to read that "Digital Performer takes full advantage of multi-processor Macintosh computers." (regardless of Audio System Config settings.)
DP 11.03 12core(5,1): 64GB/10.13.6, two 24i/o's, two 2408mk3's, 4pre, MicroLite-- MBP 2015 16GB/ 2TB 'Blade SSD 10.14.4, Mainstage, Numa C2x, ReMOTE SL -- SupDrmr, 32 Lives, SampleTron,Keyscape,MTronPro,RolCloud,Icarus,Dune,OB-E; Clearmountain Domain,Soundtoys,AdrenaLinnSync, LinnSequencers,Tempest, Montage, JU80, Sledge, Prophet-X, OB-6 V-Synth, s70xs, D-50, TS-10, JD800, Karma, Pa-1x B3, Wurly, Mason Hamlin.
Hardware rig: http://www.tommymandel.com/famous.html/tmrig.html"
User avatar
tommymandel
Posts: 1055
Joined: Tue Nov 30, 2004 10:01 pm
Primary DAW OS: MacOS
Location: New York
Contact:

Re: Host Buffer Multiplier

Post by tommymandel »

NOW, I find this :oops:

magicd wrote:Hey there!

I've just read through the thread and I seem to be missing the discussion of WHY you want large buffer settings. I assume the question is: what is the best optimization? The answer is: That depends on how you are using DP, and what computer and audio interfaces you have.

The Buffer Size describes the size of the sample packets that are sent from the interface driver into DP, through DP, and back out DP to the driver again. A smaller Buffer Size means a lower-latency patch through for audio signals, as well as trigger to output time for virtual instruments. The lower Buffer Size also means the computer does more tasks over the same period of time (greater CPU load).

It's common practice to use a smaller Buffer Size when patching through or triggering live instruments, and a larger Buffer Size when you are doing complex mixes.

The available sizes of the buffer that you see in the DP Hardware Driver window are the result of what the driver makes available. It's possible that different Buffer Sizes may be available at different sample rates.

The Buffer Multiplier is a DP setting that allows you to multiply the driver buffer setting. If the driver is set to 1024 and you set the multiplier to 2, DP is now using a buffer size of 2048.

Running more than one audio driver at a time is more load for the computer. Therefore, raising the Buffer Size that DP is processing may help with efficiency.

It is common advice (but not an absolute requirement) to use the Buffer Multiplier if you are running multiple audio drivers.

The other parameter that comes into play here is Work Priority. Work Priority changes DPs thread priority within the OS in relation to the audio driver. A lower setting means the audio driver can get higher thread priority. The Medium or Low setting can be useful on older G4 and G5 Macs, and can be useful when using some non-MOTU audio interfaces.

You'll notice I'm using phrases like "may be" and "can be". That's because there are no absolute best settings. As a matter of fact, very large buffer settings and very low Work Priority settings can have an adverse effect. There is a point of diminishing returns and the fact is, at some point all that data has to be processed, regardless of buffer packet size.

So that means you may need to do some testing to find the optimum settings for your particular configuration.

Dave
DP 11.03 12core(5,1): 64GB/10.13.6, two 24i/o's, two 2408mk3's, 4pre, MicroLite-- MBP 2015 16GB/ 2TB 'Blade SSD 10.14.4, Mainstage, Numa C2x, ReMOTE SL -- SupDrmr, 32 Lives, SampleTron,Keyscape,MTronPro,RolCloud,Icarus,Dune,OB-E; Clearmountain Domain,Soundtoys,AdrenaLinnSync, LinnSequencers,Tempest, Montage, JU80, Sledge, Prophet-X, OB-6 V-Synth, s70xs, D-50, TS-10, JD800, Karma, Pa-1x B3, Wurly, Mason Hamlin.
Hardware rig: http://www.tommymandel.com/famous.html/tmrig.html"
Licornerouge
Posts: 2
Joined: Wed Mar 04, 2009 9:55 am
Primary DAW OS: Unspecified

Re: Host Buffer Multiplier

Post by Licornerouge »

Hello all ! here's a hint & question using host buffer multiplier
I'm running high definition audio projects 88.2 Khz with 3xHD192 and 1x2408mkIII on one PCIe 424 Card.
Generally up to 24 Tracks recording + multiple playback tracks at the same time. We recently added SSD Drives to our system - Mac Pro "Quad Core" 3.2 (2012) :unicorn:
Everything was running fine then doing guitar overdubs, we suddenly had issues with cracks in the audio signal that appeared after recording (we do not monitor our tracks through the interfaces or through the software, so we figured that after the recording)
Our settings then, were 1024 smp per buffer (I now assume that in 88.2 Khz this certainly was a bit hard on the processor & on the drives)
We sitched back to the old SATA internal drives and managed to free the maximum space inside... same problem...

So we decided to switch to 2x buffer multiplier and then things seems to run fine now, but we are in the middle of the project and still have more & more tracks to record, I think this is gonna Be up to 3-4 simultaneous record enabled tracks + 40 or 48 tracks of playback for each song, maybe more.

The point : setting host buffer multiplier to 2x seemed to work fine for the moment, but if I have new issues, will 4x or 8x do the job ?
What are your thoughts ?
Thanks in advance
Ted
User avatar
Robert Randolph
Posts: 877
Joined: Tue Apr 29, 2014 6:50 am
Primary DAW OS: MacOS
Location: St. Petersburg, Florida

Re: Host Buffer Multiplier

Post by Robert Randolph »

Licornerouge wrote:Hello all ! here's a hint & question using host buffer multiplier
I'm running high definition audio projects 88.2 Khz with 3xHD192 and 1x2408mkIII on one PCIe 424 Card.
Generally up to 24 Tracks recording + multiple playback tracks at the same time. We recently added SSD Drives to our system - Mac Pro "Quad Core" 3.2 (2012) :unicorn:
Everything was running fine then doing guitar overdubs, we suddenly had issues with cracks in the audio signal that appeared after recording (we do not monitor our tracks through the interfaces or through the software, so we figured that after the recording)
Our settings then, were 1024 smp per buffer (I now assume that in 88.2 Khz this certainly was a bit hard on the processor & on the drives)
We sitched back to the old SATA internal drives and managed to free the maximum space inside... same problem...

So we decided to switch to 2x buffer multiplier and then things seems to run fine now, but we are in the middle of the project and still have more & more tracks to record, I think this is gonna Be up to 3-4 simultaneous record enabled tracks + 40 or 48 tracks of playback for each song, maybe more.

The point : setting host buffer multiplier to 2x seemed to work fine for the moment, but if I have new issues, will 4x or 8x do the job ?
What are your thoughts ?
Thanks in advance
Ted
If you're not monitoring through DP, you may as well use whatever the highest buffer size you feel comfortable with.

The only downside is there will be a slight lag between when you change a control (fader) and when you hear the result. It's relatively minor even at high settings, but it's worth keeping in mind.
User avatar
Shooshie
Posts: 19820
Joined: Sat Oct 16, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Dallas
Contact:

Re: Host Buffer Multiplier

Post by Shooshie »

As regards the Host Buffer Multiplier, the general rule is 1X per driver. If you are using, say, three audio interfaces, and each requires its own driver, you'd use a buffer multiplier for each one, thus 3X. If you are using 3 similar boxes with the same driver (say, 3 MOTU 896 MK3, or 3 MOTU PCI or 3 AVB boxes) you'd only use 1X, because there is just one driver controlling all 3.

That's how I learned it, anyway. If Dave were to tell it differently, I'd go with Dave's version, but I think he's the one I learned it from.

Shooshie
|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
HCMarkus
Posts: 9758
Joined: Tue Jan 10, 2006 9:01 am
Primary DAW OS: MacOS
Location: Rancho Bohemia, California
Contact:

Re: Host Buffer Multiplier

Post by HCMarkus »

Licornerouge wrote:Hello all ! here's a hint & question using host buffer multiplier
I'm running high definition audio projects 88.2 Khz with 3xHD192 and 1x2408mkIII on one PCIe 424 Card.
Generally up to 24 Tracks recording + multiple playback tracks at the same time. We recently added SSD Drives to our system - Mac Pro "Quad Core" 3.2 (2012) :unicorn:
Everything was running fine then doing guitar overdubs, we suddenly had issues with cracks in the audio signal that appeared after recording (we do not monitor our tracks through the interfaces or through the software, so we figured that after the recording)
Our settings then, were 1024 smp per buffer (I now assume that in 88.2 Khz this certainly was a bit hard on the processor & on the drives)
We sitched back to the old SATA internal drives and managed to free the maximum space inside... same problem...

So we decided to switch to 2x buffer multiplier and then things seems to run fine now, but we are in the middle of the project and still have more & more tracks to record, I think this is gonna Be up to 3-4 simultaneous record enabled tracks + 40 or 48 tracks of playback for each song, maybe more.

The point : setting host buffer multiplier to 2x seemed to work fine for the moment, but if I have new issues, will 4x or 8x do the job ?
What are your thoughts ?
Thanks in advance
Ted
Give your Mac a boost... buy one of these and drop it in, if not now, when you finish the current project:

http://www.ebay.com/itm/Intel-W3690-Xeo ... SwOVpXbZnZ

almost as fast, considerably cheaper:

http://www.ebay.com/itm/Intel-Xeon-W368 ... SwEjFXcdSq

As far as going b beyond 2x, per Magic Dave:
...very large buffer settings and very low Work Priority settings can have an adverse effect. There is a point of diminishing returns and the fact is, at some point all that data has to be processed, regardless of buffer packet size.
Read his post above for the gory details.
HC Markus
M1 Mac Studio Ultra • 64GB RAM • 828es • macOS 13.6.4 • DP 11.31
User avatar
mikehalloran
Posts: 15235
Joined: Sun Jan 25, 2009 5:08 pm
Primary DAW OS: MacOS
Location: Sillie Con Valley

Re: Host Buffer Multiplier

Post by mikehalloran »

So we decided to switch to 2x buffer multiplier and then things seems to run fine now, but we are in the middle of the project and still have more & more tracks to record, I think this is gonna Be up to 3-4 simultaneous record enabled tracks + 40 or 48 tracks of playback for each song, maybe more
No. You never need all tracks playing back when overdubbing new ones. Save that for the mix.

At lower buffer sizes, DP may not play back all tracks. Depending on your settings, you may also induce distortion or glitches due to CPU overload. Make it easy on yourself and decide which guide tracks are necessary and enable those only during overdub sessions. When done, raise the buffer to whatever setting works best and do your mix.
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
SMS
Posts: 332
Joined: Mon Dec 13, 2004 10:01 pm
Primary DAW OS: MacOS
Location: San Francisco and Monterey
Contact:

Re: Host Buffer Multiplier

Post by SMS »

mikehalloran wrote:
So we decided to switch to 2x buffer multiplier and then things seems to run fine now, but we are in the middle of the project and still have more & more tracks to record, I think this is gonna Be up to 3-4 simultaneous record enabled tracks + 40 or 48 tracks of playback for each song, maybe more
No. You never need all tracks playing back when overdubbing new ones. Save that for the mix.

At lower buffer sizes, DP may not play back all tracks. Depending on your settings, you may also induce distortion or glitches due to CPU overload. Make it easy on yourself and decide which guide tracks are necessary and enable those only during overdub sessions. When done, raise the buffer to whatever setting works best and do your mix.
Or do a quick bounce or freeze of all the tracks and just overdub to that stereo stem.
MOTU user since Performer™ 1.22 on 128k floppy
DP 11.23
MacBook Pro 14” 2023 M2 max 12 core
64 Gb RAM
4TB SSD
OS 14.0 Sonoma
UAD Apollo 8
828 mk3 Hybrid
MIDI Express XT
User avatar
bayswater
Posts: 11971
Joined: Fri Feb 16, 2007 9:06 pm
Primary DAW OS: MacOS
Location: Vancouver

Re: Host Buffer Multiplier

Post by bayswater »

Shooshie wrote:As regards the Host Buffer Multiplier, the general rule is 1X per driver. If you are using, say, three audio interfaces, and each requires its own driver, you'd use a buffer multiplier for each one, thus 3X. If you are using 3 similar boxes with the same driver (say, 3 MOTU 896 MK3, or 3 MOTU PCI or 3 AVB boxes) you'd only use 1X, because there is just one driver controlling all 3.

That's how I learned it, anyway. If Dave were to tell it differently, I'd go with Dave's version, but I think he's the one I learned it from.

Shooshie
That's what I remember but Getting Started now says to try 2 for multiple drivers if and when there are audio glitches, rather than matching the number of drivers.
2018 Mini i7 32G 10.14.6, DP 11.3, Mixbus 9, Logic 10.5, Scarlett 18i8
Post Reply