xiph / xiph/opus

v1.3.1: Bad opus_multistream_encode() performance on MIPS

Open
#139 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
3.3k
Forks
808
PR merge metrics
No merged PRs in 30d

Description

This issue is only present on v1.3.1. Previous versions are not affected.

Tested with 5ms opus frames on an MIPS 74Kc V5.0 CPU.
Encoding times for opus_multistream_encode():
v1.3: 2.5 - 3ms
v1.3.1: 2.5 - 12ms

Let me know if you need anything to reproduce the issue.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the v1.3 and v1.3.1 implementations and execution path of opus_multistream_encode(), then reproduce the reported 5 ms frame benchmark on an MIPS 74Kc V5.0 CPU. Done means identifying the v1.3.1 regression and confirming encoding times no longer reach the reported 12 ms range.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.