From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by mail.toke.dk (Postfix) with ESMTPS id 3FE0285E7AC for ; Tue, 6 Jul 2021 15:47:43 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Li5gU4Ic Received: by mail-il1-x132.google.com with SMTP id k6so12857275ilo.3 for ; Tue, 06 Jul 2021 06:47:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=GMDxOX0HOD1wzk52QOSQlFU8QkU7q4hO4KIx3I+Qano=; b=Li5gU4IcuLhWv3Zm1IRqa2hgGoimdfliF5b1nWHf4MHCvzHEn7GPIWvNpj2Wwna1mt DR4HQvBW6SosskEjTaQ5oi+lMOtHm3eBAV44vySmJLGDPzm8c+6o8LBtyrUq0fFbCUbw cEiTpGNyYs2hOZo2aRi34wsNG7sZJWiuILBQ9Hj0HIsXl/HkT0/RBZod9CFTaP53epGK 14XE7NbP0dbhLb+fMPqIkfwZw/CSXDUm8sMSGrvZXUIV8cfymB6MgojQZ7+z5KyLNj1k blFTykjOizUvZa2XxmRWmAmeWBanRa/4xFYpvidTndkpOmoslUot5cPfjgzf9RC55Nk2 zrQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=GMDxOX0HOD1wzk52QOSQlFU8QkU7q4hO4KIx3I+Qano=; b=NgJD0TvgqFJqWNujjJE56p9Wtc4xTRZjBgl1lNttP5v+4me5lIYhTz3y/aG0EaEgsq xxnou8UiLxa6GdlZtUDgxyrG/T/VP5vQTW0mxivJoV39nRqquBlsZ5lhqpGWxo9QW909 qmkdWPSl7y9efJfRmIrDYG8DzY8lmzavvDk6mo79XtLVT6A/A9hDxBGMhHev9CL/Ei6s 2vDqmUqE9HGRS9/TQcvQY1IzwXbw3LGwR146zIoK00AC953IqcKrOUTirnMJgpkdeAn+ BF8CweoG7DWCrG25rqZALWVJSh8rCjYpme8Bo/Xz4FPwcjbkp064rJ+Q99U8Qp1ftO8/ 8S9w== X-Gm-Message-State: AOAM532+FcOtyAQ5nWcfVoL4LrTw9tuIbIQSg/dt++7qPZAxGNChB6IT Cd61JJvin+N0H538XdUdgzqh7s527F2XBs72IQc= X-Google-Smtp-Source: ABdhPJx7jJdKtasbmffZ1K0Q0gDv1h7QPMPRTo9kdfsVONpB76AZMRIrUVSOYPJo5grajKh6BAFtypZI+CvbT1/YpPE= X-Received: by 2002:a92:d60c:: with SMTP id w12mr14953325ilm.246.1625579262461; Tue, 06 Jul 2021 06:47:42 -0700 (PDT) MIME-Version: 1.0 References: <871r8cxzdj.wl-jch@irif.fr> <87wnq4wk3v.wl-jch@irif.fr> <87a6mzpvdb.wl-jch@irif.fr> In-Reply-To: From: Dave Taht Date: Tue, 6 Jul 2021 06:47:31 -0700 Message-ID: To: Juliusz Chroboczek Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Message-ID-Hash: DMPDJKZ7NKWCCVO4R63USX63LM22LBYW X-Message-ID-Hash: DMPDJKZ7NKWCCVO4R63USX63LM22LBYW X-MailFrom: dave.taht@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: galene@lists.galene.org X-Mailman-Version: 3.3.4 Precedence: list Subject: [Galene] Re: we broke galene head pretty badly today List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: I would still rather like it if sendmmsg could be used in conjunction with user-space sfq across the participants. This gives you natural packet pacing, cuts write context switch time by up to a factor of 42. On Tue, Jul 6, 2021 at 6:44 AM Dave Taht wrote: > > On Tue, Jul 6, 2021 at 3:52 AM Juliusz Chroboczek wrote: > > > > > yes a codel-ly approach would be helpful, but what stage of the > > > pipeline is costing the most cpu? > > > > Gal=C4=8Dne is fairly well optimised, on a machine with hardware crypto= , most > > of the time is spent in the write system call. I'll post a profile whe= n > > I'm next at the lab. > > What hardware is the weakest and when does it start to fail? > > I can also start setting up simple videoconferences. It would be > really good to have a tool > that could create virtual sessions to load things up. I got tired of > bigbuckbunny a long time ago > but I've often thought it would be amusing to try and sync up a 4+ piece = band. > > > > > > Still, when you run out of cpu, dropping whole frames would be good. > > > you could interleave dropping a frame per sender perhaps? > > > > I can drop every second frame without causing video corruption, and I c= an > > put backpressure on the sender, the code is already there. The only > > difficulty is how to determine that I'm under load. > > timestamp a packet or frame on entry (as early as possible), check > time again on exit (after the write). If the delta is greater than the > framerate, start dropping frames. > > st > > > > > -- Juliusz > > > > -- > Latest Podcast: > https://www.linkedin.com/feed/update/urn:li:activity:6791014284936785920/ > > Dave T=C3=A4ht CTO, TekLibre, LLC --=20 Latest Podcast: https://www.linkedin.com/feed/update/urn:li:activity:6791014284936785920/ Dave T=C3=A4ht CTO, TekLibre, LLC