all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jreeseue <jreeseue@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: Re: Emacs 24.0.94.1 slow to load on OS X
Date: Mon, 5 Mar 2012 13:04:47 -0800 (PST)	[thread overview]
Message-ID: <33446868.post@talk.nabble.com> (raw)
In-Reply-To: <B37526E3-B7AC-44F1-B890-3E87AF6B8C46@Web.DE>


So, as requested I've done a reboot, retested, and examined MenuMeters. What
I've found is that after a fresh reboot this is the time to open emacs:
20:56@legolas:~$ time emacs -Q -l /usr/share/emacs/22.1/site-lisp/subdirs.el
-f "save-buffers-kill-terminal"

real	0m1.546s
user	0m0.456s
sys	0m0.071s

This is the nslookup time:
20:57@legolas:~$ time nslookup apple.com
Server:		192.168.1.254
Address:	192.168.1.254#53

Non-authoritative answer:
Name:	apple.com
Address: 17.149.160.49
Name:	apple.com
Address: 17.172.224.47


real	0m0.071s
user	0m0.006s
sys	0m0.023s

All of this was gathered with the following memory information: 
Memory Usage:
1,833.3 MB used, 6,357.0 MB free, 8,190MB total
Memory Pages:
710.1MB active, 1,123.2MB wired
108.9MB inactive, 6,248.1MB free
VM Statistics:
42,361 pageins, 0 pageouts
21,222 cache lookups, 9 cache hits (0.0%)
1,083,315 page faults, 43,046 copy-on-writes
Swap Files:
1 encrypted swap file present in /private/var/vm
1 swap file at peak usage
64MB total swap space (0MB used)

As a side note, I haven't experienced any lag when using emacs 22. The only
reason I upgraded was because emacs 22 wasn't doing syntax highlighting on
comments in Java. If there is a easy way to change this I would happily go
back to emacs 22 hopefully bring this to an end :)

Thanks again for all your help!

Peter Dyballa wrote:
> 
> 
> Am 5.3.2012 um 17:08 schrieb jreeseue:
> 
>> 16:00@legolas:~$ time nslookup apple.com
>> Server:		129.215.70.239
>> Address:	129.215.70.239#53
>> 
>> Non-authoritative answer:
>> Name:	apple.com
>> Address: 17.149.160.49
>> Name:	apple.com
>> Address: 17.172.224.47
>> 
>> 
>> real	0m1.018s
>> user	0m0.009s
>> sys	0m0.005s
> 
> 
> No, that's probably not a network problem! The user and system times are
> as short as one would assume. The issue is with the real time used, from
> pressing RET until some text appeared on screen. This time is 1 sec too
> long, i.e., by a factor of 70.
> 
> Could be you're missing some GB of RAM and your Mac is constantly
> swapping. Little tools like MenuMeters or iStat menus could display in the
>  menu bar what's going on. In /private/var/vm the system stores the swap
> files. An easy check is to reboot your Mac, not opening any unnecessary
> applications, and then launching GNU Emacs.
> 
> 
> Launching GNU Emacs your way is not the correct way. Check fast with
> 'emacs --help'! Instead of
> 
> 	emacs .emacs -f "save-buffers-kill-terminal"
> 
> you could use
> 
> 	emacs -q -l <some file with ELisp code> -f "save-buffers-kill-terminal"
> 
> or
> 
> 	emacs -Q -l <some file with ELisp code> -f "save-buffers-kill-terminal"
> 
> 
> --
> Greetings
>                                  <]
>   Pete       o        __o         |__    o           recumbo
>     ___o    /I       -\<,         |o \  -\),-%       ergo sum!
> ___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________
> 
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Emacs-24.0.94.1-slow-to-load-on-OS-X-tp33435127p33446868.html
Sent from the Emacs - Help mailing list archive at Nabble.com.




  reply	other threads:[~2012-03-05 21:04 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-03 17:36 Emacs 24.0.94.1 slow to load on OS X jreeseue
2012-03-03 18:31 ` Christopher Schmidt
2012-03-03 19:41   ` jreeseue
2012-03-03 19:33 ` Peter Dyballa
2012-03-03 19:42 ` Peter Dyballa
2012-03-03 19:46   ` jreeseue
2012-03-03 21:18     ` Peter Dyballa
2012-03-03 21:27       ` jreeseue
2012-03-03 21:52         ` Peter Dyballa
2012-03-03 22:19           ` jreeseue
2012-03-03 23:29             ` Peter Dyballa
2012-03-04 15:42               ` jreeseue
2012-03-05 16:08                 ` jreeseue
2012-03-05 18:54                   ` Peter Dyballa
2012-03-05 21:04                     ` jreeseue [this message]
2012-03-05 21:48                       ` Peter Dyballa
2012-03-05 22:03                         ` jreeseue

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=33446868.post@talk.nabble.com \
    --to=jreeseue@gmail.com \
    --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.