unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs slow away from office
@ 2010-02-04 11:57 Mark Carter
  2010-02-04 13:06 ` jberdine
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Mark Carter @ 2010-02-04 11:57 UTC (permalink / raw)
  To: help-gnu-emacs

I have a works laptop containing GNU emacs 23.1.1. When I am at the
office, connected to our office network, emacs works at normal speed.
When I am at home, emacs takes a long time to load on the same laptop,
and is often generally unresponsive, with long pauses in its
operation. This happens consistently on every occasion. All my other
programs work normally, as expected.

What's going on?


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Emacs slow away from office
  2010-02-04 11:57 Emacs slow away from office Mark Carter
@ 2010-02-04 13:06 ` jberdine
  2010-02-04 13:18 ` Mark Carter
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: jberdine @ 2010-02-04 13:06 UTC (permalink / raw)
  To: help-gnu-emacs

Mark Carter <alt.mcarter@googlemail.com> writes:

> I have a works laptop containing GNU emacs 23.1.1. When I am at the
> office, connected to our office network, emacs works at normal speed.
> When I am at home, emacs takes a long time to load on the same laptop,
> and is often generally unresponsive, with long pauses in its
> operation. This happens consistently on every occasion. All my other
> programs work normally, as expected.
>
> What's going on?

To add to this, I am experiencing what could be the same issue with
23.1.50.1 (running on Windows 7).  For me, the unresponsiveness seems to
be directly related to operations that involve the file system,
visiting, saving, etc.  When out of the office, if I disconnect from all
networks, the delays disappear.

Cheers,  Josh


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Emacs slow away from office
  2010-02-04 11:57 Emacs slow away from office Mark Carter
  2010-02-04 13:06 ` jberdine
@ 2010-02-04 13:18 ` Mark Carter
  2010-02-04 20:52 ` Tim X
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Mark Carter @ 2010-02-04 13:18 UTC (permalink / raw)
  To: help-gnu-emacs

On 4 Feb, 11:57, Mark Carter <alt.mcar...@googlemail.com> wrote:
> I have a works laptop containing GNU emacs 23.1.1.

On Windows XP, BTW.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Emacs slow away from office
  2010-02-04 11:57 Emacs slow away from office Mark Carter
  2010-02-04 13:06 ` jberdine
  2010-02-04 13:18 ` Mark Carter
@ 2010-02-04 20:52 ` Tim X
  2010-02-04 22:08   ` Tyler Smith
       [not found]   ` <mailman.707.1265321374.14305.help-gnu-emacs@gnu.org>
  2010-02-05 19:52 ` Matthew L Daniel
       [not found] ` <mailman.771.1265399536.14305.help-gnu-emacs@gnu.org>
  4 siblings, 2 replies; 9+ messages in thread
From: Tim X @ 2010-02-04 20:52 UTC (permalink / raw)
  To: help-gnu-emacs

Mark Carter <alt.mcarter@googlemail.com> writes:

> I have a works laptop containing GNU emacs 23.1.1. When I am at the
> office, connected to our office network, emacs works at normal speed.
> When I am at home, emacs takes a long time to load on the same laptop,
> and is often generally unresponsive, with long pauses in its
> operation. This happens consistently on every occasion. All my other
> programs work normally, as expected.
>
> What's going on?

My first guess would be DNS or network related problems. In the past,
there have been reports of emacs becoming slow when the network wasn't
configured correctly. I would verify that when not connected to your
office network you can

1. Do DNS lookups OK and without delay.
2. That 'localhost' is correctly configured and resolves correctly. 
3. Check for valid resolv.conf
4. check validity of /etc/hosts

Tim

-- 
tcross (at) rapttech dot com dot au


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Emacs slow away from office
  2010-02-04 20:52 ` Tim X
@ 2010-02-04 22:08   ` Tyler Smith
       [not found]   ` <mailman.707.1265321374.14305.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 9+ messages in thread
From: Tyler Smith @ 2010-02-04 22:08 UTC (permalink / raw)
  To: help-gnu-emacs

Tim X <timx@nospam.dev.null> writes:

> Mark Carter <alt.mcarter@googlemail.com> writes:
>
>> I have a works laptop containing GNU emacs 23.1.1. When I am at the
>> office, connected to our office network, emacs works at normal speed.
>> When I am at home, emacs takes a long time to load on the same
>> laptop, and is often generally unresponsive, with long pauses in its
>> operation. This happens consistently on every occasion. All my other
>> programs work normally, as expected.
>>
>> What's going on?
>
> My first guess would be DNS or network related problems. In the past,
> there have been reports of emacs becoming slow when the network wasn't
> configured correctly. 

Out of curiosity, why would Emacs need to access the network during
general use, excepting the obvious cases of gnus and mail reading?

Thanks,

