Date: Sat, 11 Apr 1998 00:56:46 -0700 (PDT) From: Thomas Dean <tomdean@ix.netcom.com> To: current@FreeBSD.ORG Subject: Emacs E-Mail Slow Message-ID: <199804110756.AAA04637@ix.netcom.com>
next in thread | raw e-mail | index | archive | help
I have been using Emacs 19.34.1 for E-Mail and general editing. After processing about a hundred messages and being on line for an hour, or so, things get very slow. Getting mail from /var/mqueue/* takes much longer than at startup. It takes 20 to 30 seconds to sort a hundred headers. Editing in another frame appears normal. If I save RMAIL, delete the buffer, and, read mail, things return to normal. It has been suggested that emacs may have a memory leak. The map starts at about 35 entries and rises to 45 entries. I have this same problem over several versions of -current. All xterms seem normal. The process is not swapping, the disk is not being accessed. Emacs appears to have 6M of swap. At least if I exit and restart emacs, swap usage changes by 6M. But, the disk is not making any noise and the accessed led is not on. I have attached the output from dmesg and top. dmesg: ================================ FreeBSD 3.0-CURRENT #5: Thu Apr 9 08:42:07 PDT 1998 root@celebris:/usr/src/sys/compile/CELEBRIS-SMP Timecounter "i8254" frequency 1193182 Hz cost 2524 ns CPU: Pentium (586-class CPU) Origin = "GenuineIntel" Id = 0x525 Stepping=5 Features=0x3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC> real memory = 33554432 (32768K bytes) avail memory = 30367744 (29656K bytes) FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00030010, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00030010, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x000f0011, at 0xfec00000 Probing for devices on PCI bus 0: chip0: <Intel 82434NX (Neptune) PCI cache memory controller> rev 0x11 on pci0.0.0 ncr0: <ncr 53c810 fast10 scsi> rev 0x02 int a irq 11 on pci0.1.0 ncr0: waiting for scsi devices to settle scbus0 at ncr0 bus 0 sd0 at scbus0 target 0 lun 0 sd0: <QUANTUM FIREBALL1080S 1Q09> type 0 fixed SCSI 2 sd0: Direct-Access sd0: 10.0 MB/s (100 ns, offset 8) 1042MB (2134305 512 byte sectors) sd1 at scbus0 target 1 lun 0 sd1: <QUANTUM FIREBALL ST3.2S 0F0C> type 0 fixed SCSI 2 sd1: Direct-Access sd1: 10.0 MB/s (100 ns, offset 8) 3090MB (6328861 512 byte sectors) sd2 at scbus0 target 2 lun 0 sd2: <QUANTUM EMPIRE_1080S 1240> type 0 fixed SCSI 2 sd2: Direct-Access sd2: 10.0 MB/s (100 ns, offset 8) 1029MB (2109376 512 byte sectors) cd0 at scbus0 target 5 lun 0 cd0: <TOSHIBA CD-ROM XM-5401TA 3605> type 5 removable SCSI 2 cd0: CD-ROM cd0: asynchronous. can't get the size chip1: <Intel 82378IB PCI to ISA bridge> rev 0x88 on pci0.2.0 vga0: <Matrox MGA 2064W graphics accelerator> rev 0x01 int a irq 9 on pci0.6.0 de0: <Digital 21041 Ethernet> rev 0x11 int a irq 10 on pci0.8.0 de0: DEC DE450-CA 21041 [10Mb/s] pass 1.1 de0: address 00:00:f8:02:76:db Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface psm0 at 0x60-0x64 irq 12 on motherboard psm0: model Generic PS/2 mouse, device ID 0 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in fd0: 1.44MB 3.5in npx0 on motherboard npx0: INT 16 interface Intel Pentium F00F detected, installing workaround APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via pin 2 SMP: AP CPU #1 Launched! ================================ top shows: last pid: 4401; load averages: 0.12, 0.05, 0.01 00:19:12 38 processes: 1 running, 37 sleeping CPU states: 11.0% user, 0.0% nice, 15.1% system, 0.4% interrupt, 73.6% idle Mem: 13M Active, 2128K Inact, 6736K Wired, 1300K Cache, 3506K Buf, 6572K Free Swap: 227M Total, 24M Used, 204M Free, 10% Inuse PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 259 tomdean 2 0 716K 708K select 1 0:16 4.62% 4.62% xterm 4401 tomdean 28 0 816K 752K CPU1 1 0:01 2.26% 1.98% top 181 root 2 0 5568K 5212K select 0 14:41 1.56% 1.56% XF86_SVGA 302 tomdean 2 0 5252K 4868K select 0 11:12 0.57% 0.57% emacs 162 root 2 0 436K 300K select 0 8:18 0.00% 0.00% ppp 266 tomdean 2 0 620K 448K select 0 0:21 0.00% 0.00% twm 279 tomdean 18 0 272K 352K pause 1 0:19 0.00% 0.00% fetchmail <snip> /proc/302/map has 44 entries. ======================================================== If I exit emacs and restart it, top shows: last pid: 4533; load averages: 0.12, 0.09, 0.02 00:30:13 37 processes: 1 running, 36 sleeping CPU states: 1.0% user, 0.0% nice, 1.4% system, 0.4% interrupt, 97.3% idle Mem: 11M Active, 3344K Inact, 6752K Wired, 2544K Cache, 3498K Buf, 6020K Free Swap: 227M Total, 18M Used, 209M Free, 8% Inuse PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 4526 tomdean 2 0 3012K 3808K select 0 0:03 2.24% 2.10% emacs 181 root 2 0 5568K 5792K select 0 14:57 1.98% 1.98% XF86_SVGA 4530 tomdean 28 0 816K 772K CPU1 0 0:00 1.29% 0.95% top 266 tomdean 2 0 620K 660K select 0 0:22 0.04% 0.04% twm 259 tomdean 2 0 716K 900K select 0 0:20 0.04% 0.04% xterm <snip> /proc/4526/map has 34 entries. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804110756.AAA04637>