Jump to content

Internet streaming bitrate limits not working?


Recommended Posts

Posted

Last night I noticed my network being bogged down for some reason, and I noticed there was one user/one connection on the server and Task Manager was showing the network usage spiking up to 45-48 Mbps for the Emby Server process.

I have a 50 Mbps upload limit on my plan with my ISP, so I've set the Internet streaming bitrate limit to 10 Mbps globally AND per user. How come Emby is utilizing almost 100% of my available bandwidth?
 

Posted

Hello KidRobot,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:

Thank you.

Emby Team

Happy2Play
Posted (edited)
8 minutes ago, KidRobot said:

Last night I noticed my network being bogged down for some reason, and I noticed there was one user/one connection on the server and Task Manager was showing the network usage spiking up to 45-48 Mbps for the Emby Server process.

I have a 50 Mbps upload limit on my plan with my ISP, so I've set the Internet streaming bitrate limit to 10 Mbps globally AND per user. How come Emby is utilizing almost 100% of my available bandwidth?
 

Only way it is ignore is if the connect is consider Local.

Please post the server log for that example.

Edited by Happy2Play
Posted

How many users did you have streaming?  10Mb x 5 users could be close to 45-50Mb.

Posted
6 minutes ago, cayars said:

How many users did you have streaming?  10Mb x 5 users could be close to 45-50Mb.

Just one user.

Posted

OK Thanks.  As @Happy2Play mentioned we'll need to see the server log from that time period.
If you could tell us what was being played that would be helpful as well.

Posted

Can you upload the server log right before this one?

  • Like 1
Happy2Play
Posted

Emby is reporting the assigned limit.

2021-06-22 23:18:09.701 Info App: RemoteClientBitrateLimit: 10000000, RemoteIp: xxx.xxx.xxx.233, IsInLocalNetwork: False

 

Posted

Yea I noticed that, but Windows Task Manager at that time tells me a different story.

Posted

But windows task manager would be showing the NIC bitrate which isn't the same as your WAN bitrate.

Happy2Play
Posted

You could ask the user to bring up Stats for Nerds and ask what they see.  Also depending on playback method you may see it on the Dashboard.

Posted
7 minutes ago, cayars said:

But windows task manager would be showing the NIC bitrate which isn't the same as your WAN bitrate.

Even when in the Resource Monitor screen? And specifically to the user's IP address?

Posted
3 minutes ago, Happy2Play said:

You could ask the user to bring up Stats for Nerds and ask what they see.  Also depending on playback method you may see it on the Dashboard.

It was Direct Playing, so there was no bitrate shown in the Dashboard.

Happy2Play
Posted
Just now, KidRobot said:

It was Direct Playing, so there was no bitrate shown in the Dashboard.

I would have user check stats for nerds.

Okay and what is the bitrate of the item being played?  As that will somewhat tell the bitrate that was used.  I would not think any episode would be anywhere close to 45-48 Mbps.

But it can be hard to say exactly what taskmanager is truly showing you.

Posted

Hi.  It is also important to understand that nothing is actually limiting the amount of data that is allowed over the wire.  If you are direct playing a file, regardless of the bitrate of that file, a network request for a chunk of the file will be delivered as fast as the network will allow.  So you can see bursts of lots of data at any given time.

Posted
2 minutes ago, Happy2Play said:

I would have user check stats for nerds.

Okay and what is the bitrate of the item being played?  As that will somewhat tell the bitrate that was used.  I would not think any episode would be anywhere close to 45-48 Mbps.

But it can be hard to say exactly what taskmanager is truly showing you.

Those specific episodes? 640kbps.

Odd thing was, it wasn't a consistent 45-48 Mbps usage either.  It would spike up for a few seconds, then die down.

 

Posted
Just now, ebr said:

Hi.  It is also important to understand that nothing is actually limiting the amount of data that is allowed over the wire.  If you are direct playing a file, regardless of the bitrate of that file, a network request for a chunk of the file will be delivered as fast as the network will allow.  So you can see bursts of lots of data at any given time.

So you're saying there is no way to limit how much of my bandwidth it uses when Direct Playing?  The bitrate limit only affects Direct Streaming?

Posted
1 minute ago, KidRobot said:

The bitrate limit only affects Direct Streaming?

The limit really only affects our transcoding decisions and target of conversions.  Network requests are not throttled in any way.  However, none of this should really be a problem.

Happy2Play
Posted
Just now, KidRobot said:

So you're saying there is no way to limit how much of my bandwidth it uses when Direct Playing?  The bitrate limit only affects Direct Streaming?

Emby knows you have applied a 10Mb limit as you can see in the log.  If the media bitrate is above 10Mb it will be limited to 10Mb ie transcode. 

Posted
1 minute ago, KidRobot said:

So you're saying there is no way to limit how much of my bandwidth it uses when Direct Playing?  The bitrate limit only affects Direct Streaming?

When you set the max internet bitrate, Emby is only using that to limit the bitrates of the files that it serves, and transcode to a lower bitrate if needed. It doesn't guarantee that at certain points the transmission might exceed that due to techniques such as network burst.

What you could try to do to adjust for that is set your limit a little bit lower than what you have now, for example perhaps about 20% lower and see if that helps.

Posted

OK, I guess my understanding of the bitrate limit was wrong all along.

I thought that it gives each user (assigned) a bitrate limit, either to Direct Play or Direct Stream, and if that connection requires more bandwidth than what the limit is set at, then it will automatically begin transcoding on-the-fly.

Happy2Play
Posted
2 minutes ago, KidRobot said:

OK, I guess my understanding of the bitrate limit was wrong all along.

I thought that it gives each user (assigned) a bitrate limit, either to Direct Play or Direct Stream, and if that connection requires more bandwidth than what the limit is set at, then it will automatically begin transcoding on-the-fly.

That is exactly what it does.  If item bitrate exceed 10Mbps it will be transcoded.  But I still don't see how a 1Mb item used or bursted 45Mbps+.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...