[STABLE] Poor performance

Hi,

I have tried multiple servers and cannot improve performance. When more than 7 or 8 people connect, it starts to lose packets.

Server 1:
Ubuntu 18.04 + 4 vCPU + 32 GB RAM + NVMe disk + 1 Gbps
jicofo mem java OPT = 6 GB
videobridge mem java OPT = 6 GB

Server 2:
Ubuntu 18.04 + 4 vCPU + 32 GB RAM + NVMe disk + 100 Mbps
jicofo mem java OPT = 6 GB
videobridge mem java OPT = 6 GB

Users have 150-180 ms average latency with server 1.
Users have 3-10 ms average latency with server 2.

The average bandwidth consumption when there are 6-8 people is 8-10 Mbps.


CPU load arround 15-20%.

 dpkg -l | grep jit
ii  jitsi-meet                            2.0.4384-1                                      all          WebRTC JavaScript video conferences
ii  jitsi-meet-prosody                    1.0.3969-1                                      all          Prosody configuration for Jitsi Meet
ii  jitsi-meet-turnserver                 1.0.3969-1                                      all          Configures coturn to be used with Jitsi Meet
ii  jitsi-meet-web                        1.0.3969-1                                      all          WebRTC JavaScript video conferences
ii  jitsi-meet-web-config                 1.0.3969-1                                      all          Configuration for web serving of Jitsi Meet
ii  jitsi-videobridge2                    2.1-164-gfdce823f-1                             all          WebRTC compatible Selective Forwarding Unit (SFU)
1 Like

In both installations the same happens to me.
Iā€™m just testing a single room.
For a single room, do I need to have more than one jvb2 server ?.

Does your deployment have these sysctl settings: https://github.com/jitsi/jitsi-videobridge/blob/master/config/20-jvb-udp-buffers.conf

Yes.

#sysctl -a | grep net.core.rmem_max
net.core.rmem_max = 10485760

# sysctl -a | grep net.core.netdev
net.core.netdev_budget = 300
net.core.netdev_budget_usecs = 2000
net.core.netdev_max_backlog = 100000

How do you check that? Are they dropped from the bridge or from the OS?