From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Implementing image support for kitty terminal Date: Fri, 09 Sep 2022 15:53:12 +0300 Message-ID: <83edwkd807.fsf@gnu.org> References: <83v8pydl9a.fsf@gnu.org> <221cc6e0-ac45-cf03-6b17-c8c3798eebe3@gmail.com> <81f8b155-bc03-187d-2df1-9664374e890a@gmail.com> <83leqtetsk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5944"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, emacs-devel@gnu.org, jao@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 09 14:54:11 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oWdWM-0001Oq-J0 for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Sep 2022 14:54:10 +0200 Original-Received: from localhost ([::1]:34316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWdWL-00032v-NA for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Sep 2022 08:54:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWdVe-00022t-H2 for emacs-devel@gnu.org; Fri, 09 Sep 2022 08:53:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60390) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWdVd-0002Kj-Iz; Fri, 09 Sep 2022 08:53:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Vzt2UwVAFxPAPnsBshDTpRlZJv91xDjIGOnGl2i098Y=; b=R95amOmE2CPDhVrYSWRo cngtXswbDafvtx1HMTQs1zCRwjo0OlL1z6ksDiPYYFtrgORVmFDDHg+ODngb0mMDE0nxW6tLQRc75 VKQ7FV0uMhPOicpeeeeiGURqL6497nCtym58SUivhPqRMNOgv77f6+EMzeUdFjQ4mC+hlnjF/qnVq mrF5H03t8nAQg3KURlRRFX0dOWDWucqCBipQ33xkEoMQ7bUrt9vBO/GPdbWY9BklmMjgdx/a01/Ex 6vOyuiXNcEwyJx1ddweDE2XpnxoN6V2uNdChOwnIz2zX0/YEJx6kY0DNB07zEaOjCOSCKNOQVx9eM 7DY+ID5gCwaImQ==; Original-Received: from [87.69.77.57] (port=2176 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWdVd-0001D5-2i; Fri, 09 Sep 2022 08:53:25 -0400 In-Reply-To: (message from Stefan Monnier on Fri, 09 Sep 2022 08:19:44 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:295061 Archived-At: > From: Stefan Monnier > Cc: Gerd Möllmann , > emacs-devel@gnu.org, > jao@gnu.org > Date: Fri, 09 Sep 2022 08:19:44 -0400 > > >> Or even, do we still have terminals connected with, don't know, say 1200 > >> baud or some such? > > I don't think so, but we do have slow net links and ssh logins. > > I wonder how this interacts with our display optimizations, to be > honest: slow network connections tend to suffer mostly in terms of > "packets per second" rather than "bytes per second", so an optimization > makes a difference only if it changes the size of a display update > from N+1 packets to N packets (or fewer). > > E.g. when our display updates (counted in bytes and without frame-based > redisplay) fall below the "1 packet" limit (which I presume is around > 1.5kB), then using frame-based redisplay doesn't make any noticeable > difference to "ssh logins over congested/slow networks". The theory is well-understood, I think. What we need is measurements in various usage scenarios. Btw, slow/congested network suffer not only from packet per second issue, but also from packet loss.