Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2006 05:18:01 +0000
From:      "Kimi Ostro" <kimimeister@gmail.com>
To:        "Jay Chandler" <chandler@chapman.edu>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Poor NFS performance after recent update
Message-ID:  <42b497160612142118u283a590axe24cb7d5c8507491@mail.gmail.com>
In-Reply-To: <45822C45.8010509@chapman.edu>
References:  <42b497160612142042g32003891j9330b930622c8e64@mail.gmail.com> <45822919.9030701@chapman.edu> <42b497160612142059h331b2206p8ee2aaf13588458@mail.gmail.com> <45822C45.8010509@chapman.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 15/12/06, Jay Chandler <chandler@chapman.edu> 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: <Nvidia AWRDACPI>
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  Features2=0x1<SSE3>
  AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow>
  AMD Features2=0x1<LAHF>
real memory  = 268369920 (255 MB)
avail memory = 253083648 (241 MB)
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <Nvidia AWRDACPI> 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: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0xcf0-0xcf3 on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <NVIDIA nForce3-250 AGP Controller> mem 0xfc000000-0xfdffffff at
device 0.0 on pci0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <NVIDIA nForce3 250 USB 2.0 controller> 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: <NVIDIA nForce3 250 USB 2.0 controller> 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: <nVidia nForce3 Pro UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfb00-0xfb0f at device 8.0 on
pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <nVidia nForce3 Pro SATA150 controller> port
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xf600-0xf60f,0xf500-0xf57f
irq 21 at device 10.0 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
pcib1: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci1: <display> at device 0.1 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 14.0 on pci0
pci2: <ACPI PCI bus> on pcib2
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xdf00-0xdf3f mem
0xfe9ff000-0xfe9fffff,0xfe800000-0xfe8fffff irq 18 at device 10.0 on
pci2
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:90:27:a4:0f:2c
acpi_tz0: <Thermal Zone> on acpi0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xccfff,0xd0000-0xd3fff,0xd4000-0xd4fff on isa0
ppc0: parallel port not found.
sc0: <System console> 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: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1607340639 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 3089MB <Maxtor 83240D4 TAVX3925> at ata0-master UDMA33
ad2: 117800MB <HDS722512VLAT20 V33OA6MA> at ata1-master UDMA100
ad3: 117800MB <IC35L120AVV207 1 V24OA66A> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42b497160612142118u283a590axe24cb7d5c8507491>