Reachy runs out of CPU during calls, so the first reply is slow

Same code calling OpenAI Realtime. On a Mac, the first reply starts on average 2.3 seconds after I stop talking. On Reachy, with camera, face tracking and motion all running, the first reply takes 5.3 to 6.3 seconds. From the second turn on, the two machines are close: what remains is API time.

First turn, speaking right after wake

Mac 1.9–2.8 s
Reachy 5.3–6.3 s
From the end of my sentence to audio pushed to the speaker. Average 2.3 s vs 5.8 s, about 2.5x. Mac 4 runs, Reachy 2 runs.

Later turns (median)

Mac
Reachy

Measured on Nov 30, 2026, app 0.2.8, Reachy Mini robot (Compute Module 4, 4 cores) and a Mac (M4 Pro, 12 cores). The desktop app stayed connected to the robot throughout.

How much work competes for 4 cores at once?

The mic sends 20 ms frames. For each frame, the app hands work from the main loop to an encoder thread and back, and each hand-off has to wait for a free core. Reachy has four cores and is 82–84% busy. Nothing competes on the Mac.

Inside 100 ms, about 80x slower

  • Send mic frame
  • Face tracking
  • Motor control
  • Video and audio to desktop app
  • Other: camera, JPEG, recording, speaker, daemon
Mac:
Reachy:
Frame rates come from measurements (Mac 0.76 ms per frame, Reachy 15 ms). The color shares on Reachy's cores follow per-thread CPU and total busy level. Block positions are illustrative only, since the real thread schedule was not recorded. The Mac is drawn with 4 of its 12 cores.

One question, two machines

I speak a 3.7-second sentence right after wake. The app holds the mic until it is sure a question was asked, then sends the held audio as a catch-up. Reachy catches up only 1.3x faster than real time, so the end of my sentence reaches OpenAI late.

From wake to audio

  • User speaks
  • App holds mic
  • Catch-up send to end of sentence
  • OpenAI waits for end of speech
  • Model generates audio, to speaker
Mac still to send:
Reachy still to send:
Mic-open, end-of-speech and audio times are averages of the runs (Mac 4, Reachy 2). The moment OpenAI receives the end of the sentence and the backlog line are computed from the measured send rate. The robot's room is noisy, so the app held the mic until about second 5.2; on the Mac it was about second 4.2.

What slows it down?

Time to send one 20 ms mic frame while catching up

Above 20 ms the mic can never catch up with speech. Removing face tracking or motion helps the most. Encoding one frame on its own, with the robot idle, takes only 1.2 ms.

Time until audio, every run

  • First turn
  • Later turns
The first turn improves clearly as work is removed. Later turns sit around 1.6–2.6 seconds in every configuration, apart from a few outliers. The "no face tracking" row was measured when the room was quieter, so its first turn is not directly comparable.

Where does the robot's CPU go?

Daemon figures over 3 hours 17 minutes after boot, mostly while the robot slept. Task names are inferred from thread names, priorities and system calls.

Daemon workAverage, % of one coreBasis
Motor controlabout 40%Thread waiting on the I2C bus
Face trackingabout 38%The only thread at the lowest priority, as in the code
Video to desktop appabout 35%video_0 and v4l2h264enc
Audio to desktop appabout 14%audio_0
Whole daemonabout 172%Out of 400% for 4 cores

During a call the app adds the camera, JPEG at 5 frames per second, recording, motion at 20 Hz, decoding and the speaker. The machine is then 82–84% busy. On the Mac, the whole app uses 16–20% of one core.

How much is the API's own limit?

On the Mac nothing competes for CPU, and a turn still takes about 2 seconds. That is the floor of the current setup: OpenAI waits about 1 second to be sure the user finished, then the model needs about 0.5–1 second to start speaking.

A real call on the morning of Nov 30 shows both kinds of delay. In turn 3 the mic was not late, yet OpenAI still waited 1.9 seconds, most likely because of semantic_vad.

Turn, real callEnd of sentence to OpenAI recognizing itUntil audio startsTotal
12.9 s0.7 s3.6 s
21.2 s1.2 s2.4 s
31.9 s1.3 s3.2 s

Trying server_vad with a 300 ms wait on the Mac was about 0.2 seconds faster, but it tends to cut the user off when they pause to think.

Fixes

  1. Cheaper mic encoding. Remove the thread hand-off per frame. The trial cut catch-up from 14–16 s to 2.7–4 s, and the first turn to 3.5–4.1 s, with camera and motion still on.
  2. Open the mic early. Once 0.4 seconds of speech has been heard after wake, send right away instead of waiting for the room to go quiet. In a noisy room the old way could wait up to 5 seconds.
  3. Reduce face tracking during calls. Run it less often, or turn it off while the robot is listening. Not done yet.
  4. Close the desktop app in real use. This could remove the video and audio rows in the table above. Not measured yet.

What is still uncertain