From: Juliusz Chroboczek <jch@irif.fr>
To: "Toke Høiland-Jørgensen" <toke@toke.dk>
Cc: Thomas Gambier <thomas.gambier@nexedi.com>,
Galene <galene@lists.galene.org>
Subject: [Galene] Re: accept4: too many open files
Date: Wed, 17 Feb 2021 15:29:49 +0100 [thread overview]
Message-ID: <87k0r6vkbm.wl-jch@irif.fr> (raw)
In-Reply-To: <87mtw2n5mg.fsf@toke.dk>
> Also, Juliusz, is there a recommendation for number of file descriptors
> needed vs number of clients?
At the very least
k·∑ᵢsᵢrᵢ
where the sum ranges over all groups, sᵢ is the number of senders in group i,
rᵢ is the number of receivers, and k is some constant, k≥2, probably k≈4.
So for a meeting with 10 people (s=r=10), you'll need on the order of 400
file descriptors. On the other had, for a lecture with 60 students (s=1,
r=60), you need just some 250 file descriptors — quadratic scaling in the
first case, linear in the second. Of course, that will double as soon as
you share a document.
prev parent reply other threads:[~2021-02-17 14:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-17 11:11 [Galene] " Thomas Gambier
2021-02-17 14:13 ` [Galene] " Michael Ströder
2021-02-17 14:19 ` Juliusz Chroboczek
2021-02-17 14:44 ` Michael Ströder
2021-02-17 16:59 ` Juliusz Chroboczek
2021-02-18 10:20 ` Thomas Gambier
2021-02-18 12:24 ` Juliusz Chroboczek
2021-02-18 13:30 ` HWJ
2021-02-18 15:05 ` Thomas Gambier
2021-02-18 17:11 ` Michael Ströder
2021-02-17 14:14 ` Toke Høiland-Jørgensen
2021-02-17 14: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=87k0r6vkbm.wl-jch@irif.fr \
--to=jch@irif.fr \
--cc=galene@lists.galene.org \
--cc=thomas.gambier@nexedi.com \
--cc=toke@toke.dk \
--subject='[Galene] Re: accept4: too many open files' \
/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