• 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 [WebOS] Images load slow - Cache all images

     
    • 0 Vote(s) - 0 Average

    [WebOS] Images load slow - Cache all images

    forcefullpower
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    Country:United Kingdom
    #1
    2024-12-13, 08:30 AM
    Hi,

    Is there a way for WebOS to cache the images from the server. I am finding that it puts quite a load on the arm processor trying to request all these images each time. Either that or is there a way to cache these in memory for faster retrieval.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-12-13, 01:11 PM
    Are you images stored with your media on a HDD or NAS? Or a SD card? Loading images shouldn't take much processing power unless the CPU is waiting a long for the image to be transferred from storage.

    Jellyfin has no mechanism to cache images in memory. If you use Nginx, our documentation has examples for setting up image caching, which you can put on a RAM disk if you have enough unused memory.
    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]
    forcefullpower
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    Country:United Kingdom
    #3
    2024-12-13, 02:42 PM
    They are currently stored on an eMMC card using an Orange Pi 5 Plus. I get the following speed in read and writes to the card. Would that speed it up that much using ram disk instead of the eMMC card.

    /dev/mmcblk0p1:
    Timing cached reads: 2398 MB in 2.00 seconds = 1200.31 MB/sec
    Timing buffered disk reads: 716 MB in 3.01 seconds = 238.21 MB/sec
    root@orangepi5-plus:~# dd if=/dev/zero of=/tmp/test1.img bs=1G count=1 oflag=dsync
    1+0 records in
    1+0 records out
    1073741824 bytes (1.1 GB, 1.0 GiB) copied, 4.49881 s, 239 MB/s
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-12-13, 03:42 PM
    High sequential speeds do not translate to real world speeds. The work load for finding and reading images is a lot of small, random accesses that eMMC does not handle well.

    RAM would handle small, random accesses very well. Or a proper SSD.
    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]
    forcefullpower
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    Country:United Kingdom
    #5
    2024-12-13, 04:38 PM
    I have an NV3 PCIe 4.0 NVMe SSD Kingston Model Number SNV3S/500G. I have just done a test on the NVMe drive I should be getting much higher reading than these. The write speeds are worse than the eMMC. I am not sure if this is an armbian OS issue.

    /dev/nvme0n1:
    Timing O_DIRECT cached reads: 1606 MB in 2.00 seconds = 803.98 MB/sec
    Timing O_DIRECT disk reads: 3332 MB in 3.00 seconds = 1110.38 MB/sec
    root@orangepi5-plus:~# hdparm -Tt /dev/nvme0n1

    /dev/nvme0n1:
    Timing cached reads: 2480 MB in 2.00 seconds = 1241.87 MB/sec
    Timing buffered disk reads: 1386 MB in 3.00 seconds = 461.39 MB/sec

    root@orangepi5-plus:~# dd if=/dev/zero of=/srv/dev-disk-by-uuid-1d9dd550-94e7-4f03-9cba-9a33c9c87cb2/test1.img bs=64M count=1 oflag=dsync
    1+0 records in
    1+0 records out
    67108864 bytes (67 MB, 64 MiB) copied, 0.445011 s, 151 MB/s
    root@orangepi5-plus:~# dd if=/dev/zero of=/srv/dev-disk-by-uuid-1d9dd550-94e7-4f03-9cba-9a33c9c87cb2/test1.img bs=1GB count=1 oflag=dsync
    1+0 records in
    1+0 records out
    1000000000 bytes (1.0 GB, 954 MiB) copied, 5.83242 s, 171 MB/s
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 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