• 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 Troubleshooting Limit ffmpeg CPU usage (no Hardware decoding/encoding)

     
    • 0 Vote(s) - 0 Average

    Limit ffmpeg CPU usage (no Hardware decoding/encoding)

    I-G-1-1
    Offline

    Junior Member

    Posts: 21
    Threads: 2
    Joined: 2023 Jun
    Reputation: 0
    #5
    2025-02-11, 05:43 PM
    At the end I gave up on trying to add nice/cpulimit to the ffmpeg executable.

    Instead I added to /etc/systemd/system/jellyfin.service.d/override.conf:

    Code:
    [Unit]
    #CPUWeight defaults to 100 for all processes on the system. Setting a low value still lets process use the CPU if nothing else is effectively keeping the system responsive for other tasks while not slowing down the results much. This is a arbitrary weight integer.
    CPUWeight=100
    #CPUQuota is an absolute limit on how much CPU time is granted even if nothing else is going on. This is a percent value. In my case it wasn't really necessary to set this to fix the resource hogging issue.                                                               
    CPUQuota=90%

    I still need to test "transcode throttling". 

    Thanks for the help
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Limit ffmpeg CPU usage (no Hardware decoding/encoding) - by I-G-1-1 - 2025-02-11, 12:00 PM
    RE: Limit ffmpeg CPU usage (no Hardware decoding/encoding) - by TheDreadPirate - 2025-02-11, 02:01 PM
    RE: Limit ffmpeg CPU usage (no Hardware decoding/encoding) - by I-G-1-1 - 2025-02-11, 02:27 PM
    RE: Limit ffmpeg CPU usage (no Hardware decoding/encoding) - by TheDreadPirate - 2025-02-11, 02:41 PM
    RE: Limit ffmpeg CPU usage (no Hardware decoding/encoding) - by I-G-1-1 - 2025-02-11, 05:43 PM

    • 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