Date: Thu, 15 May 2003 07:05:15 -0700 (MST) From: "Aaron" <aaron@justaaron.com> To: <freebsd-questions@freebsd.org> Subject: mail access to second disk slow Message-ID: <2527.204.32.196.16.1053007515.squirrel@webmail.pair.com>
next in thread | raw e-mail | index | archive | help
Mail access to my second disk is excruciatingly slow. Description and hand-wringing below. Any suggestions for other information to collect, or solutions? adTHANKSvance. === Brief setup and problem description: Dual boot, Windows2K on the entire "first" disk, FreeBSD 4.8 on the entire "second" disk. Both IDE disks are on the first controller; the second controller has the CD and zip disk. This is a personal workstation (Dell XPS R450), I don't serve anything outside my 2-workstation lan. I run imap-uw to access my stored email, so that I can change mail clients at will (I'm fickle), access my mail store whether W2K or *nix is running, and easily access stored mail from either machine on my lan. I keep my stored email on my W2K FAT partition on the first disk, so that I can access it from FreeBSD (and from Linux when I used that). Ob-irritating-newbie-statement: this works fine on W2K (using cygwin's imap-uw), and did work fine running Redhat 7.X through 8.X on the second disk. === problem details: Using imap-uw and either Mozilla 1.3 mail or pine, from freebsd, with the mail store configured to be on the other, "first" drive, I can list my *folders* fairly quickly, but opening a folder to list the messages takes minutes. I also configured pine to read the folders directly, rather than go through imap, and this is also slow (and not what I expected). However, I can cat or vim any message file stored on the w2k disk quick as a bunny. I copied the entire set of mail folders from the w2k disk over to the freebsd disk, and configured mozilla to get at them through imap. That also works quick as a bunny. Summary: - accessing mail on the freebsd disk through imap is acceptably quick - accessing mail on the w2k disk from bsd is unacceptably slow, whether through imap or "directly" as described above for pine - just accessing the mail files on the w2k disk as normal files, catting and editing, is acceptably quick. === setup details: bash-2.05b$ uname -a FreeBSD haiku.krelm.com 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr 3 13:07:15 GMT 2003 root@builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC i386 bash-2.05b$ telnet localhost 143 Trying 127.0.0.1... Connected to localhost.krelm.com. Escape character is '^]'. * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] localhost.krelm.com IMAP4rev1 2002.332 at Thu, 15 May 2003 07:46:09 -0600 (MDT) Note AUTH=LOGIN, this is a personal workstation. bash-2.05b$ mount /dev/ad1s1a on / (ufs, local) /dev/ad1s1f on /tmp (ufs, local, soft-updates) /dev/ad1s1g on /usr (ufs, local, soft-updates) /dev/ad1s1e on /var (ufs, local, soft-updates) procfs on /proc (procfs, local) /dev/ad0s1 on /w2k (msdos, local, noexec) The last line is the W2K disk. Here's the W2K line from /etc/fstab: /dev/ad0s1 /w2k msdos rw,-m=777,noexec 0 0 bash-2.05b$ dmesg Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.8-RELEASE #0: Thu Apr 3 13:07:15 GMT 2003 root@builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (448.05-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> real memory = 402653184 (393216K bytes) config> di bt0 config> di aic0 config> di aha0 config> di adv0 config> q avail memory = 386240512 (377188K bytes) Preloaded elf kernel "kernel" at 0xc051d000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc051d09c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00fdf30 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <NVidia Riva TNT graphics accelerator> at 0.0 irq 11 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 ATA33 controller> port 0x10a0-0x10af at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1080-0x109f irq 9 at device 7.2 on pci0 usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1: Texas Instruments UT-USB41 hub, class 9/0, rev 1.00/1.00, addr 2 uhub1: 4 ports with 4 removable, bus powered ugen0: hp hp scanjet 7400c, rev 1.00/0.01, addr 3 chip0: <Intel 82371AB Power management controller> port 0x7000-0x700f at device 7.3 on pci0 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x1000-0x107f mem 0xf4041000-0xf404107f irq 11 at device 13.0 on pci0 xl0: Ethernet address: 00:10:5a:aa:04:00 miibus0: <MII bus> on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: <unknown card> (vendor=0x11de, dev=0x6120) at 14.0 irq 10 pci0: <unknown card> (vendor=0x12eb, dev=0x0002) at 15.0 irq 9 orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xdc000-0xdffff,0xe4000-0xeffff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model MouseMan+, device ID 0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: IEEE1284 device found /NIBBLE/ECP Probing for PnP devices on ppbus0: ppbus0: <HEWLETT-PACKARD DESKJET 720C> SCP,VLINK plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 sio4: <U.S. Robotics 56K Voice INT> at port 0x2f8-0x307 irq 3 on isa0 sio4: type 16550A ad0: 16479MB <Maxtor 91728D8> [33483/16/63] at ata0-master UDMA33 ad1: 8011MB <Maxtor 88400D8> [16278/16/63] at ata0-slave UDMA33 acd0: CD-RW <SONY CD-RW CRX185E1> at ata1-master PIO4 afd0: 96MB <IOMEGA ZIP 100 ATAPI> [96/64/32] at ata1-slave PIO0 Mounting root from ufs:/dev/ad1s1a pcm0: <Aureal Vortex 8830> port 0x10b0-0x10b7,0x10b8-0x10bf mem 0xf4000000-0xf403ffff irq 9 at device 15.0 on pci0 -- Aaron aaron@justaaron.com www.justaaron.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2527.204.32.196.16.1053007515.squirrel>