From xemacs-m  Thu Mar 20 15:51:06 1997
Received: from hubbub.cisco.com (mailgate-sj-1.cisco.com [198.92.30.31])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id PAA17641
	for <xemacs-beta@xemacs.org>; Thu, 20 Mar 1997 15:51:05 -0600 (CST)
Received: from sandman (sandman.cisco.com [171.68.209.51]) by hubbub.cisco.com (8.8.4-Cisco.1/CISCO.GATE.1.1) with ESMTP id NAA05377 for <xemacs-beta@xemacs.org>; Thu, 20 Mar 1997 13:50:36 -0800 (PST)
Received: (from drich@localhost) by sandman (SMI-8.6/8.6.12) id NAA20796 for xemacs-beta@xemacs.org; Thu, 20 Mar 1997 13:50:35 -0800
Date: Thu, 20 Mar 1997 13:50:35 -0800
From: Dan Rich <drich@cisco.com>
Message-Id: <199703202150.NAA20796@sandman>
To: xemacs-beta@xemacs.org
Subject: 20.1b8 slowness (again)

The slowness that I'm seeing in XEmacs 20.1 just got worse.  I just watched it
take over 5 minutes to decode a base64 message in VM (6.20).  Now, I have to
admit, it was a fairly large file (~580KB after decoding), but 5 min. is a 
*long* time to have your emacs process completely hung (and taking 90+% of the
CPU).

Here's what I'm seeing in truss.  Does this look reasonable to those of you
who know what it should be doing during the decode process?

    *** SGID: rgid/egid/sgid = 25 / 3 / 3  ***
getcontext(0xEFFFA0E0)
getcontext(0xEFFF9ED0)
getcontext(0xEFFF9A38)
getcontext(0xEFFF9A38)
write(12, "0212\00405\0\0 5\0\0 @\0".., 20)     = 20
    Received signal #22, SIGPOLL [caught]
      siginfo: SIGPOLL POLL_IN fd=0 band=0
setcontext(0xEFFF9E40)
read(12, "0101B0 .\0\0\0\00280\00E".., 32)      = 32
write(12, "0212\00405\0\0 5\0\0 @\0".., 20)     = 20
    Received signal #22, SIGPOLL [caught]
      siginfo: SIGPOLL POLL_IN fd=0 band=0
setcontext(0xEFFF9E40)
read(12, "0101B0 0\0\0\0\00280\00E".., 32)      = 32
ioctl(12, FIONREAD, 0xEFFF9904)                 = 0
getcontext(0xEFFFA0E0)
getcontext(0xEFFF9ED0)
getcontext(0xEFFF9A38)
getcontext(0xEFFF9A38)
write(12, "0212\00405\0\0 5\0\0 @\0".., 20)     = 20
    Received signal #22, SIGPOLL [caught]
      siginfo: SIGPOLL POLL_IN fd=0 band=0
setcontext(0xEFFF9E40)
read(12, "0101B0 2\0\0\0\00280\00E".., 32)      = 32
write(12, "0212\00405\0\0 5\0\0 @\0".., 20)     = 20
    Received signal #22, SIGPOLL [caught]
      siginfo: SIGPOLL POLL_IN fd=0 band=0
setcontext(0xEFFF9E40)
read(12, "0101B0 4\0\0\0\00280\00E".., 32)      = 32
ioctl(12, FIONREAD, 0xEFFF9904)                 = 0
getcontext(0xEFFFA0E0)
getcontext(0xEFFF9ED0)
getcontext(0xEFFF9A38)
getcontext(0xEFFF9A38)
write(12, "0212\00405\0\0 5\0\0 @\0".., 20)     = 20
    Received signal #22, SIGPOLL [caught]
      siginfo: SIGPOLL POLL_IN fd=0 band=0
setcontext(0xEFFF9E40)
read(12, "0101B0 6\0\0\0\00280\00E".., 32)      = 32
write(12, "0212\00405\0\0 5\0\0 @\0".., 20)     = 20
    Received signal #22, SIGPOLL [caught]
      siginfo: SIGPOLL POLL_IN fd=0 band=0
setcontext(0xEFFF9E40)
read(12, "0101B0 8\0\0\0\00280\00E".., 32)      = 32
ioctl(12, FIONREAD, 0xEFFF9904)                 = 0
getcontext(0xEFFFA0E0)
getcontext(0xEFFF9ED0)
getcontext(0xEFFF9A38)
getcontext(0xEFFF9A38)
write(12, "0212\00405\0\0 5\0\0 @\0".., 20)     = 20
    Received signal #22, SIGPOLL [caught]
      siginfo: SIGPOLL POLL_IN fd=0 band=0
setcontext(0xEFFF9E40)
read(12, "0101B0 :\0\0\0\00280\00E".., 32)      = 32


