Skip to content

Performance degradation and ADB timeouts when running multiple instances on single host #904

@Sikoso774

Description

@Sikoso774

Hi,

I am using redroid/redroid:11.0.0-latest and 13.0.0-latest for automation. I manage containers programmatically using python docker-py.

Scenario:

  1. Start Container A (Redroid 11). Works fine, ADB stable.

  2. Start Container B (Redroid 11) while A is running.

Problem: As soon as the second container starts booting, the ADB connection to the second device becomes extremely unstable or unresponsive, leading to timeouts in my automation tools (Appium).

Configuration: I am launching containers with these flags (reconstructed from my python script):

  • --privileged

  • --shm-size=2g

  • androidboot.redroid_gpu_mode=guest (Software rendering)

  • androidboot.redroid_width=720 / height=1600 (Eco mode)

Host Specs:

  • OS : Ubuntu 24.04.3 LTS x86_64
  • CPU: Intel Xeon E5-2620 v4 (32) @ 2.100GHz
  • RAM : 251GB
  • Docker version : 28.2.2

Question: Is there a specific kernel module or host configuration required to run multiple instances smoothly? It feels like the I/O or CPU is choking when the second instance boots.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions