* emacs 22 horribly slow over vpn/dsl
@ 2007-06-11 23:46 Mark Hood
2007-06-12 0:31 ` Mark Hood
0 siblings, 1 reply; 10+ messages in thread
From: Mark Hood @ 2007-06-11 23:46 UTC (permalink / raw)
To: help-gnu-emacs
Our IT department recently upgraded us to Emacs 22.1.1 sparc-sun-solaris2.8
GTK+ version 2.11.1.
I had been using Emacs 21.3 over a 1500/768 kbps DSL line through VPN to an X11
server running on Windows XP in my home office without a problem, but with the
new version, it's horribly slow. Startup takes forever, and C-v takes about 2
seconds.
It doesn't seem to be related to my .emacs customizations since running Emacs
22 with -q shows the same problem.
Unfortunately I no longer have access to Emacs 21. Before I grab the code and
build it myself, can anyone shed any insight into why Emacs 22 might be so slow
running from a Sparc/Solaris box through VPN and DSL to a XP box? It's never
been really swift with Emacs 21, but it was usable.
Thanks -- Mark
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs 22 horribly slow over vpn/dsl
2007-06-11 23:46 emacs 22 horribly slow over vpn/dsl Mark Hood
@ 2007-06-12 0:31 ` Mark Hood
2007-06-12 0:46 ` Mark Hood
2007-06-12 4:14 ` Tim X
0 siblings, 2 replies; 10+ messages in thread
From: Mark Hood @ 2007-06-12 0:31 UTC (permalink / raw)
To: help-gnu-emacs
Mark Hood <invalid@invalid.org> writes:
> I had been using Emacs 21.3 over a 1500/768 kbps DSL line through
> VPN to an X11 server running on Windows XP in my home office without
> a problem, but with the new version, it's horribly slow. Startup
> takes forever, and C-v takes about 2 seconds.
It looks like the vertical scrollbars are the culprit for the 2 sec
page scroll. I turned them off and Emacs became usable again.
Startup still takes forever though.
Apparently the GTK+ scrollbars in Emacs 22 are very heavyweight. The
Emacs 21 I was using was built with the X Toolkit scrollbars and it
works much better for remote X11 usage.
Interestingly, the -D and --basic-display startup options don't seem
to have any effect on the scrollbars; Emacs starts up with a
heavyweight display always.
I miss the lightweight scrollbars so I guess I'll have to build Emacs
22 or 21 myself. I'll probably stick with 21 since it seemed to start
much faster.
-- Mark
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs 22 horribly slow over vpn/dsl
2007-06-12 0:31 ` Mark Hood
@ 2007-06-12 0:46 ` Mark Hood
2007-06-12 4:16 ` Tim X
` (2 more replies)
2007-06-12 4:14 ` Tim X
1 sibling, 3 replies; 10+ messages in thread
From: Mark Hood @ 2007-06-12 0:46 UTC (permalink / raw)
To: help-gnu-emacs
Mark Hood <invalid@invalid.invalid> writes:
> Interestingly, the -D and --basic-display startup options don't seem
> to have any effect on the scrollbars; Emacs starts up with a
> heavyweight display always.
Well, apparently my .emacs was overriding the -D and --basic-display
options. They work with -q.
So the only problem I have with Emacs 22 is the slow startup on remote
X11 connections. Hopefully that will be resolved when I build my own
Emacs 22 with the X Toolkit and debug my .emacs a bit more.
I'll be glad when Emacs is finished :)
-- Mark
P.S. I'm using an Emacs 21 on a Linksys NSLU2 for Gnus until I get 22
working for me, so don't let the User-Agent tag fool you :)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs 22 horribly slow over vpn/dsl
2007-06-12 0:31 ` Mark Hood
2007-06-12 0:46 ` Mark Hood
@ 2007-06-12 4:14 ` Tim X
2007-06-13 20:53 ` Peter Lee
1 sibling, 1 reply; 10+ messages in thread
From: Tim X @ 2007-06-12 4:14 UTC (permalink / raw)
To: help-gnu-emacs
Mark Hood <invalid@invalid.invalid> writes:
> Mark Hood <invalid@invalid.org> writes:
>> I had been using Emacs 21.3 over a 1500/768 kbps DSL line through
>> VPN to an X11 server running on Windows XP in my home office without
>> a problem, but with the new version, it's horribly slow. Startup
>> takes forever, and C-v takes about 2 seconds.
>
> It looks like the vertical scrollbars are the culprit for the 2 sec
> page scroll. I turned them off and Emacs became usable again.
> Startup still takes forever though.
>
> Apparently the GTK+ scrollbars in Emacs 22 are very heavyweight. The
> Emacs 21 I was using was built with the X Toolkit scrollbars and it
> works much better for remote X11 usage.
>
> Interestingly, the -D and --basic-display startup options don't seem
> to have any effect on the scrollbars; Emacs starts up with a
> heavyweight display always.
>
> I miss the lightweight scrollbars so I guess I'll have to build Emacs
> 22 or 21 myself. I'll probably stick with 21 since it seemed to start
> much faster.
>
> -- Mark
You can build emacs 22 with the old X toolkit rather than GTK+, which should
give about the same performance as you had with emacs 21.
The other thing to consider would be to use one of the X compression utilities.
When I had to run X over a slow connection, I found this made the connection
very usable. I can't remember the exact name, but it was something like X
differential compression protocol (xdcp?) or something similar.
Tin
--
tcross (at) rapttech dot com dot au
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs 22 horribly slow over vpn/dsl
2007-06-12 0:46 ` Mark Hood
@ 2007-06-12 4:16 ` Tim X
2007-06-12 6:37 ` Mark Hood
2007-06-12 14:28 ` Stefan Monnier
2007-06-12 18:37 ` Kim F. Storm
2 siblings, 1 reply; 10+ messages in thread
From: Tim X @ 2007-06-12 4:16 UTC (permalink / raw)
To: help-gnu-emacs
Mark Hood <invalid@invalid.invalid> writes:
>
> I'll be glad when Emacs is finished :)
>
If you mean you'll be glad when emacs 22 is finish, well it is. It was released
last week.
Tim
--
tcross (at) rapttech dot com dot au
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs 22 horribly slow over vpn/dsl
2007-06-12 4:16 ` Tim X
@ 2007-06-12 6:37 ` Mark Hood
2007-06-12 20:23 ` Giorgos Keramidas
0 siblings, 1 reply; 10+ messages in thread
From: Mark Hood @ 2007-06-12 6:37 UTC (permalink / raw)
To: help-gnu-emacs
Tim X <timx@nospam.dev.null> writes:
> Mark Hood <invalid@invalid.invalid> writes:
> > I'll be glad when Emacs is finished :)
>
> If you mean you'll be glad when emacs 22 is finish, well it is. It was
> released last week.
Oh, I meant the final, complete, perfect version of Emacs that I'll never want
to upgrade from :)
-- Mark
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs 22 horribly slow over vpn/dsl
2007-06-12 0:46 ` Mark Hood
2007-06-12 4:16 ` Tim X
@ 2007-06-12 14:28 ` Stefan Monnier
2007-06-12 18:37 ` Kim F. Storm
2 siblings, 0 replies; 10+ messages in thread
From: Stefan Monnier @ 2007-06-12 14:28 UTC (permalink / raw)
To: help-gnu-emacs
> So the only problem I have with Emacs 22 is the slow startup on remote
> X11 connections. Hopefully that will be resolved when I build my own
> Emacs 22 with the X Toolkit and debug my .emacs a bit more.
Please send a M-x report-emacs-bug complaining about those problems.
Emacs-22 uses the X toolkit scrollbars by default (obviously your build
comes from a distribution which overrode this default) but Emacs-23 will
probably use Gtk by default, so we'd want to know about such problems.
Also maybe we can do something about the slow startup. I remember around
the Emacs-21.1 timeframe, a lot of optimization took place to reduce the
network-communication needed at startup, but I'm pretty sure we can do more.
> I'll be glad when Emacs is finished :)
Any day now,
Stefan
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs 22 horribly slow over vpn/dsl
2007-06-12 0:46 ` Mark Hood
2007-06-12 4:16 ` Tim X
2007-06-12 14:28 ` Stefan Monnier
@ 2007-06-12 18:37 ` Kim F. Storm
2 siblings, 0 replies; 10+ messages in thread
From: Kim F. Storm @ 2007-06-12 18:37 UTC (permalink / raw)
To: Mark Hood; +Cc: help-gnu-emacs
Mark Hood <invalid@invalid.invalid> writes:
> Mark Hood <invalid@invalid.invalid> writes:
>> Interestingly, the -D and --basic-display startup options don't seem
>> to have any effect on the scrollbars; Emacs starts up with a
>> heavyweight display always.
>
> Well, apparently my .emacs was overriding the -D and --basic-display
> options. They work with -q.
>
> So the only problem I have with Emacs 22 is the slow startup on remote
> X11 connections. Hopefully that will be resolved when I build my own
> Emacs 22 with the X Toolkit and debug my .emacs a bit more.
I have this in my .emacs:
(add-to-list 'default-frame-alist '(wait-for-wm . nil))
(add-to-list 'initial-frame-alist '(wait-for-wm . nil))
(modify-frame-parameters nil '((wait-for-wm . nil)))
--
Kim F. Storm http://www.cua.dk
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs 22 horribly slow over vpn/dsl
2007-06-12 6:37 ` Mark Hood
@ 2007-06-12 20:23 ` Giorgos Keramidas
0 siblings, 0 replies; 10+ messages in thread
From: Giorgos Keramidas @ 2007-06-12 20:23 UTC (permalink / raw)
To: help-gnu-emacs
On 11 Jun 2007 23:37:32 -0700, Mark Hood <invalid@invalid.org> wrote:
>Tim X <timx@nospam.dev.null> writes:
>>Mark Hood <invalid@invalid.invalid> writes:
>>> I'll be glad when Emacs is finished :)
>>
>> If you mean you'll be glad when emacs 22 is finish, well it is. It
>> was released last week.
>
> Oh, I meant the final, complete, perfect version of Emacs that I'll
> never want to upgrade from :)
Right... That will happen any millenium now :-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs 22 horribly slow over vpn/dsl
2007-06-12 4:14 ` Tim X
@ 2007-06-13 20:53 ` Peter Lee
0 siblings, 0 replies; 10+ messages in thread
From: Peter Lee @ 2007-06-13 20:53 UTC (permalink / raw)
To: help-gnu-emacs
>>>> Tim X writes:
> The other thing to consider would be to use one of the X compression utilities.
> When I had to run X over a slow connection, I found this made the connection
> very usable. I can't remember the exact name, but it was something like X
> differential compression protocol (xdcp?) or something similar.
lbxproxy (low bandwidth x proxy) is what I use... it seems to help a bit.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-06-13 20:53 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-11 23:46 emacs 22 horribly slow over vpn/dsl Mark Hood
2007-06-12 0:31 ` Mark Hood
2007-06-12 0:46 ` Mark Hood
2007-06-12 4:16 ` Tim X
2007-06-12 6:37 ` Mark Hood
2007-06-12 20:23 ` Giorgos Keramidas
2007-06-12 14:28 ` Stefan Monnier
2007-06-12 18:37 ` Kim F. Storm
2007-06-12 4:14 ` Tim X
2007-06-13 20:53 ` Peter Lee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).