Tyler





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Emacs slow away from office
       [not found]   ` <mailman.707.1265321374.14305.help-gnu-emacs@gnu.org>
@ 2010-02-04 23:07     ` Tim X
  2010-02-05  0:59       ` Tyler Smith
  0 siblings, 1 reply; 9+ messages in thread
From: Tim X @ 2010-02-04 23:07 UTC (permalink / raw)
  To: help-gnu-emacs

Tyler Smith <tyler.smith@eku.edu> writes:

> Tim X <timx@nospam.dev.null> writes:
>
>> Mark Carter <alt.mcarter@googlemail.com> writes:
>>
>>> I have a works laptop containing GNU emacs 23.1.1. When I am at the
>>> office, connected to our office network, emacs works at normal speed.
>>> When I am at home, emacs takes a long time to load on the same
>>> laptop, and is often generally unresponsive, with long pauses in its
>>> operation. This happens consistently on every occasion. All my other
>>> programs work normally, as expected.
>>>
>>> What's going on?
>>
>> My first guess would be DNS or network related problems. In the past,
>> there have been reports of emacs becoming slow when the network wasn't
>> configured correctly. 

Without going through the code, I couldn't say. However, at a guess, it
probably depends a lot on how someone has their emacs configured and
what packages are loaded etc. Things which could be relevant include 

* SMTP server settings. Maybe emacs verifies server access when it
  starts?
* Tramp. I know for example that running ido-mode also loads tramp
  even if you don't visit a remote file system
* Emacs probably needs networking configured correctly to determine its
  hostname and to handle things like emacs server and daemon mode etc
* Many emacs packages and add ons rely on network services. Depending on
  when/how they are loaded could impact on what emacs is doing. 

Note that the FAQ and/or PROBLEMS file has an item regarding slow
startup etc which is due to misconfigured network settings and that this
is relevant even if the computer is not on a network.

Tim

-- 
tcross (at) rapttech dot com dot au


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Emacs slow away from office
  2010-02-04 23:07     ` Tim X
@ 2010-02-05  0:59       ` Tyler Smith
  0 siblings, 0 replies; 9+ messages in thread
From: Tyler Smith @ 2010-02-05  0:59 UTC (permalink / raw)
  To: help-gnu-emacs

Tim X <timx@nospam.dev.null> writes:

>
> Without going through the code, I couldn't say. However, at a guess, it
> probably depends a lot on how someone has their emacs configured and
> what packages are loaded etc. Things which could be relevant include 
>

Thanks, Tim!





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Emacs slow away from office
  2010-02-04 11:57 Emacs slow away from office Mark Carter
                   ` (2 preceding siblings ...)
  2010-02-04 20:52 ` Tim X
@ 2010-02-05 19:52 ` Matthew L Daniel
       [not found] ` <mailman.771.1265399536.14305.help-gnu-emacs@gnu.org>
  4 siblings, 0 replies; 9+ messages in thread
From: Matthew L Daniel @ 2010-02-05 19:52 UTC (permalink / raw)
  To: Mark Carter; +Cc: help-gnu-emacs

On 2:59 PM, Mark Carter wrote:
> I have a works laptop containing GNU emacs 23.1.1. When I am at the
> office, connected to our office network, emacs works at normal speed.
> When I am at home, emacs takes a long time to load on the same laptop,
> and is often generally unresponsive, with long pauses in its
> operation. This happens consistently on every occasion. All my other
> programs work normally, as expected.
>
> What's going on?
>

While you didn't mention what host OS you were using, it smells like a 
recent win32 problem I experienced.

This is the solution that Jason Rumney proposed, and it seems to have 
made a major improvement for me:

;;; From: Jason Rumney <jasonrumney@gmail.com>
;;; To: help-gnu-emacs@gnu.org
;;; Date: Wed, 23 Dec 2009 16:15:12 -0800 (PST)
;;; Subject: Re: occasional pause (or stutter) on win32 emacs 23.0.95
(setq w32-get-true-file-attributes nil)

If you want to read up on it, search the archives for "stutter".

   -- /v\atthew




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Emacs slow away from office
       [not found] ` <mailman.771.1265399536.14305.help-gnu-emacs@gnu.org>
@ 2010-02-10 10:50   ` Mark Carter
  0 siblings, 0 replies; 9+ messages in thread
From: Mark Carter @ 2010-02-10 10:50 UTC (permalink / raw)
  To: help-gnu-emacs

On 5 Feb, 19:52, Matthew L Daniel <mdan...@gmail.com> wrote:

> (setq w32-get-true-file-attributes nil)

Seems to have done the trick. Many thanks.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-02-10 10:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-04 11:57 Emacs slow away from office Mark Carter
2010-02-04 13:06 ` jberdine
2010-02-04 13:18 ` Mark Carter
2010-02-04 20:52 ` Tim X
2010-02-04 22:08   ` Tyler Smith
     [not found]   ` <mailman.707.1265321374.14305.help-gnu-emacs@gnu.org>
2010-02-04 23:07     ` Tim X
2010-02-05  0:59       ` Tyler Smith
2010-02-05 19:52 ` Matthew L Daniel
     [not found] ` <mailman.771.1265399536.14305.help-gnu-emacs@gnu.org>
2010-02-10 10:50   ` Mark Carter

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).