Skip to content
Fresh AV Labs
ARTICLE

What a 4 M/E ATEM costs a Q-SYS Core Nano

We controlled a 4 M/E ATEM from a Q-SYS Core Nano and measured what the plugin costs the Core. Here are the numbers, and how to size a design around them.

Your design has a 4 M/E ATEM switcher in it and very little audio, so the Core is a Core Nano. The switcher still has to be controlled from the Q-SYS panels. Can a Q-SYS Core Nano run a plugin that mirrors a switcher that size, and what does that cost the Core?

We had to answer that before 4 M/E support went into A2Q Direct, our plugin that controls an ATEM from the Core over UDP, so we put it on a Core Nano and measured.

Where the load comes from

A2Q Direct mirrors the whole switcher. Every bus, keyer, downstream keyer, AUX output, media player and macro gets its own Q-SYS control, so more M/Es and more inputs mean more controls to keep current.

Once the plugin is connected and the switcher is sitting idle, that costs very little. The sync is what costs. Every time the plugin connects, the switcher sends its whole state and the plugin writes all of it to the controls. On the 4 M/E we tested against, one sync was 164 packets carrying 3,619 records.

The limit you hit first

Every plugin and script in a design shares the Core's Lua engine, and Q-SYS stops any call that does too much work at once. That's the execution limit. So the first thing to check is whether any single call is too big, and the Core's average load comes second.

We learned that from version 1.0.1. On a Core Nano, a large Custom block showed Execution limit at load, then connected 60 seconds late at every start.

Version 1.1 runs startup in short stages. On the same Core, Status now reads Initializing for under half a second.

If a sync does hit the limit while the plugin writes the controls, the plugin halves its write rate and keeps the slower rate when it reconnects. Full speed comes back after five minutes in sync.

The numbers

We measured all of this on a Core Nano with Q-SYS Designer 10.4.1. The Core's Lua load read about 1% at idle.

We started with one block at a time. For each block we timed how long it took to be ready after load and how long the panel took to fill after a sync, and we read the peak Lua load:

  • ATEM 2 M/E Constellation HD: ready in 0.37 s, panel filled in 0.9 s, Lua peak 3.5%
  • ATEM 4 M/E Constellation HD: ready in 0.32 s, panel filled in 1.6 s, Lua peak 5.6%
  • Custom with every count at its maximum, 40 inputs and 32 macro slots: ready in 0.39 s, panel filled in 2.4 s, Lua peak 6.9%

Those three runs used a test build that filled each block from a recorded switcher state, with no switcher attached, and none of them reached an execution limit. The release build, with a switcher address set, loaded without one as well.

Then we put two release-build blocks on one Core Nano and synced both to a 4 M/E switcher:

  • Neither block connected: 1.18% Lua
  • Both connected and idle: 2.42%
  • Both re-syncing at once, 15 times over: 10.08% on average, 24.40% at the peak

Two full mirrors of a 4 M/E switcher, connected and idle, cost the Core a little over one point of Lua, and that's where the design sits most of the time. The last line is the worst case we could arrange, both blocks syncing at the same instant, and it peaked just under a quarter.

Sizing a design

  • Use one block for each switcher.
  • Build the block the room needs. A Custom block with fewer M/Es, inputs and AUX outputs costs less at every sync.
  • Read your design's Lua load before you add to it. Every other plugin and script draws on the same Lua engine.

On a Core Nano, one block for a 4 M/E switcher ran without an execution limit, on the 4 M/E Constellation HD row and on Custom at 40 inputs, and two such blocks ran together. We haven't measured other mixes on a Core Nano, or any larger Core, though a larger Core should have more headroom.

Why we're still building the Bridge

A2Q Direct makes the Core pay for a full mirror of the switcher. The A2Q Bridge is a small box that does the switcher work off the Core, so the Core doesn't pay for that mirror. That's the better trade in three kinds of design:

  • The switcher has more than 40 inputs and the design needs controls for all of them. A2Q Direct stops at 40. On the 80-input ATEM 4 M/E Constellation 4K Plus it connects and syncs, and inputs 1 to 40 get controls.
  • The Core is small and already busy.
  • Several large switchers share one Core. Two 4 M/E blocks is the most we've measured on a Core Nano.

Some of the reasons to pick the Bridge aren't about load. When a switcher firmware update changes the protocol, the fix is a bridge firmware update, so nothing gets redeployed to the Core. You can switch on remote support from the bridge's web UI when you want us to look at a unit. And the bridge serves control systems other than Q-SYS.

Which one to use

For one ATEM with 40 inputs or fewer and a Core with room to spare, use the plugin. There's nothing to rack, and it's shipping now.

If your design is one of the three above, look at the Bridge. It's in beta. Leave your email on the A2Q plugin page and we'll tell you when it ships.

Our numbers came from our Core and our switcher, so check them on yours. A2Q Direct runs a 10-minute demo with every function and no activation code. Load it on your own Core, point it at your own switcher, and read the Lua load yourself. The download is on the A2Q Direct page, and the method is in the manual.

Need something that doesn't exist? We build that too.

Products in this article