• 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 Config question

     
    • 0 Vote(s) - 0 Average

    Config question

    Eric Mako
    Offline

    Junior Member

    Posts: 19
    Threads: 7
    Joined: 2023 Jun
    Reputation: 0
    #1
    2023-06-25, 04:39 PM (This post was last modified: 2023-06-25, 07:12 PM by Eric Mako. Edited 1 time in total.)
    Hello, I wanted to know how many streams the i7-7700 is able to handle with and without transcode?

    And is it possible to configure Jellyfin so that an account only connects to one client at a time?

    Thanks
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-06-25, 05:52 PM (This post was last modified: 2023-06-25, 06:05 PM by TheDreadPirate. Edited 1 time in total.)
    Regarding how many streams a 7700 can handle.  WITHOUT transcoding, I think you would hit a bottleneck with network bandwidth and disk throughput before hitting a CPU bottleneck.

    WITH transcoding, at least 4-5 1080p streams.  Here's a good way to gauge how much your CPU/GPU/QSV can handle.  Go to your log directory and there should be some FFMPEG transcode logs.  In them you should see something like this.

    Code:
    frame=  38 fps=0.0 q=-0.0 size=N/A time=-00:00:01.08 bitrate=N/A speed=N/A
    [hls @ 0x55c853672680] Opening '/media/ramdisk/transcodes/c75349aec280a9c28af5ff8fde30b0130.ts' for writing
    frame=  147 fps=0.0 q=-0.0 size=N/A time=00:00:05.06 bitrate=N/A dup=6 drop=5 speed= 7.6x
    [hls @ 0x55c853672680] Opening '/media/ramdisk/transcodes/c75349aec280a9c28af5ff8fde30b0131.ts' for writing
    [hls @ 0x55c853672680] Opening '/media/ramdisk/transcodes/c75349aec280a9c28af5ff8fde30b0132.ts' for writing
    frame=  248 fps=212 q=-0.0 size=N/A time=00:00:09.39 bitrate=N/A dup=8 drop=7 speed=8.03x
    [hls @ 0x55c853672680] Opening '/media/ramdisk/transcodes/c75349aec280a9c28af5ff8fde30b0133.ts' for writing
    frame=  333 fps=199 q=-0.0 size=N/A time=00:00:12.97 bitrate=N/A dup=8 drop=7 speed=7.76x
    [hls @ 0x55c853672680] Opening '/media/ramdisk/transcodes/c75349aec280a9c28af5ff8fde30b0134.ts' for writing
    frame=  424 fps=195 q=-0.0 size=N/A time=00:00:16.81 bitrate=N/A dup=8 drop=7 speed=7.74x
    [hls @ 0x55c853672680] Opening '/media/ramdisk/transcodes/c75349aec280a9c28af5ff8fde30b0135.ts' for writing
    [hls @ 0x55c853672680] Opening '/media/ramdisk/transcodes/c75349aec280a9c28af5ff8fde30b0136.ts' for writing
    frame=  515 fps=193 q=-0.0 size=N/A time=00:00:20.54 bitrate=N/A dup=8 drop=7 speed=7.69x
    [hls @ 0x55c853672680] Opening '/media/ramdisk/transcodes/c75349aec280a9c28af5ff8fde30b0137.ts' for writing
    frame=  620 fps=195 q=-0.0 size=N/A time=00:00:25.01 bitrate=N/A dup=25 drop=24 speed=7.88x
    [hls @ 0x55c853672680] Opening '/media/ramdisk/transcodes/c75349aec280a9c28af5ff8fde30b0138.ts' for writing
    frame=  718 fps=195 q=-0.0 size=N/A time=00:00:28.97 bitrate=N/A dup=26 drop=25 speed=7.88x
    [hls @ 0x55c853672680] Opening '/media/ramdisk/transcodes/c75349aec280a9c28af5ff8fde30b0139.ts' for writing
    [hls @ 0x55c853672680] Opening '/media/ramdisk/transcodes/c75349aec280a9c28af5ff8fde30b01310.ts' for writing
    frame=  811 fps=194 q=-0.0 size=N/A time=00:00:32.96 bitrate=N/A dup=26 drop=25 speed=7.89x
    [hls @ 0x55c853672680] Opening '/media/ramdisk/transcodes/c75349aec280a9c28af5ff8fde30b01311.ts' for writing
    frame=  913 fps=195 q=-0.0 size=N/A time=00:00:37.07 bitrate=N/A dup=29 drop=28 speed=7.92x

    The speed at the end of the line should be a pretty good indicator of how many transcode streams QSV may be able to handle.  Though you should aim for at least 1.5x. The logs above are for a single 480p HEVC transcode, so YMMV.

    And you can limit a user to X number of sessions.  In the Web UI, Settings > Dashboard > User > Select User > Profile tab.  At the bottom there is a setting for simultaneous sessions.  0 (unlimited) is the default.
    Eric Mako
    Offline

    Junior Member

    Posts: 19
    Threads: 7
    Joined: 2023 Jun
    Reputation: 0
    #3
    2023-06-26, 08:23 AM
    (2023-06-25, 04:39 PM)Eric Mako Wrote: Hello, I wanted to know how many streams the i7-7700 is able to handle with and without transcode?

    And is it possible to configure Jellyfin so that an account only connects to one client at a time?

    Thanks

    Thank you for your help I was able to configure a single session for the user

    So with a 1GPBS connection we could put on average 100 users if the media is ~8mbps without transcode?

    Regarding the transcode I read that the i7-7700 could transcode from 1080p x264 to x264 a little lighter for about 20 users do you think it's true?

    Excellent for the logs trick, I don't have the hardware to try yet, do you have this i7?

    Thanks
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-06-26, 06:03 PM
    Maybe not 100. You don't want to max out your connection bandwidth. Otherwise the users would experience buffering. Try to ensure you don't utilize more than 75% of your available bandwidth. I usually aim for 50% utilization.

    BUT a hard drive would struggle with that many simultaneous streams. A SSD would probably do ok with that many streams.

    I do NOT have a Core i7 7700. I have an Intel J4205 (low power Atom processor), but the QSV capability is similar. I don't think 20 transcode streams is realistic on an iGPU. Maybe if you had a dedicated GPU. But I think the bottleneck would become the CPU managing all the ffmpeg processes.
    Eric Mako
    Offline

    Junior Member

    Posts: 19
    Threads: 7
    Joined: 2023 Jun
    Reputation: 0
    #5
    2023-06-26, 06:57 PM (This post was last modified: 2023-06-26, 06:59 PM by Eric Mako. Edited 1 time in total.)
    How can I know the bitrate used on average, you only have to calculate the number of users by the bitrate of the media? Or you have to look at the speed on the router/server panel

    Machine specs

    General
    Traffic: unlimited
    CPU Intel Core i7-7700
    2 x RAM 16384 MB DDR4
    2 x HDD SATA 4,0 TB Enterprise
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2023-06-26, 08:57 PM
    Everything I said was an educated guess. The only way to know for sure how your setup will perform is to test it. Have a bunch of friends access it at the same time. Test transcoding streams, test non-transcoding streams, check CPU usage, check how fast transcodes are happening, check memory usage, check network usage, check disk usage. You can then extrapolate the max number of users you can support based on your tests.

    Keep in mind that streaming, even without transcoding, is a pretty intensive process because of how time sensitive it is. And you have relatively modest hardware for such a large number of potential users.
    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: 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