Bandwidth cost modeling


#1

Do anyone have any Excel spreadsheet model to model bandwidth costs to run a Jitsi SFU?

For example, I’d like to understand how much it costs on bandwidth on AWS ($0.09/GB) to do a 5-person Jitsi call for 1 hour.

Any help much appreciated!


Unstable video/audio, depending of the environments
Formula X# of CPU/RAM for # of connections
#2

Hey, this really depends on a lot of factors. Here is a very rough estimate:

5 x Chrome with simulcast in 720p:
in: 5*4=20 Mbit/s
out: 5+4*0.2=5.8 Mbit/s (one person on large and 4 thumbnails)
approximately 26Mbit/s so for an hour ~12GB * 0.09 = $1

5 x Firefox (no simulcast), this changes only what goes out of the server it will be same as input so 40 Mbit/s, and for an hour ~18GB * 0.09 = $1.6

And these are very rough (if correct) and in best conditions. If you change the UI to Brady bunch everything changes when using simulcast (to lower values).
Here are the values for the bandwidth used by different layers
https://chromium.googlesource.com/external/webrtc/+/master/media/engine/simulcast.cc#61


Jitsi meet server specification
Is there anyway to reduce the internet banwidth
#3

thank you damencho
what did you mean by $?
can we know for instance if i’m having a multipart conference of 15 people? any specific CPU requirements?
take care


#4

These are US dollars, these are AWS prices.
No specific CPU requirements that I can come up, the idea here is that bandwidth is the most important part, for 15 people you will need as a max to have in of 60Mbit/s and out around 80 Mbit/s this is with simulcast, if let’s say no simulcast on all participants, then you need out of around 120 Mbit/s. These values are for optimal conditions where all participants can send 720p up to 4 Mbits.


#5

@damencho
Hi Damian, is it possible to force a particular resolution in the url as an option ?
say CIF or VGA ?
What is the AWS VP server one should go if 4-5 participants streaming at 720 ?


#6

You need to pass in URL correct params for:


and

Something with 8GB of RAM and good network.


#7

thanks for your input Damian.
vinod