From owner-freebsd-stable@FreeBSD.ORG Fri Dec 15 05:18:04 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25F3C16A4C2 for ; Fri, 15 Dec 2006 05:18:04 +0000 (UTC) (envelope-from kimimeister@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5AB143C9E for ; Fri, 15 Dec 2006 05:16:23 +0000 (GMT) (envelope-from kimimeister@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so657362uge for ; Thu, 14 Dec 2006 21:18:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Psir0QpfjVzGC5xbZCffl7QaI82DQxpoubPiyOs7lhpljti+PZ8loLQb97zMGhjAhevHYroYakXN9iCOwz7k3azonrCRxHCs4S/J06rxSMvxZXZzl9F7qH3n2QatgfjbCxVN8fCFwAS6ERDaS6bXEul7CyCLJQRF004pxmJPVbY= Received: by 10.67.89.5 with SMTP id r5mr308616ugl.1166159881987; Thu, 14 Dec 2006 21:18:01 -0800 (PST) Received: by 10.67.86.17 with HTTP; Thu, 14 Dec 2006 21:18:01 -0800 (PST) Message-ID: <42b497160612142118u283a590axe24cb7d5c8507491@mail.gmail.com> Date: Fri, 15 Dec 2006 05:18:01 +0000 From: "Kimi Ostro" To: "Jay Chandler" In-Reply-To: <45822C45.8010509@chapman.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <42b497160612142042g32003891j9330b930622c8e64@mail.gmail.com> <45822919.9030701@chapman.edu> <42b497160612142059h331b2206p8ee2aaf13588458@mail.gmail.com> <45822C45.8010509@chapman.edu> Cc: freebsd-stable@freebsd.org Subject: Re: Poor NFS performance after recent update X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2006 05:18:04 -0000 On 15/12/06, Jay Chandler wrote: > I do run statd and lockd, but let's keep it simple for now at first. > > My settings are similar, only the sole flag I have is rw-- if you remove > those flags, does the speed change at all? > no, still the same 20-60KBps that hovers about 30KBps. Doing a tcpdump did not reveal much: 04:06:02.160304 IP (tos 0x0, ttl 64, id 23123, offset 0, flags [none], proto: UDP (17), length: 152) client.2131922575 > fserver.nfs: 124 access fh 1107,752457/8932452 003f 04:06:02.160506 IP (tos 0x0, ttl 64, id 15711, offset 0, flags [none], proto: UDP (17), length: 148) fserver.nfs > client.2131922575: reply ok 120 access attr: REG 644 ids 1001/0 sz 9083425 nlink 1 rdev 45/35717136 fsid 59 fileid 884c64 a/m/ctime 1166154965.000000 1166039237.000000 1137328342.000000 c 001f 04:06:02.160540 IP (tos 0x0, ttl 64, id 23124, offset 0, flags [none], proto: UDP (17), length: 152) client.2131922576 > fserver.nfs: 124 access fh 1107,752457/8932452 003f 04:06:02.160660 IP (tos 0x0, ttl 64, id 15712, offset 0, flags [none], proto: UDP (17), length: 148) fserver.nfs > client.2131922576: reply ok 120 access attr: REG 644 ids 1001/0 sz 9083425 nlink 1 rdev 45/35717136 fsid 59 fileid 884c64 a/m/ctime 1166154965.000000 1166039237.000000 1137328342.000000 c 001f 04:06:02.160760 IP (tos 0x0, ttl 64, id 23125, offset 0, flags [none], proto: UDP (17), length: 160) client.2131922577 > fserver.nfs: 132 read fh 1107,752457/8932452 8192 bytes @ 0 04:06:02.160781 IP (tos 0x0, ttl 64, id 23126, offset 0, flags [none], proto: UDP (17), length: 160) client.2131922578 > fserver.nfs: 132 read fh 1107,752457/8932452 8192 bytes @ 8192 04:06:02.161204 IP (tos 0x0, ttl 64, id 15713, offset 0, flags [+], proto: UDP (17), length: 1500) fserver.nfs > client.2131922577: reply ok 1472 read REG 644 ids 1001/0 sz 9083425 nlink 1 rdev 45/35717136 fsid 59 fileid 884c64 a/m/ctime 1166154998.000000 1166039237.000000 1137328342.000000 8192 bytes 04:06:03.180538 IP (tos 0x0, ttl 64, id 23127, offset 0, flags [none], proto: UDP (17), length: 160) client.2131922577 > fserver.nfs: 132 read fh 1107,752457/8932452 8192 bytes @ 0 04:06:03.180985 IP (tos 0x0, ttl 64, id 15715, offset 0, flags [+], proto: UDP (17), length: 1500) fserver.nfs > client.2131922577: reply ok 1472 read REG 644 ids 1001/0 sz 9083425 nlink 1 rdev 45/35717136 fsid 59 fileid 884c64 a/m/ctime 1166154999.000000 1166039237.000000 1137328342.000000 8192 bytes 04:06:04.188613 IP (tos 0x0, ttl 64, id 23128, offset 0, flags [none], proto: UDP (17), length: 160) client.2131922578 > fserver.nfs: 132 read fh 1107,752457/8932452 8192 bytes @ 8192 04:06:04.189048 IP (tos 0x0, ttl 64, id 15716, offset 0, flags [+], proto: UDP (17), length: 1500) fserver.nfs > client.2131922578: reply ok 1472 read REG 644 ids 1001/0 sz 9083425 nlink 1 rdev 45/35717136 fsid 59 fileid 884c64 a/m/ctime 1166155000.000000 1166039237.000000 1137328342.000000 8192 bytes 04:06:07.224834 IP (tos 0x0, ttl 64, id 23129, offset 0, flags [none], proto: UDP (17), length: 160) client.2131922577 > fserver.nfs: 132 read fh 1107,752457/8932452 8192 bytes @ 0 04:06:07.225297 IP (tos 0x0, ttl 64, id 15717, offset 0, flags [+], proto: UDP (17), length: 1500) fserver.nfs > client.2131922577: reply ok 1472 read REG 644 ids 1001/0 sz 9083425 nlink 1 rdev 45/35717136 fsid 59 fileid 884c64 a/m/ctime 1166155003.000000 1166039237.000000 1137328342.000000 8192 bytes 04:06:12.265223 IP (tos 0x0, ttl 64, id 23130, offset 0, flags [none], proto: UDP (17), length: 160) client.2131922578 > fserver.nfs: 132 read fh 1107,752457/8932452 8192 bytes @ 8192 04:06:12.265665 IP (tos 0x0, ttl 64, id 15718, offset 0, flags [+], proto: UDP (17), length: 1500) fserver.nfs > client.2131922578: reply ok 1472 read REG 644 ids 1001/0 sz 9083425 nlink 1 rdev 45/35717136 fsid 59 fileid 884c64 a/m/ctime 1166155008.000000 1166039237.000000 1137328342.000000 8192 bytes 04:06:23.366067 IP (tos 0x0, ttl 64, id 23131, offset 0, flags [none], proto: UDP (17), length: 160) client.2131922577 > fserver.nfs: 132 read fh 1107,752457/8932452 8192 bytes @ 0 04:06:23.366554 IP (tos 0x0, ttl 64, id 15719, offset 0, flags [+], proto: UDP (17), length: 1500) fserver.nfs > client.2131922577: reply ok 1472 read REG 644 ids 1001/0 sz 9083425 nlink 1 rdev 45/35717136 fsid 59 fileid 884c64 a/m/ctime 1166155019.000000 1166039237.000000 1137328342.000000 8192 bytes I even tried TCP NFS and nothing. Here is a dmesg: Copyright (c) 1992-2006 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-PRERELEASE #0: Thu Dec 14 13:55:53 GMT 2006 root@fserver:/data/freebsd/obj/usr/src/sys/GENERIC ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Sempron(tm) Processor 2800+ (1607.34-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20fc2 Stepping = 2 Features=0x78bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x1 real memory = 268369920 (255 MB) avail memory = 253083648 (241 MB) ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff,0xcf0-0xcf3 on acpi0 pci0: on pcib0 agp0: mem 0xfc000000-0xfdffffff at device 0.0 on pci0 isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xfebff000-0xfebfffff irq 21 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ohci1: mem 0xfebfe000-0xfebfefff irq 22 at device 2.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 4 ports with 4 removable, self powered ehci0: mem 0xfebfd000-0xfebfd0ff irq 23 at device 2.2 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 8 ports with 8 removable, self powered atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfb00-0xfb0f at device 8.0 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xf600-0xf60f,0xf500-0xf57f irq 21 at device 10.0 on pci0 ata2: on atapci1 ata3: on atapci1 pcib1: at device 11.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci1: at device 0.1 (no driver attached) pcib2: at device 14.0 on pci0 pci2: on pcib2 fxp0: port 0xdf00-0xdf3f mem 0xfe9ff000-0xfe9fffff,0xfe800000-0xfe8fffff irq 18 at device 10.0 on pci2 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:90:27:a4:0f:2c acpi_tz0: on acpi0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] pmtimer0 on isa0 orm0: at iomem 0xc0000-0xccfff,0xd0000-0xd3fff,0xd4000-0xd4fff on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1607340639 Hz quality 800 Timecounters tick every 1.000 msec ad0: 3089MB at ata0-master UDMA33 ad2: 117800MB at ata1-master UDMA100 ad3: 117800MB at ata1-slave UDMA100 GEOM_LABEL: Label for provider ad2p1 is label/subdisk1. GEOM_LABEL: Label for provider ad3p1 is label/subdisk0. GEOM_MIRROR: Device data created (id=1293437608). GEOM_MIRROR: Device data: provider label/subdisk1 detected. GEOM_MIRROR: Device data: provider label/subdisk0 detected. GEOM_MIRROR: Device data: provider label/subdisk1 activated. GEOM_MIRROR: Device data: provider label/subdisk0 activated. GEOM_MIRROR: Device data: provider mirror/data launched. GEOM_LABEL: Label for provider mirror/data is label/data. Trying to mount root from ufs:/dev/ad0s2a > -- > Jay Chandler > Network Administrator, Chapman University > 714.628.7249 / chandler@chapman.edu > Today's Excuse: Processes running slowly due to weak power supply > > -- Kimi