all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Why is Emacs so slow when used remotely?
Date: Fri, 24 Sep 2010 00:50:32 +0200	[thread overview]
Message-ID: <jwvbp7o84hv.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: 87d3s6s1y3.fsf@lola.goethe.zz

>> This is not useful, if you only work with text.  The X protocol is not
>> significantly worse than any other terminal protocol to send over text.
> Font rendering/antialiasing/composition nowadays happens mostly at the
> client side if I am not mistaken.  That makes the X protocol much worse
> even with text.

Apparently it doesn't have to be that way: client-side rendering
requires sending pixmaps to the server, whereas server-side rendering
requires sending font-metadata to the client.  Depending on the
particular situation either one can be faster than the other.

Apparently, if the pixmaps get appropriately cached, the amount of data
in either case, for some mythical "typical" situation, has been measured
to be comparable, while the client-side rendering benefits from the fact
the sending pixmaps to the server is much more latency-tolerant than
querying font metadata, which requires a lot round-tripping.
It sounded very counter-intuitive to me, but it came from some USENIX
article by one of the head X guys, IIRC.


        Stefan


  parent reply	other threads:[~2010-09-23 22:50 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-20 23:20 Why is Emacs so slow when used remotely? Russ P.
2010-09-21  1:40 ` despen
2010-09-21 18:29   ` Russ P.
2010-09-21 18:53     ` Thorsten Bonow
2010-09-21 21:19       ` despen
2010-09-21 21:23     ` despen
2010-09-21 22:12     ` Tim X
2010-09-21 22:31       ` Pascal J. Bourguignon
2010-09-22  6:54         ` David Kastrup
2010-09-22 13:05           ` Pascal J. Bourguignon
2010-09-22 13:25             ` David Kastrup
2010-09-22 13:41               ` Pascal J. Bourguignon
2010-09-22 22:33             ` Tim X
2010-09-23 22:50           ` Stefan Monnier [this message]
2010-09-21 22:19     ` David Kastrup
2010-09-22 21:56     ` Andrea Venturoli
2010-09-23 22:54       ` Stefan Monnier
2010-09-24 15:48       ` Giacomo Boffi
2010-09-24 18:01         ` despen
2010-09-23 22:44     ` Stefan Monnier
2010-09-24  2:29       ` despen
2013-11-15 15:47   ` mgrojo
2013-11-15 22:24     ` Bob Proulx
2013-11-15 22:58       ` Drew Adams
2013-11-15 23:30         ` Bob Proulx
2013-11-21 20:13       ` Manuel Gómez
2013-11-21 21:39         ` Bob Proulx
2013-11-27 17:58         ` Ken Goldman
2013-11-27 23:16           ` Peter Dyballa
2013-11-28  2:34             ` Bob Proulx
2013-11-28 11:35               ` Peter Dyballa
2013-11-28 19:48                 ` Bob Proulx
2013-11-28 21:53                   ` Peter Dyballa
2013-11-29 18:56                     ` Bob Proulx
2013-11-30 15:23                       ` Perry Smith
2013-11-30 23:03                         ` Peter Dyballa
2013-12-01 15:41                           ` Perry Smith
2013-11-28  4:11         ` Stefan Monnier
     [not found]       ` <mailman.6780.1385064830.10748.help-gnu-emacs@gnu.org>
2013-11-24 16:17         ` Kenneth Jacker
2013-11-24 20:02           ` Manuel Gómez
     [not found]     ` <mailman.6297.1384554313.10748.help-gnu-emacs@gnu.org>
2013-11-16  2:13       ` Dan Espen
2010-09-22 10:44 ` Uday Reddy
     [not found] ` <306c0aac-97e2-47b4-bf63-afe247dea2b3@u13g2000vbo.googlegroups.com>
2010-09-23 22:06   ` Tim X
2010-09-24 15:45 ` Giacomo Boffi
2010-09-24 22:32   ` Russ P.
2010-09-25  0:39     ` Tim X
2010-09-27 13:30     ` Giacomo Boffi
2010-09-27 21:11       ` Stefan Monnier
2010-09-27 21:16         ` Giacomo Boffi
2010-09-27 23:01           ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2010-09-21 22:32 Russ P.

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvbp7o84hv.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.