From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by mail.toke.dk (Postfix) with ESMTPS id 4726A85E33B for ; Tue, 6 Jul 2021 02:41:48 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=inehMMhi Received: by mail-il1-x12c.google.com with SMTP id k6so10959540ilo.3 for ; Mon, 05 Jul 2021 17:41:48 -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=x1KoZUOM1cMMbuSycIVtIHoEmcQRJih6kfE4NFlGYis=; b=inehMMhi2X4uBgykyN5XP+sQdCksHeWa3eA0tlZ9gUK8fDf61Xm6IQs4Ir+NH2VdDI hZm3a08d5vaVMT19GTUfsu+Tzab1tS1YUBNdl50IDHhHdUHDObAZL4s2NhKMu6ac4K3u WU1l6tIgIXsZqsAPc3hJt+AX5FClVW8AUhWlvdsJuA03PuJ/gMb2qdHlwAzpcbc4fTLk dWpZqkCjvOQXH6xrCP+rqV67Ug3xp8/6WlqinB9tjrUQj3+U2dO+1MLE94iQ+MewcDtJ DI5qv0KPmbOiMSPKZ/i0JQIpCGiQnuR11yorpYe3NHoQuGgljPMcBpT+el1IxPEUBeA3 5Fww== 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=x1KoZUOM1cMMbuSycIVtIHoEmcQRJih6kfE4NFlGYis=; b=rekN5aZOZCqo6w33v/F3bLETg2tZFGMB+wqAQxLKeX6d462gewlI3C2pqPa5+rwmxX 0aSNLpr9H2iwntgYrEXQDKRhx60gxyhkIjRVy8IUX5uu55K0VRYOP+2LYM1hhsIfGn9g 4HrMtuJNhU31w+4dcS1LRmI05vLfZ8YPQmUNQKTl+p+0sqnSXNfZZxbujfvUl448ZPE/ RlvrfuMh22ZtiUlyeWhzTAQ+tX4TqUVAY06GQv7w1cFJXJfatsGCX+s0JbJVB/UxCOL3 RHZGeAl3F4PMWuHxA2A1EB2MQheICCxKlrpri/3EbgkprgRhH5QdLYD4yB4NfLz3RyA/ ZnHA== X-Gm-Message-State: AOAM533xdywp/+MvbZsJhIJZa4BEKBTe6js+fpTxmuw+0/jkGpOwDG1Q L1st7/NGn+R3xyYFyeUjZDovRfsOM8reeQZscCU= X-Google-Smtp-Source: ABdhPJx4Uv/0xtaukydBuJJygDoJjY+hEvACEHSpEnh1rwGJuOzWLxTf4abt0ZMONUZIulu2mf9pFm5FMQatJgJzjPY= X-Received: by 2002:a92:190f:: with SMTP id 15mr12078202ilz.45.1625532106266; Mon, 05 Jul 2021 17:41:46 -0700 (PDT) MIME-Version: 1.0 References: <871r8cxzdj.wl-jch@irif.fr> <87wnq4wk3v.wl-jch@irif.fr> In-Reply-To: <87wnq4wk3v.wl-jch@irif.fr> From: Dave Taht Date: Mon, 5 Jul 2021 17:41:35 -0700 Message-ID: To: Juliusz Chroboczek Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 3FRX5EGNFB2CRERSXSME5PYQNVZ6ITG5 X-Message-ID-Hash: 3FRX5EGNFB2CRERSXSME5PYQNVZ6ITG5 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: yes a codel-ly approach would be helpful, but what stage of the pipeline is costing the most cpu? What I saw in another set of tests was context switching cost a lot and that perhaps recvmmsg and sendmmsg would help there. Still, when you run out of cpu, dropping whole frames would be good. you could interleave dropping a frame per sender perhaps? do we know what other sfus do? On Mon, Jul 5, 2021 at 2:01 PM Juliusz Chroboczek wrote: > > > Gal=C4=8Dne currently reacts badly to being out of CPU. I've tried to = design > > it so it would drop frames and keep the audio going, but I've failed. > > Just to be clear, I'm not looking at the load average or CPU utilisation, > since these measures are typically unreliable on modern CPUs (which vary > their speed dynamically) let alone on VMs. I need a quick way to answer > the following question: I've got this packet that I can drop without > corrupting the video, should I drop it or not. > > Timestamp the packets at ingress time and drop anything droppable that's > too old? Any other ideas? > > -- Julius --=20 Latest Podcast: https://www.linkedin.com/feed/update/urn:li:activity:6791014284936785920/ Dave T=C3=A4ht CTO, TekLibre, LLC