Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
From: Juliusz Chroboczek <jch@irif.fr>
To: "Michael Ströder" <michael@stroeder.com>
Cc: galene@lists.galene.org
Subject: [Galene] Re: estimate memory per user?
Date: Wed, 30 Dec 2020 18:29:02 +0100	[thread overview]
Message-ID: <87im8jjj8h.wl-jch@irif.fr> (raw)
In-Reply-To: <b7f94489-4966-0c61-1451-64ff520cee76@stroeder.com>

> I guess asking for this number *after* system was running into hard
> memory pressure was the wrong approach at my side. ;-)

Here's a list of things that could be done to reduce Galène's memory usage
even further:

  - tweak the size of Galène packet cache,

    https://github.com/jech/galene/blob/master/rtpconn/rtpconn.go#L1139

  - play with the GOGC environment variable, for example

    GOGC=40 ./galene

  - fix these issues:

    https://github.com/golang/go/issues/39365
    https://github.com/pion/srtp/pull/77

  - avoid having multiple goroutines for RTCP senders (the Ion-SFU guys
    are experimenting with this approach).

-- Juliusz

      reply	other threads:[~2020-12-30 17:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-28 17:52 [Galene] " Michael Ströder
2020-12-28 18:51 ` [Galene] " Juliusz Chroboczek
2020-12-30 16:46   ` Michael Ströder
2020-12-30 17:29     ` Juliusz Chroboczek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87im8jjj8h.wl-jch@irif.fr \
    --to=jch@irif.fr \
    --cc=galene@lists.galene.org \
    --cc=michael@stroeder.com \
    --subject='[Galene] Re: estimate memory per user?' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox