• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions Low Poweryment [Raspberry PI 5] Deplo

     
    • 0 Vote(s) - 0 Average

    Low Poweryment [Raspberry PI 5] Deplo

    Varad Chiney
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    #1
    2024-12-26, 11:48 AM
    Hi everyone,
    I’m running Jellyfin on a Raspberry Pi 5, and I’m facing issues with the Web UI becoming choppy and laggy when around 8-10 users are connected simultaneously. Additionally, SSH access to the Pi also becomes slow during this time. However, the system resources seem to be underutilized, which has left me puzzled.
    Current Setup:
    1. Device: Raspberry Pi 5 (4GB/8GB RAM)
    2. Media Files: All videos are pre-transcoded to x264 format to avoid transcoding load during playback.
    3. Storage: Videos are stored on a high-speed external SSD connected via USB 3.0.
    4. Network: Gigabit Ethernet connection.
    5. Jellyfin Version: Jellyfin.Server 10.10.3.0
    Observations:
    • When monitoring with
      htop
      , the system doesn’t seem stressed:
      • RAM usage is under 700MB.
      • CPU usage is minimal.
    • Despite the low resource usage, the Jellyfin Web UI becomes unresponsive, and SSH sessions are sluggish.
    Questions:
    1. Are there known bottlenecks in Jellyfin's Web UI or other components that could cause lag under heavy user traffic?
    2. Could this be related to I/O bottlenecks, even though CPU and memory usage remain low?
    3. Would implementing a reverse proxy (e.g., Nginx or Caddy) to manage connections help mitigate these issues?
    4. Are there system-level optimizations (e.g., network stack tuning, caching, etc.) that could improve the responsiveness of the Web UI and SSH under load?
    5. Is there a way to profile Jellyfin’s Web UI performance to identify specific areas causing the slowdown?
    Additional Context:
    • I’ve streamlined metadata processing and set up user permissions to minimize unnecessary operations.
    • My primary concern is ensuring Jellyfin can handle 40-50 users simultaneously in the future, but the current performance with just 8-10 users suggests that optimization is needed before scaling.
    Any advice, insights, or guidance would be greatly appreciated! If anyone has managed a similar load on a Raspberry Pi or other low-power devices, I’d love to hear about your setup and optimizations.
    Thank you in advance for your help!
    alleycat
    Offline

    Member

    Posts: 69
    Threads: 19
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #2
    2024-12-26, 02:17 PM
    (2024-12-26, 11:48 AM)Varad Chiney Wrote: Hi everyone,
    I’m running Jellyfin on a Raspberry Pi 5, and I’m facing issues with the Web UI becoming choppy and laggy when around 8-10 users are connected simultaneously. Additionally, SSH access to the Pi also becomes slow during this time. However, the system resources seem to be underutilized, which has left me puzzled.
    Current Setup:
    1. Device: Raspberry Pi 5 (4GB/8GB RAM)
    2. Media Files: All videos are pre-transcoded to x264 format to avoid transcoding load during playback.
    3. Storage: Videos are stored on a high-speed external SSD connected via USB 3.0.
    4. Network: Gigabit Ethernet connection.
    5. Jellyfin Version: Jellyfin.Server 10.10.3.0
    Observations:
    • When monitoring with
      htop
      , the system doesn’t seem stressed:
      • RAM usage is under 700MB.
      • CPU usage is minimal.
    • Despite the low resource usage, the Jellyfin Web UI becomes unresponsive, and SSH sessions are sluggish.
    Questions:
    1. Are there known bottlenecks in Jellyfin's Web UI or other components that could cause lag under heavy user traffic?
    2. Could this be related to I/O bottlenecks, even though CPU and memory usage remain low?
    3. Would implementing a reverse proxy (e.g., Nginx or Caddy) to manage connections help mitigate these issues?
    4. Are there system-level optimizations (e.g., network stack tuning, caching, etc.) that could improve the responsiveness of the Web UI and SSH under load?
    5. Is there a way to profile Jellyfin’s Web UI performance to identify specific areas causing the slowdown?
    Additional Context:
    • I’ve streamlined metadata processing and set up user permissions to minimize unnecessary operations.
    • My primary concern is ensuring Jellyfin can handle 40-50 users simultaneously in the future, but the current performance with just 8-10 users suggests that optimization is needed before scaling.
    Any advice, insights, or guidance would be greatly appreciated! If anyone has managed a similar load on a Raspberry Pi or other low-power devices, I’d love to hear about your setup and optimizations.
    Thank you in advance for your help!

    Potentially Problematic Hardware
    These hardware platforms might lead to a poor Jellyfin experience. Please be careful to avoid them when shopping for hardware.
    • Intel "Atom" CPUs: Intel J/M/N/Y series low power CPUs up to 11th gen use a different architecture than higher end parts, leading to subpar performance despite what their names might suggest. Please be careful about these parts when shopping for a system to run Jellyfin.
    • Prebuilt NAS devices: The software environment on most Prebuilt NAS devices often causes 3rd party software to be hard to install and not work properly. They also often have low end processors that are too slow for a good Jellyfin experience (Intel Atom, Realtek ARM CPUs etc.).
    • Most Single Board Computers (SBC): Most SBCs (Including Raspberry Pis and especially the Pi 5) are too slow to provide a good Jellyfin experience since they often lack proper support for hardware acceleration. If You really want to run Jellyfin on an SBC, please look at models based on the following platforms: Rockchip RK3588 / RK3588S, Intel Core, Intel 12th gen N series
    • AMD Graphics: AMD Graphics have poor encoder quality and poor driver support. This applies even on Linux.
    • Low end GPUs: Certain low end GPUs (eg. GT1030, RX6400) don't have hardware encoding available. These models can't be used for Jellyfin hardware acceleration.

    https://jellyfin.org/docs/general/admini...-selection
    Jellyfin 10.10.7 (bare metal)
    Ubuntu 24.04.2 LTS, OS 1TB NVMe
    Dell OptiPlex 7050 Intel i7-6700 32GB ram
    Intel Arc A310 ELF
    Storage: TrueNas Mini R Raidz2 45 TiB (Samba shares)
    Gateway: PFsense/HAproxy

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2024-12-26, 07:32 PM
    CPU usage and memory usage are not the only resources used when streaming video. Memory bandwidth, network bandwidth, and PCIe/USB bandwidth are also factors. Your SSD's USB connection speed matters little if the PCIe/USB controller on the RPi cannot move that much data.

    8-10 users, even if direct playing, is unreasonable to expect a RPi5 to be able to handle.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode