Re: Xft performance with XEmacs 21.5.28 on Mac OS 10.5
17 years, 1 month
William Gallafent
Well, I did a quick "Sampler" run.
I just pressed page up and page down a few times, and all the time
spent was redrawing the text on the screen.
This time is apparently being spent in "poll$UNIX2003" from _XRead <-
_XReply <- XQueryColor <- xft_convert_color, and "select
$DARWIN_EXTSN", from XtAppProcessEvent <- emacs_Xt_next_event.
Anybody know why this might be?
(There is a message with the actual Sampler run attached (24KB
zipped!) awaiting moderation ...)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
Xft performance with XEmacs 21.5.28 on Mac OS 10.5
17 years, 1 month
William Gallafent
Hi,
I recently built (using XCode 3.0 toolchain, on Mac OS X 1.05) XEmacs
21.5.28, targetting X11 with xft. My configure line was:
./configure --with-xft=emacs,tabs,menubars,gauges --with-mule --with-x
--x-includes=/usr/X11/include --x-libraries=/usr/X11/lib --with-error-
checking=none
This builds, installs, and runs well under Apple's X11 2.0, except for
one thing: font redraw is glacially slow! (This is on a 4x2.66GHz Mac
Pro...)
I found the thread titled "Xft performance" in the Apple X11-users
list, which was started by Eric Knauel on 2003-07-28 (!), but no
particular conclusion was reached there.
Since I'm seeing a significant performance problem here with the
latest Apple tools and hardware, I'm hoping that I can help to fix it
(either in XEmacs or in Apple's X11) by doing some diagnostics on this
machine to determine where the problem lies. XEmacs built in a similar
way running on e.g. stock Kubuntu 7.10, on significantly slower
hardware, does not exhibit this performance problem.
So, what information should I gather (this might be a good way to
learn my way around "Instruments"!)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
[Bug: 21.5-b28] dired *su/root@localhost* method error
17 years, 1 month
FKtPp
================================================================
Dear Bug Team!
I've encounter this on FreeBSD and Linux platform that capable of
doing su/root@localhost access. While I am about to open a file in
that mode, It complains
Bogus value for `default-process-coding-system'
Backtrace following:
# bind (standard-output stack-trace-on-signal debug-on-signal stack-trace-on-error debug-on-error)
# (unwind-protect ...)
signal(invalid-state ("Bogus value for `default-process-coding-system'" nil))
byte-code("..." [buf data kill-buffer signal] 3)
# bind (data number truename buf wildcards rawfile nowarn filename)
find-file-noselect("/[su/root(a)localhost]/etc/kernel-img.conf" nil nil nil)
# bind (wildcards codesys filename)
find-file("/[su/root(a)localhost]/etc/kernel-img.conf" nil)
# bind (coding-system)
dired-advertised-find-file(nil)
# bind (command-debug-status)
call-interactively(dired-advertised-find-file)
(dispatch-event "[internal]")
# (condition-case ... . error)
# (catch top-level ...)
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux debian.localdomain 2.6.22-3-amd64 #1 SMP Thu Oct 11 15:23:23 UTC 2007 x86_64 GNU/Linux
./configure '--with-xft=emacs,nomenubars,tabs,gauges' '--with-mule'
XEmacs 21.5-b28 "fuki" (+CVS-20071029) configured for `x86_64-unknown-linux'.
Compilation Environment and Installation Defaults:
Source code location: /home/fktpp/workspace/xemacs
Installation prefix: /usr/local
Operating system description file: `s/linux.h'
Not using any machine description file
Compiler version: gcc (GCC) 4.2.3 20071014 (prerelease) (Debian 4.2.2-3)
- GCC specs file: specs.
- Compiler command: gcc -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wunused-parameter -g
libc version: GNU libc 2.6.1-6 (Debian)
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Compiling in support for the X window system:
- X Windows headers location:
- X Windows libraries location:
- Handling WM_COMMAND properly.
- Using fontconfig to manage fonts.
- Compiling in support for Xft antialiased fonts (EXPERIMENTAL).
Using Lucid menubars.
Using Lucid scrollbars.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using raw Xlib to provide XIM support.
Mail:
Compiling in support for "file" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new GC mark algorithms (KKCC).
WARNING: ---------------------------------------------------------
WARNING: The new algorithms are experimental. They are enabled by
WARNING: default for this release. Use `--disable-kkcc' to
WARNING: turn it off.
WARNING: ---------------------------------------------------------
Using the new portable dumper.
Dumping into executable.
Compiling in support for extra debugging code.
Compiling in support for runtime error checking.
WARNING: ---------------------------------------------------------
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
Load-Path Lisp Shadows:
----------------------
(/usr/share/emacs/site-lisp/mercurial
/home/fktpp/.xemacs/xemacs-packages/lisp/vc/mercurial
/home/fktpp/.xemacs/mule-packages/lisp/mule-base/viet-util
/usr/local/share/xemacs-21.5-b28/lisp/mule/viet-util
/home/fktpp/.xemacs/mule-packages/lisp/mule-base/china-util
/usr/local/share/xemacs-21.5-b28/lisp/mule/china-util
/home/fktpp/.xemacs/mule-packages/lisp/mule-base/korea-util
/usr/local/share/xemacs-21.5-b28/lisp/mule/korea-util
/home/fktpp/.xemacs/mule-packages/lisp/mule-base/cyril-util
/usr/local/share/xemacs-21.5-b28/lisp/mule/cyril-util
/home/fktpp/.xemacs/mule-packages/lisp/mule-base/japan-util
/usr/local/share/xemacs-21.5-b28/lisp/mule/japan-util
/home/fktpp/.xemacs/mule-packages/lisp/mule-base/ethio-util
/usr/local/share/xemacs-21.5-b28/lisp/mule/ethio-util
/home/fktpp/.xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
/usr/local/share/xemacs-21.5-b28/lisp/regexp-opt
/home/fktpp/.xemacs/xemacs-packages/lisp/build/build-report
/usr/local/share/xemacs-21.5-b28/lisp/build-report
/home/fktpp/.xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode
/usr/local/share/xemacs-21.5-b28/lisp/easy-mmode)
Internationalization Settings:
-------------------------
Environment:
Value of LC_ALL : nil
Value of LC_COLLATE : nil
Value of LC_CTYPE : nil
Value of LC_MESSAGES : nil
Value of LC_MONETARY : nil
Value of LC_NUMERIC : nil
Value of LC_TIME : nil
Value of LANG : zh_CN.UTF-8
Lisp locale settings:
current-language-environment => "Chinese-GB (UTF-8)"
default-buffer-file-coding-system => utf-8
default-process-coding-system => (undecided . utf-8)
(current-locale) => "zh_CN.UTF-8"
keyboard-coding-system => utf-8
terminal-coding-system => utf-8
(coding-priority-list) =>
(utf-8 iso-8-2 big5 iso-7 utf-16-little-endian-bom utf-16-bom
utf-8-bom no-conversion iso-8-1 iso-8-designate iso-lock-shift
shift-jis utf-16-little-endian utf-16 ucs-4)
Coding system aliases:
'native is aliased to utf-8
'file-name is aliased to native
'mswindows-multibyte-system-default is not a coding system alias
Installed XEmacs Packages:
-------------------------
(xemacs-devel ver: 1.76 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.11 upstream: No-Upstream-Ver)
(view-process ver: 1.13 upstream: 2.4)
(vc ver: 1.45 upstream: No-Upstream-Ver)
(tramp ver: 1.39 upstream: 2.0.56)
(time ver: 1.14 upstream: 1.17)
(text-modes ver: 1.95 upstream: No-Upstream-Ver)
(texinfo ver: 1.3 upstream: No-Upstream-Ver)
(strokes ver: 1.1 upstream: No-Upstream-Ver)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sounds-au ver: 1.12 upstream: No-Upstream-Ver)
(sh-script ver: 1.22 upstream: 2.0f)
(sasl ver: 1.16 upstream: 1.14.4)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(python-modes ver: 1.09 upstream: No-Upstream-Ver)
(psgml ver: 1.45 upstream: 1.3.2)
(prog-modes ver: 2.14 upstream: No-Upstream-Ver)
(perl-modes ver: 1.1 upstream: No-Upstream-Ver)
(pcomplete ver: 1.04 upstream: 1.1.6)
(pcl-cvs ver: 1.68 upstream: R-2_9_9)
(os-utils ver: 1.4 upstream: No-Upstream-Ver)
(ocaml ver: 0.06 upstream: 3.06)
(net-utils ver: 1.53 upstream: N/A)
(mmm-mode ver: 1.02 upstream: 0.4.7)
(mail-lib ver: 1.79 upstream: No-Upstream-Ver)
(ispell ver: 1.32 upstream: 3.6)
(igrep ver: 1.15 upstream: 2.111)
(gnus ver: 1.91 upstream: 5.10.8)
(gnats ver: 1.17 upstream: 3.101)
(general-docs ver: 1.05 upstream: No-Upstream-Ver)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eterm ver: 1.17 upstream: No-Upstream-Ver)
(eshell ver: 1.12 upstream: 2.4.1)
(erc ver: 0.21 upstream: Version 5.1.2 Revision: 1.796.2.6)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(efs ver: 1.34 upstream: 1.24)
(edit-utils ver: 2.38 upstream: No-Upstream-Ver)
(ediff ver: 1.71 upstream: 2.75)
(edebug ver: 1.22 upstream: No-Upstream-Ver)
(ecrypto ver: 0.2 upstream: 2.0)
(easypg ver: 1.01 upstream: 0.0.15)
(dired ver: 1.17 upstream: 7.13)
(dictionary ver: 1.16 upstream: 1.8)
(debug ver: 1.18 upstream: No-Upstream-Ver)
(cc-mode ver: 1.45 upstream: 5.30.10)
(calendar ver: 1.34 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(build ver: 1.14 upstream: 2.02)
(bbdb ver: 1.32 upstream: 2.35)
(apel ver: 1.33 upstream: 10.6)
(mule-base ver: 1.52 upstream: No-Upstream-Ver)
Installed Modules:
-----------------
Features:
--------
(parse-time mail-extr gnus-msg gnus-art mm-uu mml2015 gpg mm-view
gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start
gnus-spec gnus-int gnus-range gnus-win message mml mml-sec mml-smime
smime dig mm-decode mm-bodies mm-encode mailcap mail-parse rfc2045
rfc2231 rfc2047 qp ietf-drums mail-abbrevs mailheader canlock sha1
hex-util gnus gnus-ems gnus-xmas messagexmas nnheader nnheaderxm
gnus-util netrc time-date mail-utils mm-util mail-prsvr xemacsbug
shadow sendmail rfc822 view-less view hyper-apropos tramp-ftp cus-edit
cus-load wid-edit apropos uudecode dired-faces dired-xemacs dired
passwd autoinsert info tramp-smb tramp efs-cu regexp-opt executable
advice advice-preload shell comint ring password format-spec
timer-funcs trampver lazy-shot font-lock time cus-face mwheel gnuserv
vc-hooks vc-xemacs cmake-mode china-util xemacs-devel-autoloads
xemacs-base-autoloads view-process-autoloads vc-autoloads
tramp-autoloads time-autoloads text-modes-autoloads texinfo-autoloads
strokes-autoloads sounds-wav-autoloads sounds-au-autoloads
sh-script-autoloads sasl-autoloads ruby-modes-autoloads
python-modes-autoloads psgml-autoloads prog-modes-autoloads
perl-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
os-utils-autoloads ocaml-autoloads net-utils-autoloads
mmm-mode-autoloads mail-lib-autoloads ispell-autoloads igrep-autoloads
gnus-autoloads gnats-autoloads general-docs-autoloads
fsf-compat-autoloads forms-autoloads footnote-autoloads
eterm-autoloads eshell-autoloads erc-autoloads emerge-autoloads
efs-autoloads edit-utils-autoloads ediff-autoloads edebug-autoloads
ecrypto-autoloads easypg-autoloads dired-autoloads
dictionary-autoloads debug-autoloads cc-mode-autoloads
calendar-autoloads calc-autoloads build-autoloads bbdb-autoloads
apel-autoloads mule-base-autoloads modules-autoloads mule-autoloads
auto-autoloads auto-show fontl-hooks canna-leim tibetan slovenian
czech romanian lao devanagari indian cyrillic code-cmds gutter-items
menubar-items x-menubar mode-motion mouse behavior itimer auto-save
lisp-mode easymenu easy-mmode iso8859-1 page buff-menu lib-complete
loadhist cus-file derived newcomment rsz-minibuf env text-props
fontconfig frame obsolete cus-start custom widget cl-extra cl cl-19
packages backquote unicode font-mgr lucid-scrollbars cut-buffer
xft-fonts lucid-menubars x c-balloon-help tty-frames tty toolbar
native-sound scrollbar unix-processes multicast network-streams
subprocesses modules menu-accelerator-support menubar berkeley-db md5
xemacs xim mule gutter tiff png gif jpeg xpm xbm lisp-float-type
file-coding linux devices window-system base64)
Recent keystrokes:
-----------------
p p p p p p p p p p p n n n n n n n p p p p p p p p
p p p p p p p p p p p p p p p p p n n p C-s k e r n
e l RET RET misc-user RET misc-user C-x o M-h C-g C-x
h M-w C-x C-b C-x o C-n C-n RET C-y M-x x e m TAB r
e TAB BS BS M-BS r e p o TAB t TAB BS r TAB TAB x e
m TAB RET
Recent messages (most recent first):
-----------------------------------
Loading mail-extr...done
Loading mail-extr...
Loading gnus-msg...done
Loading gnus-xmas...done
Loading gnus-xmas...
Loading gnus-msg...
Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
Making completion list...
Loading field...done
Loading field...
Invalid state: Bogus value for `default-process-coding-system', nil
tramp: Decoding remote file /[su/root(a)localhost]/etc/kernel-img.conf with function uudecode-decode-region...
tramp: Decoding remote file /[su/root@localhost]/etc/kernel-img.conf...
tramp: Encoding remote file /[su/root@localhost]/etc/kernel-img.conf...
Invalid state: Bogus value for `default-process-coding-system', nil
tramp: Decoding remote file /[su/root(a)localhost]/etc/kernel-img.conf with function uudecode-decode-region...
tramp: Decoding remote file /[su/root@localhost]/etc/kernel-img.conf...
tramp: Encoding remote file /[su/root@localhost]/etc/kernel-img.conf...
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta