* Emacs 24.0.94.1 slow to load on OS X
@ 2012-03-03 17:36 jreeseue
2012-03-03 18:31 ` Christopher Schmidt
` (2 more replies)
0 siblings, 3 replies; 17+ messages in thread
From: jreeseue @ 2012-03-03 17:36 UTC (permalink / raw)
To: Help-gnu-emacs
Hello, I am running OS X 10.7.3 with Emacs 24.0.94.1 and am experiencing a
fairly long time for emacs to load. My .emacs file looks like
(push "/usr/local/Cellar/emacs/HEAD/share/emacs/24.0.94/lisp" load-path)
(add-hook 'c-mode-hook 'turn-on-font-lock)
(show-paren-mode)
(setq make-backup-files nil) ;; do not make backup files
;;keyboard navigation
(define-key global-map (kbd "RET") 'newline-and-indent)
(global-set-key "\C-n"(lambda () (interactive) (next-line 5)))
(global-set-key "\C-p" (lambda () (interactive) (next-line -5)))
(global-set-key "\C-u" (lambda () (interactive) (next-line -1)))
(global-set-key "\C-o" (lambda () (interactive) (next-line 1)))
(setq auto-mode-alist (cons '("\\.tex$" . latex-mode) auto-mode-alist))
(setq tex-mode-hook
'(lambda ()(auto-fill-mode 1)))
(defun count-words-region (start end)
(interactive "r")
(save-excursion
(let ((n 0))
(goto-char start)
(while (< (point) end)
(if (forward-word 1)
(setq n (1+ n))))
(message "Region has %d words" n)
n)))
; hooks for text & latex modes
(add-hook 'text-mode-hook 'turn-on-auto-fill)
(add-hook (and 'tex-mode-hook 'text-mode-hook) 'flyspell-mode t
Additionally, occasionally when emacs opens a file the formatting is
completely different and some commands don't operate properly. I took this
.emacs file from my previous machine which was running emacs 23 and am
wondering if there is anything in here that could be causing these issues.
Thanks.
--
View this message in context: http://old.nabble.com/Emacs-24.0.94.1-slow-to-load-on-OS-X-tp33435127p33435127.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Emacs 24.0.94.1 slow to load on OS X
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
2 siblings, 1 reply; 17+ messages in thread
From: Christopher Schmidt @ 2012-03-03 18:31 UTC (permalink / raw)
To: help-gnu-emacs
jreeseue <jreeseue@gmail.com> writes:
> Hello, I am running OS X 10.7.3 with Emacs 24.0.94.1 and am experiencing a
> fairly long time for emacs to load. My .emacs file looks like
>
> (push "/usr/local/Cellar/emacs/HEAD/share/emacs/24.0.94/lisp" load-path)
>
>
> (add-hook 'c-mode-hook 'turn-on-font-lock)
> (show-paren-mode)
> (setq make-backup-files nil) ;; do not make backup files
> ;;keyboard navigation
> (define-key global-map (kbd "RET") 'newline-and-indent)
> (global-set-key "\C-n"(lambda () (interactive) (next-line 5)))
> (global-set-key "\C-p" (lambda () (interactive) (next-line -5)))
> (global-set-key "\C-u" (lambda () (interactive) (next-line -1)))
> (global-set-key "\C-o" (lambda () (interactive) (next-line 1)))
>
> (setq auto-mode-alist (cons '("\\.tex$" . latex-mode) auto-mode-alist))
>
> (setq tex-mode-hook
> '(lambda ()(auto-fill-mode 1)))
>
> (defun count-words-region (start end)
> (interactive "r")
> (save-excursion
> (let ((n 0))
> (goto-char start)
> (while (< (point) end)
> (if (forward-word 1)
> (setq n (1+ n))))
> (message "Region has %d words" n)
> n)))
>
> ; hooks for text & latex modes
> (add-hook 'text-mode-hook 'turn-on-auto-fill)
> (add-hook (and 'tex-mode-hook 'text-mode-hook) 'flyspell-mode t
I cannot reproduce your problem with GNU Emacs 24.0.94.1
(x86_64-unknown-linux-gnu, GTK+ Version 2.24.9) of 2012-03-01.
~$ time emacs -q -nw -f "save-buffers-kill-terminal"
real 0m0.053s
user 0m0.032s
sys 0m0.020s
~$ time emacs -q -nw -l /tmp/jreeseue.el -f "save-buffers-kill-terminal"
real 0m0.058s
user 0m0.040s
sys 0m0.016s
BTW. add-hook is a regular function and (and 'tex-mode-hook 'text-mode-hook) evaluates to 'text-mode-hook!
Christopher
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Emacs 24.0.94.1 slow to load on OS X
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:33 ` Peter Dyballa
2012-03-03 19:42 ` Peter Dyballa
2 siblings, 0 replies; 17+ messages in thread
From: Peter Dyballa @ 2012-03-03 19:33 UTC (permalink / raw)
To: jreeseue; +Cc: Help-gnu-emacs
Am 3.3.2012 um 18:36 schrieb jreeseue:
> (push "/usr/local/Cellar/emacs/HEAD/share/emacs/24.0.94/lisp" load-path)
What is this good for? (Still using Snow Leopard.)
--
Greetings
Pete
If it should exist, it doesn't.
– Arnold's First Law of Documentation
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Emacs 24.0.94.1 slow to load on OS X
2012-03-03 18:31 ` Christopher Schmidt
@ 2012-03-03 19:41 ` jreeseue
0 siblings, 0 replies; 17+ messages in thread
From: jreeseue @ 2012-03-03 19:41 UTC (permalink / raw)
To: Help-gnu-emacs
Thanks for the reply. Yes that line in the configuration file didn't make
sense. I've changed it to:
(add-hook 'text-mode-hook 'flyspell-mode t)
I did a test similar to yours to demonstrate the issue:
19:37@legolas:Variable.java -f "save-buffers-kill-terminal"
real 0m4.518s
user 0m0.138s
sys 0m0.028s
Christopher Schmidt-6 wrote:
>
> jreeseue <jreeseue@gmail.com> writes:
>
>> Hello, I am running OS X 10.7.3 with Emacs 24.0.94.1 and am experiencing
>> a
>> fairly long time for emacs to load. My .emacs file looks like
>>
>> (push "/usr/local/Cellar/emacs/HEAD/share/emacs/24.0.94/lisp" load-path)
>>
>>
>> (add-hook 'c-mode-hook 'turn-on-font-lock)
>> (show-paren-mode)
>> (setq make-backup-files nil) ;; do not make backup files
>> ;;keyboard navigation
>> (define-key global-map (kbd "RET") 'newline-and-indent)
>> (global-set-key "\C-n"(lambda () (interactive) (next-line 5)))
>> (global-set-key "\C-p" (lambda () (interactive) (next-line -5)))
>> (global-set-key "\C-u" (lambda () (interactive) (next-line -1)))
>> (global-set-key "\C-o" (lambda () (interactive) (next-line 1)))
>>
>> (setq auto-mode-alist (cons '("\\.tex$" . latex-mode) auto-mode-alist))
>>
>> (setq tex-mode-hook
>> '(lambda ()(auto-fill-mode 1)))
>>
>> (defun count-words-region (start end)
>> (interactive "r")
>> (save-excursion
>> (let ((n 0))
>> (goto-char start)
>> (while (< (point) end)
>> (if (forward-word 1)
>> (setq n (1+ n))))
>> (message "Region has %d words" n)
>> n)))
>>
>> ; hooks for text & latex modes
>> (add-hook 'text-mode-hook 'turn-on-auto-fill)
>> (add-hook (and 'tex-mode-hook 'text-mode-hook) 'flyspell-mode t
>
> I cannot reproduce your problem with GNU Emacs 24.0.94.1
> (x86_64-unknown-linux-gnu, GTK+ Version 2.24.9) of 2012-03-01.
>
> ~$ time emacs -q -nw -f "save-buffers-kill-terminal"
>
> real 0m0.053s
> user 0m0.032s
> sys 0m0.020s
>
> ~$ time emacs -q -nw -l /tmp/jreeseue.el -f "save-buffers-kill-terminal"
>
> real 0m0.058s
> user 0m0.040s
> sys 0m0.016s
>
> BTW. add-hook is a regular function and (and 'tex-mode-hook
> 'text-mode-hook) evaluates to 'text-mode-hook!
>
> Christopher
>
>
>
--
View this message in context: http://old.nabble.com/Emacs-24.0.94.1-slow-to-load-on-OS-X-tp33435127p33435621.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Emacs 24.0.94.1 slow to load on OS X
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:33 ` Peter Dyballa
@ 2012-03-03 19:42 ` Peter Dyballa
2012-03-03 19:46 ` jreeseue
2 siblings, 1 reply; 17+ messages in thread
From: Peter Dyballa @ 2012-03-03 19:42 UTC (permalink / raw)
To: jreeseue; +Cc: Help-gnu-emacs
Am 3.3.2012 um 18:36 schrieb jreeseue:
> experiencing a fairly long time for emacs to load
Do you have network problems? I think when launching the just built GNU Emacs from the src directory it does some network access, comes up with the fully qualified domain name in the title which must have come from DNS.
--
Greetings
Pete
What is this talk of 'release?' Klingons do not make software 'releases.' Our software 'escapes,' leaving a bloody trail of designers and quality assurance people in its wake.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Emacs 24.0.94.1 slow to load on OS X
2012-03-03 19:42 ` Peter Dyballa
@ 2012-03-03 19:46 ` jreeseue
2012-03-03 21:18 ` Peter Dyballa
0 siblings, 1 reply; 17+ messages in thread
From: jreeseue @ 2012-03-03 19:46 UTC (permalink / raw)
To: Help-gnu-emacs
Hmm...I'm not sure about the network issue. I've tried this both at my home
and at my University.
Peter Dyballa wrote:
>
>
> Am 3.3.2012 um 18:36 schrieb jreeseue:
>
>> experiencing a fairly long time for emacs to load
>
> Do you have network problems? I think when launching the just built GNU
> Emacs from the src directory it does some network access, comes up with
> the fully qualified domain name in the title which must have come from
> DNS.
>
> --
> Greetings
>
> Pete
>
> What is this talk of 'release?' Klingons do not make software 'releases.'
> Our software 'escapes,' leaving a bloody trail of designers and quality
> assurance people in its wake.
>
>
>
>
--
View this message in context: http://old.nabble.com/Emacs-24.0.94.1-slow-to-load-on-OS-X-tp33435127p33435638.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Emacs 24.0.94.1 slow to load on OS X
2012-03-03 19:46 ` jreeseue
@ 2012-03-03 21:18 ` Peter Dyballa
2012-03-03 21:27 ` jreeseue
0 siblings, 1 reply; 17+ messages in thread
From: Peter Dyballa @ 2012-03-03 21:18 UTC (permalink / raw)
To: jreeseue; +Cc: Help-gnu-emacs
Am 3.3.2012 um 20:46 schrieb jreeseue:
> Hmm...I'm not sure about the network issue.
What is this push command good for?
> I've tried this both at my home and at my University.
How did you try? Which command did you use from the command line? Did you also try with the -Q argument? The command 'emacs --help' can give some explanation.
--
Greetings
Pete
If it does exist, it's out of date.
– Arnold's Second Law of Documentation
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Emacs 24.0.94.1 slow to load on OS X
2012-03-03 21:18 ` Peter Dyballa
@ 2012-03-03 21:27 ` jreeseue
2012-03-03 21:52 ` Peter Dyballa
0 siblings, 1 reply; 17+ messages in thread
From: jreeseue @ 2012-03-03 21:27 UTC (permalink / raw)
To: Help-gnu-emacs
Thanks for the reply. I posted a couple tests in an earlier reply but here is
one with -Q:
21:21@legolas:emacs -Q ReturnClass.java -f "save-buffers-kill-terminal"
real 0m4.516s
user 0m0.130s
sys 0m0.023s
In addition I just did a broadband speed test and my download speed was
clocked at 11669 kbps any my upload speed was clocked at 35969 kbps.
Peter Dyballa wrote:
>
>
> Am 3.3.2012 um 20:46 schrieb jreeseue:
>
>> Hmm...I'm not sure about the network issue.
>
> What is this push command good for?
>
>> I've tried this both at my home and at my University.
>
> How did you try? Which command did you use from the command line? Did you
> also try with the -Q argument? The command 'emacs --help' can give some
> explanation.
>
> --
> Greetings
>
> Pete
>
> If it does exist, it's out of date.
> – Arnold's Second Law of Documentation
>
>
>
>
--
View this message in context: http://old.nabble.com/Emacs-24.0.94.1-slow-to-load-on-OS-X-tp33435127p33435970.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Emacs 24.0.94.1 slow to load on OS X
2012-03-03 21:27 ` jreeseue
@ 2012-03-03 21:52 ` Peter Dyballa
2012-03-03 22:19 ` jreeseue
0 siblings, 1 reply; 17+ messages in thread
From: Peter Dyballa @ 2012-03-03 21:52 UTC (permalink / raw)
To: jreeseue; +Cc: Help-gnu-emacs
Am 3.3.2012 um 22:27 schrieb jreeseue:
> In addition I just did a broadband speed test and my download speed was
> clocked at 11669 kbps any my upload speed was clocked at 35969 kbps.
How fast is DNS response? What is this push command in your init file good for? Did you try with --debug-init? Did look into the *Messages* buffer? While GNU Emacs launches so slow did you check with lsof which files and network connections it opens?
--
Greetings
Pete
With Capitalism man exploits man. With communism it's the exact opposite.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Emacs 24.0.94.1 slow to load on OS X
2012-03-03 21:52 ` Peter Dyballa
@ 2012-03-03 22:19 ` jreeseue
2012-03-03 23:29 ` Peter Dyballa
0 siblings, 1 reply; 17+ messages in thread
From: jreeseue @ 2012-03-03 22:19 UTC (permalink / raw)
To: Help-gnu-emacs
Not sure about DNS response (not terribly sure how to determine). I've taken
the push statement out of the init file. I've posted my current init file in
a previous post. I've closed all internet connections and run --debug init
and this is my *Messages* buffer:
("emacs" ".emacs")
For information about GNU Emacs and the GNU system, type C-h C-a.
I've also done a netstat to see what is going on connection wise:
22:10@legolas:$ netstat -a
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 c052160.wlan.net.53618 st11p01st-courie.5223
ESTABLISHED
tcp4 0 0 *.ssh *.* LISTEN
tcp6 0 0 *.ssh *.* LISTEN
tcp4 0 0 localhost.ipp *.* LISTEN
tcp6 0 0 localhost.ipp *.* LISTEN
udp4 0 0 c052160.wlan.net.ntp *.*
udp6 0 0 *.63559 *.*
udp4 0 0 *.63559 *.*
udp6 0 0 *.54947 *.*
udp4 0 0 *.54947 *.*
udp6 0 0 *.51715 *.*
udp4 0 0 *.51715 *.*
udp6 0 0 *.57985 *.*
udp4 0 0 *.57985 *.*
udp6 0 0 *.57943 *.*
udp4 0 0 *.57943 *.*
udp6 0 0 *.56289 *.*
udp4 0 0 *.56289 *.*
udp6 0 0 *.57602 *.*
udp4 0 0 *.57602 *.*
udp6 0 0 *.60944 *.*
udp4 0 0 *.60944 *.*
udp6 0 0 *.54815 *.*
udp4 0 0 *.54815 *.*
udp6 0 0 *.60870 *.*
udp4 0 0 *.60870 *.*
udp6 0 0 legolas.local.ntp *.*
udp4 0 0 *.* *.*
udp4 0 0 *.* *.*
udp6 0 0 localhost.ntp *.*
udp4 0 0 localhost.ntp *.*
udp6 0 0 localhost.ntp *.*
udp6 0 0 *.ntp *.*
udp4 0 0 *.ntp *.*
udp4 0 0 *.* *.*
udp4 0 0 *.* *.*
udp4 0 0 *.* *.*
udp4 0 0 *.* *.*
udp4 0 0 *.* *.*
udp6 0 0 *.mdns *.*
udp4 0 0 *.mdns *.*
udp4 0 0 *.* *.*
udp46 0 0 *.* *.*
udp4 0 0 *.netbios-dgm *.*
udp4 0 0 *.netbios-ns *.*
icm4 0 0 *.* *.*
icm6 0 0 *.* *.*
Active LOCAL (UNIX) domain sockets
Address Type Recv-Q Send-Q Inode Conn
Refs Nextref Addr
ffffff8014974af8 stream 0 0 0 ffffff8014359a30
0 0 /var/run/mDNSResponder
ffffff8014359a30 stream 0 0 0 ffffff8014974af8
0 0
ffffff8014973130 stream 0 0 0 ffffff8014973f40
0 0
ffffff8014973f40 stream 0 0 0 ffffff8014973130
0 0
ffffff8013b9c7d0 stream 0 0 0 ffffff8015a33960
0 0 /tmp/launchd-102.U1ReNX/sock
ffffff8015a33960 stream 0 0 0 ffffff8013b9c7d0
0 0
ffffff8014357ed8 stream 0 0 0 ffffff8014974e18
0 0
ffffff8014974e18 stream 0 0 0 ffffff8014357ed8
0 0
ffffff8014974bc0 stream 0 0 0 ffffff8015a333e8
0 0
ffffff8015a333e8 stream 0 0 0 ffffff8014974bc0
0 0
ffffff8015a33320 stream 0 0 0 ffffff80169514b8
0 0 /var/run/mDNSResponder
ffffff80169514b8 stream 0 0 0 ffffff8015a33320
0 0
ffffff8015a33ed8 stream 0 0 0 ffffff8015a33e10
0 0 /var/run/mDNSResponder
ffffff8015a33e10 stream 0 0 0 ffffff8015a33ed8
0 0
ffffff8015a35008 stream 0 0 0 ffffff8015a34db0
0 0
ffffff8015a34db0 stream 0 0 0 ffffff8015a35008
0 0
ffffff8015a33fa0 stream 0 0 0 ffffff8016951e18
0 0
ffffff8016951e18 stream 0 0 0 ffffff8015a33fa0
0 0
ffffff8015a354b8 stream 0 0 0 ffffff8015a349c8
0 0 /tmp/launchd-102.U1ReNX/sock
ffffff8015a349c8 stream 0 0 0 ffffff8015a354b8
0 0
ffffff80143577d0 stream 0 0 0 ffffff8016951968
0 0
ffffff8016951968 stream 0 0 0 ffffff80143577d0
0 0
ffffff8016951c88 stream 0 0 0 ffffff8015a337d0
0 0 /var/run/mDNSResponder
ffffff8015a337d0 stream 0 0 0 ffffff8016951c88
0 0
ffffff80149724b0 stream 0 0 0 ffffff8014359710
0 0 /var/run/mDNSResponder
ffffff8014359710 stream 0 0 0 ffffff80149724b0
0 0
ffffff8014358b58 stream 0 0 0 ffffff8015a34770
0 0
ffffff8015a34770 stream 0 0 0 ffffff8014358b58
0 0
ffffff8016951648 stream 0 0 0 ffffff8015a33708
0 0 /var/run/mDNSResponder
ffffff8015a33708 stream 0 0 0 ffffff8016951648
0 0
ffffff8016951bc0 stream 0 0 0 ffffff8015a33258
0 0
ffffff8015a33258 stream 0 0 0 ffffff8016951bc0
0 0
ffffff80143573e8 stream 0 0 0 ffffff80143586a8
0 0 /tmp/launchd-102.U1ReNX/sock
ffffff80143586a8 stream 0 0 0 ffffff80143573e8
0 0
ffffff8014359260 stream 0 0 0 ffffff8014359648
0 0
ffffff8014359648 stream 0 0 0 ffffff8014359260
0 0
ffffff8013b9c640 stream 0 0 0 ffffff8013b9c898
0 0
ffffff8013b9c898 stream 0 0 0 ffffff8013b9c640
0 0
ffffff8014972000 stream 0 0 0 ffffff8015a35328
0 0 /var/run/mDNSResponder
ffffff8015a35328 stream 0 0 0 ffffff8014972000
0 0
ffffff8015a34f40 stream 0 0 0 ffffff8014974a30
0 0
ffffff8014974a30 stream 0 0 0 ffffff8015a34f40
0 0
ffffff8015a34e78 stream 0 0 ffffff80163ed4d8 0
0 0
/var/folders/vt/hvgcc42n5md9_c94crkb1j9h0000gn/T/icssuis501
ffffff8014972578 stream 0 0 0 ffffff8014972708
0 0 /var/run/mDNSResponder
ffffff8014972708 stream 0 0 0 ffffff8014972578
0 0
ffffff80149723e8 stream 0 0 0 ffffff8015a35580
0 0
ffffff8015a35580 stream 0 0 0 ffffff80149723e8
0 0
ffffff8014972e10 stream 0 0 0 ffffff8014972ed8
0 0 /var/run/mDNSResponder
ffffff8014972ed8 stream 0 0 0 ffffff8014972e10
0 0
ffffff8015a353f0 stream 0 0 0 ffffff8015a35260
0 0 /var/run/usbmuxd
ffffff8015a35260 stream 0 0 0 ffffff8015a353f0
0 0
ffffff8014972320 stream 0 0 0 ffffff8014972960
0 0 /var/run/mDNSResponder
ffffff8014972960 stream 0 0 0 ffffff8014972320
0 0
ffffff8015a35af8 stream 0 0 0 ffffff8015a35c88
0 0
ffffff8015a35c88 stream 0 0 0 ffffff8015a35af8
0 0
ffffff80149727d0 stream 0 0 0 ffffff8015a35710
0 0 /var/run/mDNSResponder
ffffff8015a35710 stream 0 0 0 ffffff80149727d0
0 0
ffffff8014972190 stream 0 0 0 ffffff8014972258
0 0
ffffff8014972258 stream 0 0 0 ffffff8014972190
0 0
ffffff8014972af0 stream 0 0 0 ffffff8014972bb8
0 0
ffffff8014972bb8 stream 0 0 0 ffffff8014972af0
0 0
ffffff8014972c80 stream 0 0 0 ffffff8014972d48
0 0 /var/run/mDNSResponder
ffffff8014972d48 stream 0 0 0 ffffff8014972c80
0 0
ffffff8014972fa0 stream 0 0 0 ffffff8014973068
0 0 /var/run/mDNSResponder
ffffff8014973068 stream 0 0 0 ffffff8014972fa0
0 0
ffffff8014358a90 stream 0 0 0 ffffff8014358770
0 0 /var/run/mDNSResponder
ffffff8014358770 stream 0 0 0 ffffff8014358a90
0 0
ffffff80143582c0 stream 0 0 0 ffffff80143574b0
0 0
ffffff80143574b0 stream 0 0 0 ffffff80143582c0
0 0
ffffff8014357af0 stream 0 0 0 ffffff8014974968
0 0 /tmp/launchd-102.U1ReNX/sock
ffffff8014974968 stream 0 0 0 ffffff8014357af0
0 0
ffffff80149747d8 stream 0 0 0 ffffff80143589c8
0 0
ffffff80143589c8 stream 0 0 0 ffffff80149747d8
0 0
ffffff8014974648 stream 0 0 0 ffffff8014973388
0 0
ffffff8014973388 stream 0 0 0 ffffff8014974648
0 0
ffffff80149731f8 stream 0 0 0 ffffff8014974008
0 0
ffffff8014974008 stream 0 0 0 ffffff80149731f8
0 0
ffffff8014358068 stream 0 0 0 ffffff8014358130
0 0
ffffff8014358130 stream 0 0 0 ffffff8014358068
0 0
ffffff8014357190 stream 0 0 0 ffffff8014974198
0 0
ffffff8014974198 stream 0 0 0 ffffff8014357190
0 0
ffffff8014973518 stream 0 0 0 ffffff8014973838
0 0
ffffff8014973838 stream 0 0 0 ffffff8014973518
0 0
ffffff8014973b58 stream 0 0 0 ffffff8014358e78
0 0
ffffff8014358e78 stream 0 0 0 ffffff8014973b58
0 0
ffffff8014357708 stream 0 0 ffffff80152fec18 0
0 0 /tmp/launch-Oduf5X/org.x:0
ffffff8014357898 stream 0 0 ffffff80152fee08 0
0 0 /tmp/launch-z3ScC5/Listeners
ffffff8014973db0 stream 0 0 ffffff80152e4000 0
0 0 /tmp/launch-o8vgzk/Apple_Ubiquity_Message
ffffff8014358518 stream 0 0 ffffff80152e41f0 0
0 0 /tmp/launch-Gws4pO/Render
ffffff8014974260 stream 0 0 ffffff80152e47c0 0
0 0 /tmp/launchd-102.U1ReNX/sock
ffffff80143581f8 stream 0 0 0 ffffff8014358ce8
0 0
ffffff8014358ce8 stream 0 0 0 ffffff80143581f8
0 0
ffffff80143570c8 stream 0 0 0 ffffff8014357bb8
0 0
ffffff8014357bb8 stream 0 0 0 ffffff80143570c8
0 0
ffffff8014358388 stream 0 0 0 ffffff8014973900
0 0
ffffff8014973900 stream 0 0 0 ffffff8014358388
0 0
ffffff80149736a8 stream 0 0 0 ffffff80149739c8
0 0 /var/run/mDNSResponder
ffffff80149739c8 stream 0 0 0 ffffff80149736a8
0 0
ffffff80149740d0 stream 0 0 0 ffffff8014357a28
0 0
ffffff8014357a28 stream 0 0 0 ffffff80149740d0
0 0
ffffff8014974580 stream 0 0 0 ffffff8014973770
0 0 /var/run/mDNSResponder
ffffff8014973770 stream 0 0 0 ffffff8014974580
0 0
ffffff80149743f0 stream 0 0 0 ffffff80149744b8
0 0
ffffff80149744b8 stream 0 0 0 ffffff80149743f0
0 0
ffffff8014357258 stream 0 0 0 ffffff8014357320
0 0
ffffff8014357320 stream 0 0 0 ffffff8014357258
0 0
ffffff8014357578 stream 0 0 0 ffffff8014357640
0 0
ffffff8014357640 stream 0 0 0 ffffff8014357578
0 0
ffffff8014357d48 stream 0 0 0 ffffff8014357e10
0 0
ffffff8014357e10 stream 0 0 0 ffffff8014357d48
0 0
ffffff8014358838 stream 0 0 0 ffffff8014358900
0 0
ffffff8014358900 stream 0 0 0 ffffff8014358838
0 0
ffffff8014359198 stream 0 0 0 ffffff8014359328
0 0 /var/tmp/launchd/sock
ffffff8014359328 stream 0 0 0 ffffff8014359198
0 0
ffffff80143597d8 stream 0 0 0 ffffff80143598a0
0 0 /var/run/mDNSResponder
ffffff80143598a0 stream 0 0 0 ffffff80143597d8
0 0
ffffff80143593f0 stream 0 0 0 ffffff8014359580
0 0
ffffff8014359580 stream 0 0 0 ffffff80143593f0
0 0
ffffff8014359bc0 stream 0 0 0 ffffff8014359d50
0 0
ffffff8014359d50 stream 0 0 0 ffffff8014359bc0
0 0
ffffff8014359ee0 stream 0 0 ffffff8014352268 0
0 0 /var/run/pppconfd
ffffff8013b9c0c8 stream 0 0 0 ffffff8013b9c190
0 0
ffffff8013b9c190 stream 0 0 0 ffffff8013b9c0c8
0 0
ffffff8013b9c3e8 stream 0 0 0 ffffff8013b9c4b0
0 0
ffffff8013b9c4b0 stream 0 0 0 ffffff8013b9c3e8
0 0
ffffff8013b9c578 stream 0 0 0 ffffff8013b9d838
0 0 /var/tmp/launchd/sock
ffffff8013b9d838 stream 0 0 0 ffffff8013b9c578
0 0
ffffff8013b9ca28 stream 0 0 0 ffffff8013b9c960
0 0
ffffff8013b9c960 stream 0 0 0 ffffff8013b9ca28
0 0
ffffff8013b9cbb8 stream 0 0 0 ffffff8013b9caf0
0 0
ffffff8013b9caf0 stream 0 0 0 ffffff8013b9cbb8
0 0
ffffff8013b9cc80 stream 0 0 0 ffffff8013b9cd48
0 0
ffffff8013b9cd48 stream 0 0 0 ffffff8013b9cc80
0 0
ffffff8013b9ced8 stream 0 0 0 ffffff8013b9ce10
0 0 /var/tmp/launchd/sock
ffffff8013b9ce10 stream 0 0 0 ffffff8013b9ced8
0 0
ffffff8013b9d068 stream 0 0 0 ffffff8013b9cfa0
0 0
ffffff8013b9cfa0 stream 0 0 0 ffffff8013b9d068
0 0
ffffff8013b9d1f8 stream 0 0 0 ffffff8013b9d130
0 0
ffffff8013b9d130 stream 0 0 0 ffffff8013b9d1f8
0 0
ffffff8013b9d2c0 stream 0 0 0 ffffff8013b9d388
0 0
ffffff8013b9d388 stream 0 0 0 ffffff8013b9d2c0
0 0
ffffff8013b9d518 stream 0 0 0 ffffff8013b9d450
0 0 /var/tmp/launchd/sock
ffffff8013b9d450 stream 0 0 0 ffffff8013b9d518
0 0
ffffff8013b9d6a8 stream 0 0 0 ffffff8013b9d5e0
0 0
ffffff8013b9d5e0 stream 0 0 0 ffffff8013b9d6a8
0 0
ffffff8013b9d770 stream 0 0 0 ffffff8013b9d900
0 0
ffffff8013b9d900 stream 0 0 0 ffffff8013b9d770
0 0
ffffff8013b9d9c8 stream 0 0 0 ffffff8013b9da90
0 0
ffffff8013b9da90 stream 0 0 0 ffffff8013b9d9c8
0 0
ffffff8013b9db58 stream 0 0 0 ffffff8013b9e0d0
0 0 /var/run/mDNSResponder
ffffff8013b9e0d0 stream 0 0 0 ffffff8013b9db58
0 0
ffffff8013b9dc20 stream 0 0 ffffff8013f30550 0
0 0 /var/rpc/ncalrpc/wkssvc
ffffff8013b9dce8 stream 0 0 ffffff8013f30838 0
0 0 /var/rpc/ncacn_np/wkssvc
ffffff8013b9ddb0 stream 0 0 ffffff8013f30d10 0
0 0 /var/rpc/ncalrpc/srvsvc
ffffff8013b9e328 stream 0 0 ffffff8013f30f00 0
0 0 /var/rpc/ncacn_np/srvsvc
ffffff8013b9de78 stream 0 0 ffffff8013f050f8 0
0 0 /var/rpc/ncalrpc/NETLOGON
ffffff8013b9df40 stream 0 0 ffffff8013f052e8 0
0 0 /var/rpc/ncacn_np/mdssvc
ffffff8013b9e008 stream 0 0 ffffff8013f054d8 0
0 0 /var/rpc/ncalrpc/lsarpc
ffffff8013b9e198 stream 0 0 ffffff8013f058b8 0
0 0 /var/rpc/ncacn_np/lsarpc
ffffff8013b9e260 stream 0 0 0 ffffff8013b9e3f0
0 0
ffffff8013b9e3f0 stream 0 0 0 ffffff8013b9e260
0 0
ffffff8013b9e4b8 stream 0 0 0 ffffff8013b9e580
0 0
ffffff8013b9e580 stream 0 0 0 ffffff8013b9e4b8
0 0
ffffff8013b9e7d8 stream 0 0 ffffff8013ecaaa8 0
0 0 /var/tmp/launchd/sock
ffffff8013b9e8a0 stream 0 0 ffffff8013ecad90 0
0 0 /private/var/run/cupsd
ffffff8013b9e968 stream 0 0 ffffff8013ecae88 0
0 0 /var/run/usbmuxd
ffffff8013b9ea30 stream 0 0 ffffff8013ecaf80 0
0 0 /var/run/systemkeychaincheck.socket
ffffff8013b9ebc0 stream 0 0 ffffff8013ecb170 0
0 0 /var/run/asl_input
ffffff8013b9ec88 stream 0 0 ffffff8013ecb268 0
0 0 /var/run/portmap.socket
ffffff8013b9ed50 stream 0 0 ffffff8013ecb360 0
0 0 /var/run/vpncontrol.sock
ffffff8013b9eee0 stream 0 0 ffffff8013ecb648 0
0 0 /var/run/mDNSResponder
ffffff8013b9ee18 stream 0 0 ffffff8013ecb740 0
0 0 /var/run/com.apple.ActivityMonitor.socket
ffffff8014974c88 dgram 0 0 0 ffffff8013b9e648
ffffff8013b9e648 0
ffffff8013b9e648 dgram 0 0 0 ffffff8014974c88
ffffff8014974c88 0
ffffff8014972640 dgram 0 0 0 ffffff8013b9c708
ffffff8013b9c708 0
ffffff8013b9c708 dgram 0 0 0 ffffff8014972640
ffffff8014972640 0
ffffff8015a33d48 dgram 0 0 0 ffffff8015a357d8
ffffff8015a357d8 0
ffffff8015a357d8 dgram 0 0 0 ffffff8015a33d48
ffffff8015a33d48 0
ffffff8014972898 dgram 0 0 0 ffffff8014972a28
ffffff8014972a28 0
ffffff8014972a28 dgram 0 0 0 ffffff8014972898
ffffff8014972898 0
ffffff8015a35d50 dgram 0 0 0 ffffff8015a358a0
ffffff8015a358a0 0
ffffff8015a358a0 dgram 0 0 0 ffffff8015a35d50
ffffff8015a35d50 0
ffffff8015a35198 dgram 0 0 0 ffffff8015a35648
ffffff8015a35648 0
ffffff8015a35648 dgram 0 0 0 ffffff8015a35198
ffffff8015a35198 0
ffffff8014358f40 dgram 0 0 0 ffffff8014358db0
ffffff8014358db0 0
ffffff8014358db0 dgram 0 0 0 ffffff8014358f40
ffffff8014358f40 0
ffffff80149732c0 dgram 0 0 0 ffffff8014974ee0
ffffff8014974ee0 0
ffffff8014974ee0 dgram 0 0 0 ffffff80149732c0
ffffff80149732c0 0
ffffff8014974710 dgram 0 0 0 ffffff8014973a90
ffffff8014973a90 0
ffffff8014973a90 dgram 0 0 0 ffffff8014974710
ffffff8014974710 0
ffffff8014359008 dgram 0 0 0 ffffff80143590d0
ffffff80143590d0 0
ffffff80143590d0 dgram 0 0 0 ffffff8014359008
ffffff8014359008 0
ffffff8013b9c320 dgram 0 0 0 ffffff8013b9c258
ffffff8013b9c258 0
ffffff8013b9c258 dgram 0 0 0 ffffff8013b9c320
ffffff8013b9c320 0
ffffff8013b9eaf8 dgram 0 0 ffffff8013ecb078 0
0 0 /var/run/syslog
Peter Dyballa wrote:
>
>
> Am 3.3.2012 um 22:27 schrieb jreeseue:
>
>> In addition I just did a broadband speed test and my download speed was
>> clocked at 11669 kbps any my upload speed was clocked at 35969 kbps.
>
> How fast is DNS response? What is this push command in your init file good
> for? Did you try with --debug-init? Did look into the *Messages* buffer?
> While GNU Emacs launches so slow did you check with lsof which files and
> network connections it opens?
>
> --
> Greetings
>
> Pete
>
> With Capitalism man exploits man. With communism it's the exact opposite.
>
>
>
>
--
View this message in context: http://old.nabble.com/Emacs-24.0.94.1-slow-to-load-on-OS-X-tp33435127p33436129.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Emacs 24.0.94.1 slow to load on OS X
2012-03-03 22:19 ` jreeseue
@ 2012-03-03 23:29 ` Peter Dyballa
2012-03-04 15:42 ` jreeseue
0 siblings, 1 reply; 17+ messages in thread
From: Peter Dyballa @ 2012-03-03 23:29 UTC (permalink / raw)
To: jreeseue; +Cc: Help-gnu-emacs
Am 3.3.2012 um 23:19 schrieb jreeseue:
> Not sure about DNS response (not terribly sure how to determine).
Maybe 'time nslookup apple.com'? Or 'dig' or lookup with 'host -a' your NTP server with time.
> I've taken
> the push statement out of the init file. I've posted my current init file in
> a previous post. I've closed all internet connections and run --debug init
> and this is my *Messages* buffer:
> ("emacs" ".emacs")
> For information about GNU Emacs and the GNU system, type C-h C-a.
This looks very good. Although the correct invocation is 'emacs --debug-init'
>
> I've also done a netstat to see what is going on connection wise:
> 22:10@legolas:$ netstat -a
But this looks bad! It does not show the network connections related to GNU Emacs.
I have not really a good idea. It might bring some insight configuring and building GNU Emacs again, with that was found and enabled before now disabled via --without-<that configure option>. If this emacs is normal, fast launching, you can start to add/enable configure options one by one until one brings back that slowness. Then you'll have your first culprit.
--
Greetings
Pete
You can learn many things from children. How much patience you have, for instance.
– Franklin P. Jones
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Emacs 24.0.94.1 slow to load on OS X
2012-03-03 23:29 ` Peter Dyballa
@ 2012-03-04 15:42 ` jreeseue
2012-03-05 16:08 ` jreeseue
0 siblings, 1 reply; 17+ messages in thread
From: jreeseue @ 2012-03-04 15:42 UTC (permalink / raw)
To: Help-gnu-emacs
Well I've done a reinstall of Emacs and this seems, so far, to be working out
much better. The worst load time I've experienced since the reinstall is
.5s. Might have been something going on there. But I will post again if
there is trouble in the future. Thanks for your replies and help, I very
much appreciate it.
Peter Dyballa wrote:
>
>
> Am 3.3.2012 um 23:19 schrieb jreeseue:
>
>> Not sure about DNS response (not terribly sure how to determine).
>
> Maybe 'time nslookup apple.com'? Or 'dig' or lookup with 'host -a' your
> NTP server with time.
>
>> I've taken
>> the push statement out of the init file. I've posted my current init file
>> in
>> a previous post. I've closed all internet connections and run --debug
>> init
>> and this is my *Messages* buffer:
>> ("emacs" ".emacs")
>> For information about GNU Emacs and the GNU system, type C-h C-a.
>
> This looks very good. Although the correct invocation is 'emacs
> --debug-init'
>
>>
>> I've also done a netstat to see what is going on connection wise:
>> 22:10@legolas:$ netstat -a
>
> But this looks bad! It does not show the network connections related to
> GNU Emacs.
>
>
> I have not really a good idea. It might bring some insight configuring and
> building GNU Emacs again, with that was found and enabled before now
> disabled via --without-<that configure option>. If this emacs is normal,
> fast launching, you can start to add/enable configure options one by one
> until one brings back that slowness. Then you'll have your first culprit.
>
> --
> Greetings
>
> Pete
>
> You can learn many things from children. How much patience you have, for
> instance.
> – Franklin P. Jones
>
>
>
>
--
View this message in context: http://old.nabble.com/Emacs-24.0.94.1-slow-to-load-on-OS-X-tp33435127p33438629.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Emacs 24.0.94.1 slow to load on OS X
2012-03-04 15:42 ` jreeseue
@ 2012-03-05 16:08 ` jreeseue
2012-03-05 18:54 ` Peter Dyballa
0 siblings, 1 reply; 17+ messages in thread
From: jreeseue @ 2012-03-05 16:08 UTC (permalink / raw)
To: Help-gnu-emacs
Ah, so apparently this hasn't solved the problem. I reinstalled emacs 24 from
homebrew and was still experiencing slow load times. So, I downloaded emacs
23 and built it from the source with nox. I am still experiencing slow load
times, even with all the lines in my .emacs file commented out:
16:00@legolas:~$ time emacs .emacs -f "save-buffers-kill-terminal"
real 0m4.412s
user 0m0.032s
sys 0m0.011s
As per a pervious request:
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
If this is a network issue is there anything I can do about it? I was
running this same version of emacs (on the same wi-fi connections) on my
previous macbook pro which was running Snow Leopard and didn't experience
these issues. Any ideas?
jreeseue wrote:
>
> Well I've done a reinstall of Emacs and this seems, so far, to be working
> out much better. The worst load time I've experienced since the reinstall
> is .5s. Might have been something going on there. But I will post again if
> there is trouble in the future. Thanks for your replies and help, I very
> much appreciate it.
>
>
> Peter Dyballa wrote:
>>
>>
>> Am 3.3.2012 um 23:19 schrieb jreeseue:
>>
>>> Not sure about DNS response (not terribly sure how to determine).
>>
>> Maybe 'time nslookup apple.com'? Or 'dig' or lookup with 'host -a' your
>> NTP server with time.
>>
>>> I've taken
>>> the push statement out of the init file. I've posted my current init
>>> file in
>>> a previous post. I've closed all internet connections and run --debug
>>> init
>>> and this is my *Messages* buffer:
>>> ("emacs" ".emacs")
>>> For information about GNU Emacs and the GNU system, type C-h C-a.
>>
>> This looks very good. Although the correct invocation is 'emacs
>> --debug-init'
>>
>>>
>>> I've also done a netstat to see what is going on connection wise:
>>> 22:10@legolas:$ netstat -a
>>
>> But this looks bad! It does not show the network connections related to
>> GNU Emacs.
>>
>>
>> I have not really a good idea. It might bring some insight configuring
>> and building GNU Emacs again, with that was found and enabled before now
>> disabled via --without-<that configure option>. If this emacs is normal,
>> fast launching, you can start to add/enable configure options one by one
>> until one brings back that slowness. Then you'll have your first culprit.
>>
>> --
>> Greetings
>>
>> Pete
>>
>> You can learn many things from children. How much patience you have, for
>> instance.
>> – Franklin P. Jones
>>
>>
>>
>>
>
>
--
View this message in context: http://old.nabble.com/Emacs-24.0.94.1-slow-to-load-on-OS-X-tp33435127p33444508.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Emacs 24.0.94.1 slow to load on OS X
2012-03-05 16:08 ` jreeseue
@ 2012-03-05 18:54 ` Peter Dyballa
2012-03-05 21:04 ` jreeseue
0 siblings, 1 reply; 17+ messages in thread
From: Peter Dyballa @ 2012-03-05 18:54 UTC (permalink / raw)
To: jreeseue; +Cc: Help-gnu-emacs
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_________________
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Emacs 24.0.94.1 slow to load on OS X
2012-03-05 18:54 ` Peter Dyballa
@ 2012-03-05 21:04 ` jreeseue
2012-03-05 21:48 ` Peter Dyballa
0 siblings, 1 reply; 17+ messages in thread
From: jreeseue @ 2012-03-05 21:04 UTC (permalink / raw)
To: Help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Emacs 24.0.94.1 slow to load on OS X
2012-03-05 21:04 ` jreeseue
@ 2012-03-05 21:48 ` Peter Dyballa
2012-03-05 22:03 ` jreeseue
0 siblings, 1 reply; 17+ messages in thread
From: Peter Dyballa @ 2012-03-05 21:48 UTC (permalink / raw)
To: jreeseue; +Cc: Help-gnu-emacs
Am 5.3.2012 um 22:04 schrieb jreeseue:
> 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 :)
I have no idea, I'm not using Java that much. Hopefully others cn help here...
The performance data you sent looks quite good. Working with Java I can imagine that faulty Java code can easily use up a few GB of memory so that the system has to perform swapping. With 8 GB or RAM and 8 GB of swap a Mac gets slow. It's easy to feel, though I did not measure but reboot, which is faster than on this other OS...
The number of cache hits looks terribly bad! Although my system is up since three weeks it has exactly 0.0 % as well.
--
Greetings
Pete
_o o o o
_<< \\_/\_, \\_ \\_/\_,
(*)/(*) (*) (*) (*) `- (*)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Emacs 24.0.94.1 slow to load on OS X
2012-03-05 21:48 ` Peter Dyballa
@ 2012-03-05 22:03 ` jreeseue
0 siblings, 0 replies; 17+ messages in thread
From: jreeseue @ 2012-03-05 22:03 UTC (permalink / raw)
To: Help-gnu-emacs
Finally, I've gone back to emacs 22 and added this line to my .emacs:
(custom-set-faces
'(font-lock-comment-face
((((class color) (min-colors 8) (background light))
(:foreground "red")))))(add-hook 'java-mode-hook 'turn-on-font-lock)
Which has turned on comment highlighting for me and everything seems to be
running smoothly. Thanks again for all the help!
Josh
Peter Dyballa wrote:
>
>
> Am 5.3.2012 um 22:04 schrieb jreeseue:
>
>> 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 :)
>
> I have no idea, I'm not using Java that much. Hopefully others cn help
> here...
>
> The performance data you sent looks quite good. Working with Java I can
> imagine that faulty Java code can easily use up a few GB of memory so that
> the system has to perform swapping. With 8 GB or RAM and 8 GB of swap a
> Mac gets slow. It's easy to feel, though I did not measure but reboot,
> which is faster than on this other OS...
>
> The number of cache hits looks terribly bad! Although my system is up
> since three weeks it has exactly 0.0 % as well.
>
> --
> Greetings
>
> Pete
>
> _o o o o
> _<< \\_/\_, \\_ \\_/\_,
> (*)/(*) (*) (*) (*) `- (*)
>
>
>
>
--
View this message in context: http://old.nabble.com/Emacs-24.0.94.1-slow-to-load-on-OS-X-tp33435127p33447241.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2012-03-05 22:03 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2012-03-05 21:48 ` Peter Dyballa
2012-03-05 22:03 ` jreeseue
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).