Kuchen 0 Posted September 10, 2017 Posted September 10, 2017 Hi, I tried to search for my Problem in this Forum, but i couldn´t find anything that would have helped me. I need to Limit the Upload Speed the Emby Server is getting. The Problem is, my Upload speed i get from my ISP is only 20 Mbit. I know there is a setting to limit the bitrate of the Streams. I tried to set the limit to 15 Mbit, but this only sets the limit for the stream bitrate. When I try to play a game it still is lagging, because Emby doesnt send constant 15 Mbit over the Network. It is idling some time and then sending at full 20 Mbit. I tried to use my QoS Settings in my Router. It helps when someone is Downloading (because of the constant upload speed) but it doesnt work when a stream is running. Is there any way to tell Emby to just use 15 Mbit of my Internet Connection? Thanks in Advance and sorry for my bad english
Happy2Play 9782 Posted September 10, 2017 Posted September 10, 2017 Currently there is no global speed limit, only per stream limits. Dashboard-Users-select user and Dashboard-Playback-Streaming An optional per-stream bitrate limit for all out of network devices. This is useful to prevent devices from requesting a higher bitrate than your internet connection can handle. This may result in increased CPU load on your server in order to transcode videos on the fly to a lower bitrate.
mastrmind11 722 Posted September 10, 2017 Posted September 10, 2017 (edited) WHat about Dashboard-Playback-Streaming? That's a global setting as far as I understand. edit: nevermind, I just re-read the description. Delete my post(s) Edited September 10, 2017 by mastrmind11
Happy2Play 9782 Posted September 10, 2017 Posted September 10, 2017 WHat about Dashboard-Playback-Streaming? That's a global setting as far as I understand. Still per device/stream. I will have to look for @@Luke's quote on this.
Kuchen 0 Posted September 10, 2017 Author Posted September 10, 2017 Thanks for your Help. These are the Settings i already tried. Maybe someone knows a way to limit Upload Bandwith for services on an ubuntu machine (I know its not the Linux Forum, but maybe someone has an idea)
mastrmind11 722 Posted September 11, 2017 Posted September 11, 2017 (edited) Thanks for your Help. These are the Settings i already tried. Maybe someone knows a way to limit Upload Bandwith for services on an ubuntu machine (I know its not the Linux Forum, but maybe someone has an idea) https://github.com/magnific0/wondershaper further reading: https://askubuntu.com/questions/776/how-i-can-limit-download-upload-bandwidth Edited September 11, 2017 by mastrmind11
Kuchen 0 Posted September 12, 2017 Author Posted September 12, 2017 https://github.com/magnific0/wondershaper further reading: https://askubuntu.com/questions/776/how-i-can-limit-download-upload-bandwidth Thank you. I already tried trickle. This didnt really work. But I´ll give wondershaper a try. It sounds promising as a temporary solution. But cutting of the complete Bandwith of my Server isn´t what i wanted. But its the best compromise at the moment. Thanks for your help.
JeremyFr79 228 Posted September 12, 2017 Posted September 12, 2017 What you are seeing is completely normal. It sends "chunks" at a time to clients hence why you see it use all bandwidth and then none. This is how every video provider works. Don't believe me watch a video from something like netflix and then monitor your download real-time and you'll see it does the exact same thing.
siu99ss2 13 Posted December 28, 2017 Posted December 28, 2017 OP, not sure if you've managed to find a solution but I use a program called NetLimiter to control upload bandwidth emby uses. Might be worth looking into.
Painkiller88 250 Posted July 23, 2020 Posted July 23, 2020 Since this is from 2017 is there now a global upload limiter? I can't find it, maybe i missed a thing. Thanks
Carlo 4561 Posted July 23, 2020 Posted July 23, 2020 1 hour ago, Painkiller8818 said: Since this is from 2017 is there now a global upload limiter? I can't find it, maybe i missed a thing. Thanks Do you mean this setting on the Network menu?
Painkiller88 250 Posted July 23, 2020 Posted July 23, 2020 2 minutes ago, cayars said: Do you mean this setting on the Network menu? Yeah not exactly because this is just the per stream limit, i am looking for a global maximum upload limit for all users. EG: if i have 50MBit up i want to limit to 45MBit for all users
Carlo 4561 Posted July 23, 2020 Posted July 23, 2020 Got ya, like a MAX GLOBAL BANDWIDTH AVAILABLE type setting. Nothing like that available that I'm aware of. I'm not sure how that would work. If you're first user starts playing something via Direct Play and uses 30Mbit then you'd have 15Mb left for all other users. With the above setting you could set it to 10Mbit for example and likely be able to serve up 5 or more clients with each getting decent bandwidth.
Painkiller88 250 Posted July 23, 2020 Posted July 23, 2020 (edited) Yeah i think it will be like that, on my plex i have a setting for the max global upload so i can make sure to reserve a few MBit for my webserver Edited July 23, 2020 by Painkiller8818
Carlo 4561 Posted July 23, 2020 Posted July 23, 2020 Plex handles this differently and can "auto tune" each stream to reduce or increase the bitrate. However what that means is that it must TRANSCODE everything so that it can make these adjustments which causes lots of it's own issues and I'm glad Emby hasn't gone that route. I'd hate to have all my remote streams transcoded on the off case I get low on "upload" bandwidth. yuck
ebr 16185 Posted July 23, 2020 Posted July 23, 2020 Hi. So when you say "upload" you mean the bandwidth used by your server to send content out to remote clients?
Painkiller88 250 Posted July 23, 2020 Posted July 23, 2020 (edited) 1 hour ago, cayars said: Plex handles this differently and can "auto tune" each stream to reduce or increase the bitrate. However what that means is that it must TRANSCODE everything so that it can make these adjustments which causes lots of it's own issues and I'm glad Emby hasn't gone that route. I'd hate to have all my remote streams transcoded on the off case I get low on "upload" bandwidth. yuck I never have transoding if a device can play all formats and the stream fits into my per stream max bandwidth. But i also never reached my max upload so maybe it starts to transcode the user if there is not enough bandwith or it needs more i would allow as a maximum for all upstreams EDIT: I tried this now with my browser and a lot of tabs, so the last Stream which can't get its full bandwith because of the overall limit is transcoded to a 4MBit 720p All others are direct play Edited July 23, 2020 by Painkiller8818
Carlo 4561 Posted July 23, 2020 Posted July 23, 2020 It also requires a setting on the client which I forgot to mention to use the adaptive bitrate changing to fit the pipe. Without that setting you just won't get any bandwidth when the server is at it's limit. But when you use that adaptive rate option, it runs everything though the transcoder since ffmpeg is what can adjust the bitrate on the fly. This is done even for media that would have direct played otherwise. It's a bit confusing.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now