From owner-freebsd-questions@FreeBSD.ORG Thu May 15 07:05:17 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C57637B401 for ; Thu, 15 May 2003 07:05:17 -0700 (PDT) Received: from wbm3.pair.net (wbm3.pair.net [209.68.3.66]) by mx1.FreeBSD.org (Postfix) with SMTP id B343D43F93 for ; Thu, 15 May 2003 07:05:16 -0700 (PDT) (envelope-from aaron@justaaron.com) Received: (qmail 1802 invoked by uid 65534); 15 May 2003 14:05:15 -0000 Received: from 204.32.196.16 ([204.32.196.16]) (SquirrelMail authenticated user aaron@justaaron.com) by webmail.pair.com with HTTP; Thu, 15 May 2003 07:05:15 -0700 (MST) Message-ID: <2527.204.32.196.16.1053007515.squirrel@webmail.pair.com> Date: Thu, 15 May 2003 07:05:15 -0700 (MST) From: "Aaron" To: X-pair-Authenticated: 204.32.196.16 X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.11) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: mail access to second disk slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 14:05:17 -0000 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 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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xf8000000-0xfbffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x10a0-0x10af at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1080-0x109f irq 9 at device 7.2 on pci0 usb0: 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: 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: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: (vendor=0x11de, dev=0x6120) at 14.0 irq 10 pci0: (vendor=0x12eb, dev=0x0002) at 15.0 irq 9 orm0: