From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by mail.toke.dk (Postfix) with ESMTPS id 528BD85E790 for ; Tue, 6 Jul 2021 15:45:01 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=VRWwDcca Received: by mail-il1-x136.google.com with SMTP id h3so20724629ilc.9 for ; Tue, 06 Jul 2021 06:45:01 -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=7PhXJpmIjLSV8wsCeDnfhqEZ/nP795YI/FuOj2jjJOk=; b=VRWwDccaTWpEAFPHQx454heB6EhwcUjS8RN05zwTf6Japx1hbstKBvLyzWSRPA1HqY ljzkGn/4ICBJtQ6AYV+/jKbugVavb6syACJyHrXXWxbeFBQzazJwwm+u34kv7KegpXMy mucPtDTG/3QEDS24gmw4TJea0UpJ5QHl6w1Y/D7QenCHAxyHnyEa1c8Yvn7pPH7an7fW v+aQVcM9CIsIIi0ET87KGRRiqKScxKOGBX7+yk7RmiUNXNLHYF5Dh+9lP9jwqZeGm0j1 4heJpFdLFSHPQ1GR4r0EuSGdRE54sRbpxYhY4b54OtSiubDOVu4ib1PpoKeMoJZEoPlv s/aw== 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=7PhXJpmIjLSV8wsCeDnfhqEZ/nP795YI/FuOj2jjJOk=; b=aMyr5XNBqF6InUqDDIyYHambhDswAZv0VhP/ltRRrG/e+3YRssvaMP8Iz5XnMG6zwC bKuCSczyMS9OrRpm2VkVI9sd2Y7HHPTACaA8XNrwiWeWy4+nCATu9gj1VTmp80V4ru/v RhfKsKUZ9WhlC8jyWypZ54CgEMAC3YsHwSGdGxh83YcNY19zdRVTJZ236Ni1oIBcqqrR SXAbqw5KH5yxWzdzJKNTXZ71V16FNTdRVVXNniW6tb96LneLWFeWqDzBZ37S0bfqMSZ7 A6kUkLG+LoTuohyG7R/BXvnx3Zy2Tz0yhRRuc3hcieMXH4/YsYmk+P94gG3Ebz7EghO4 VGdg== X-Gm-Message-State: AOAM5312lKduedlKMriDdw89pUDJDJN0fYbrXaWDzTCd6MMrtXVLI99G nohyIvLZi8mX8NPsdPIK4dxalccGREyogqIEy9c= X-Google-Smtp-Source: ABdhPJzEu1WNweK3f0gXrck2OJPO/YoP+WuaHRQKN5rIk25N9W/7JXKOdZeKCoisTTzlL5Gmcobz5ZXZtvzZ9RIK+XQ= X-Received: by 2002:a05:6e02:1648:: with SMTP id v8mr1023248ilu.249.1625579099470; Tue, 06 Jul 2021 06:44:59 -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: <87a6mzpvdb.wl-jch@irif.fr> From: Dave Taht Date: Tue, 6 Jul 2021 06:44:48 -0700 Message-ID: To: Juliusz Chroboczek Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Message-ID-Hash: IIAO24MHJZUGW2KC2UG6MJIVKQMV4D2Y X-Message-ID-Hash: IIAO24MHJZUGW2KC2UG6MJIVKQMV4D2Y 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: 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 when > 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 ba= nd. > > > 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 can > 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 --=20 Latest Podcast: https://www.linkedin.com/feed/update/urn:li:activity:6791014284936785920/ Dave T=C3=A4ht CTO, TekLibre, LLC