From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 14 10:28:01 2011 Received: (at submit) by debbugs.gnu.org; 14 Mar 2011 14:28:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pz8kZ-000676-HO for submit@debbugs.gnu.org; Mon, 14 Mar 2011 10:28:00 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pz3B1-0001vF-H2 for submit@debbugs.gnu.org; Mon, 14 Mar 2011 04:30:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pz3Av-0002cW-Lb for submit@debbugs.gnu.org; Mon, 14 Mar 2011 04:30:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:45421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pz3Av-0002cQ-GS for submit@debbugs.gnu.org; Mon, 14 Mar 2011 04:30:49 -0400 Received: from [140.186.70.92] (port=59279 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pz3As-00011j-Ss for bug-gnu-emacs@gnu.org; Mon, 14 Mar 2011 04:30:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pz3Ar-0002bo-3T for bug-gnu-emacs@gnu.org; Mon, 14 Mar 2011 04:30:46 -0400 Received: from nsmail01.e.nsc.no ([148.123.0.197]:49737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pz3Aq-0002bX-O0 for bug-gnu-emacs@gnu.org; Mon, 14 Mar 2011 04:30:45 -0400 Received: from asol1.nm1.telenor.net (asol1.nm1.telenor.net [10.122.94.133]) by nsmail01.e.nsc.no (Postfix) with ESMTP id A591817966 for ; Mon, 14 Mar 2011 09:30:41 +0100 (MET) Received: by asol1.nm1.telenor.net (Postfix, from userid 174) id 82F3C1D8350; Mon, 14 Mar 2011 09:30:36 +0100 (CET) From: obh@telenor.net To: bug-gnu-emacs@gnu.org Subject: 23.2; Emacs 23.2 very slow over ssh when vertical-scroll-bar is enabled Date: Mon, 14 Mar 2011 09:30:36 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 14 Mar 2011 10:27:57 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) When vertical-scroll-bar is enabled on emacs 23.2 and used over ssh -X then switching buffers (^X ^B) takes several seconds. Likewise scrolling, changing windows etc. is very sluggish. I have a 12/5 Mbps cable line between work/home with usually 8-12ms ICMP rtt. Plenty of available bandwidth and CPU. Emacs feels a lot mot snappy and is usable when starting 'emacs -xrm '*verticalScrollBars: off'. I found the following (old) bug report in emacs bug database that probably describes this bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6429 When googling 'emacs ssh latency' there seems to be more people having this problem and the prevalent advise was to use use server fonts and not client fonts. I tried to compile emacs with '--without-xft' but with no visibly speedup. http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/8bf4914f3a7ae7e5 http://groups.google.com/group/gnu.emacs.help/browse_frm/thread/bd7e102326bec6b2/dd8706c921a0ef8c?tvc=1#dd8706c921a0ef8c Kind regards, Ole Bjorn Hessen --- In GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4) of 2011-03-03 on asol1.nm1.telenor.net Windowing system distributor `The X.Org Foundation', version 11.0.10707000 configured using `configure '--prefix=/local/net/arch/linux_x86_64/encap/emacs-23.2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: no_NO.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-b e C-x m q C-x k y e s C-x C-g M-x r e c p o r t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Commands: d, s, x, u; f, o, 1, 2, m, v; ~, %; q to quit; ? for help. Making completion list... Load-path shadows: /home/o/obh/emacs/cperl-mode hides /local/net/arch/linux_x86_64/encap/emacs-23.2/share/emacs/23.2/lisp/progmodes/cperl-mode Features: (shadow sort mail-extr emacsbug help-mode view message sendmail regexp-opt ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils warnings server compile comint ring tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process font-render-setting gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 14 21:40:28 2011 Received: (at 8248) by debbugs.gnu.org; 15 Mar 2011 01:40:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PzJFM-0000Qb-1i for submit@debbugs.gnu.org; Mon, 14 Mar 2011 21:40:28 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PzJFI-0000QM-VJ for 8248@debbugs.gnu.org; Mon, 14 Mar 2011 21:40:25 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhcGANZffk1FxIRf/2dsb2JhbACZB40GeMJShWIElUw X-IronPort-AV: E=Sophos;i="4.62,319,1297054800"; d="scan'208";a="96518723" Received: from 69-196-132-95.dsl.teksavvy.com (HELO pastel.home) ([69.196.132.95]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 14 Mar 2011 21:40:19 -0400 Received: by pastel.home (Postfix, from userid 20848) id 1676A58ED9; Mon, 14 Mar 2011 21:40:19 -0400 (EDT) From: Stefan Monnier To: obh@telenor.net Subject: Re: bug#8248: 23.2; Emacs 23.2 very slow over ssh when vertical-scroll-bar is enabled Message-ID: References: Date: Mon, 14 Mar 2011 21:40:19 -0400 In-Reply-To: (obh@telenor.net's message of "Mon, 14 Mar 2011 09:30:36 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 8248 Cc: 8248@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > When vertical-scroll-bar is enabled on emacs 23.2 and used over ssh -X > then switching buffers (^X ^B) takes several seconds. Likewise > scrolling, changing windows etc. is very sluggish. I have a 12/5 Mbps > cable line between work/home with usually 8-12ms ICMP rtt. Plenty of > available bandwidth and CPU. This will depend on the kind of vertical scollbars you're using. The bug-data you sent indicates you're using a Gtk build, so it may also depend on the theme you're using. Do you see similar problems when running other Gtk applications over this "ssh -X" tunnel? > When googling 'emacs ssh latency' there seems to be more people > having this problem and the prevalent advise was to use use server > fonts and not client fonts. I tried to compile emacs with I have no first hand knowledge of how server-side fonts compare to client-side fonts, but according the some influential X11 hacker, client-side fonts may actually be better because the bandwidth required to send the chars's bitmaps is not significantly higher than the font metrics that the client otherwise has to download from the server, but sending the bitmaps can be streamed and is latency tolerant whereas requesting the font metric tends to suffer from a lot of round-tripping. Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 17 18:57:25 2020 Received: (at 8248-done) by debbugs.gnu.org; 17 Jan 2020 23:57:25 +0000 Received: from localhost ([127.0.0.1]:40290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isbUS-0004kp-S8 for submit@debbugs.gnu.org; Fri, 17 Jan 2020 18:57:25 -0500 Received: from ted.gofardesign.uk ([67.225.143.91]:51906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isbUQ-0004ka-Ua for 8248-done@debbugs.gnu.org; Fri, 17 Jan 2020 18:57:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=5FRQlssb2ndfMOOAN1CW8Gl/It0qOTG9ywLvHkG3v4k=; b=TbUOKFvc1QX+wfaVSkSV57MmcP ar67NHojc17W6q+IsUTJzk9L7UDE1tye7IM8a3vXPgSkX53pz24gw8HrdXY+N+YeRap9k6W6bByS5 0crR/ZadqhJPpFtZZJzkGQ/FtecC8A57JrS6zw+XnB/YO/gCiDkRPxDLIn8ggZtmL+vm6eqN6ocD2 STW01El2MAOXnnW0OwyxnlGrLiKbKRctSBDuSaIQ9dveikfT799H1sHKvU/TOsMrlJhXLODFdwM1o wf3nbu0q+cWuJcN+jFotlrd5UXOP/R0b4eJ51/sezMQ293dFyLeegfDGcjsIJ68QW+7Dv5p1pIgyd SkCdUuLA==; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:56102 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1isbUK-001pmJ-Iz; Fri, 17 Jan 2020 18:57:16 -0500 From: Stefan Kangas To: Stefan Monnier Subject: Re: bug#8248: 23.2; Emacs 23.2 very slow over ssh when vertical-scroll-bar is enabled In-Reply-To: (Stefan Monnier's message of "Mon, 14 Mar 2011 21:40:19 -0400") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Date: Sat, 18 Jan 2020 00:57:13 +0100 Message-ID: <8736cd1vs6.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 8248-done Cc: obh@telenor.net, 8248-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Monnier writes: >> When vertical-scroll-bar is enabled on emacs 23.2 and used over ssh -X >> then switching buffers (^X ^B) takes several seconds. Likewise >> scrolling, changing windows etc. is very sluggish. I have a 12/5 Mbps >> cable line between work/home with usually 8-12ms ICMP rtt. Plenty of >> available bandwidth and CPU. > > This will depend on the kind of vertical scollbars you're using. > The bug-data you sent indicates you're using a Gtk build, so it may also > depend on the theme you're using. > > Do you see similar problems when running other Gtk applications over > this "ssh -X" tunnel? More information was requested, but none was given within 9 years, so I'm closing this bug. If this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. Best regards, Stefan Kangas From unknown Fri Aug 15 21:27:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 15 Feb 2020 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator