On Mon, Apr 22, 2013 at 2:46 PM, Mattieu Baptiste <mattie...@gmail.com>wrote:

> Hi,
>
> I'm currently trying to access files from my OpenBSD -current/amd64
> workstation on a NAS under FreeNAS (8.3.1). On my workstation, the
> filesystem is a read/write NFS mounted share. Its size is about 5.2TB.
> While reading seems normal : about 45MB/s, writing is a lot slower
> (fluctuates between 10MB/s and 20MB/s) before eventually stall (under
> 1MB/s). Note that at the start, my box is totally unresponsive. When the
> writes fall below 1MB/s, the box became responsive again.
>
> PF is disabled on my box and on both sides, I have em(4) interfaces
> (autoneg at 1000 baseT).
>
> With CIFS shares, the NAS can do a lot more throughput : above 50MB/s
> writes.
>
> I suspect problems with the OpenBSD NFS client since I saw problems like
> that in the archive. Moreover, the behavior of my box which became
> unresponsive when writing at 20MB/s seems strange.
>
> Any clues ?
>
> I'm sorry to not have more factual numbers... except the dmesg of my box.
> The NAS isn't accessible to me all the time. I can provide more details in
> the future.
>


You can start on client side as well to provide some numbers.

nfsstat -c
systat (check more screens)
vmstat
netstat -m
top
.......



>
>
> OpenBSD 5.3-current (GENERIC.MP) #12: Mon Apr 15 15:18:44 CEST 2013
>     matt...@kronenbourg.brimbelle.org:/usr/src/sys/arch/amd64/compile/
> GENERIC.MP
> real mem = 8571518976 (8174MB)
> avail mem = 8335634432 (7949MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf0710 (68 entries)
> bios0: vendor American Megatrends Inc. version "2003" date 12/14/2010
> bios0: ASUSTeK Computer INC. P7P55D
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S1 S3 S4 S5
> acpi0: tables DSDT FACP APIC MCFG OEMB HPET DMAR ASPT OSFR
> acpi0: wakeup devices P0P4(S4) BR1E(S4) UAR1(S4) PS2K(S4) PS2M(S4) EUSB(S4)
> USB0(S4) USB1(S4) USB2(S4) USB3(S4) USBE(S4) USB4(S4) USB5(S4) USB6(S4)
> BR21(S4) BR22(S4) BR23(S4) P0P1(S4) P0P3(S4) P0P5(S4) P0P6(S4) USB8(S4)
> BR20(S4) BR24(S4) BR25(S4) BR26(S4) BR27(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3374.33 MHz
> cpu0:
>
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> cpu0: apic clock running at 160MHz
> cpu1 at mainbus0: apid 4 (application processor)
> cpu1: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3373.90 MHz
> cpu1:
>
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 0, core 2, package 0
> cpu2 at mainbus0: apid 1 (application processor)
> cpu2: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3373.90 MHz
> cpu2:
>
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu2: smt 1, core 0, package 0
> cpu3 at mainbus0: apid 5 (application processor)
> cpu3: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3373.90 MHz
> cpu3:
>
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu3: smt 1, core 2, package 0
> ioapic0 at mainbus0: apid 6 pa 0xfec00000, version 20, 24 pins
> ioapic0: misconfigured as apic 1, remapped to apid 6
> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 7 (BR1E)
> acpiprt2 at acpi0: bus -1 (BR21)
> acpiprt3 at acpi0: bus -1 (BR22)
> acpiprt4 at acpi0: bus -1 (BR23)
> acpiprt5 at acpi0: bus 1 (P0P1)
> acpiprt6 at acpi0: bus -1 (P0P3)
> acpiprt7 at acpi0: bus -1 (P0P5)
> acpiprt8 at acpi0: bus -1 (P0P6)
> acpiprt9 at acpi0: bus 6 (BR20)
> acpiprt10 at acpi0: bus 5 (BR24)
> acpiprt11 at acpi0: bus 4 (BR25)
> acpiprt12 at acpi0: bus 3 (BR26)
> acpiprt13 at acpi0: bus 2 (BR27)
> acpiec0 at acpi0
> acpicpu0 at acpi0
> acpicpu1 at acpi0
> acpicpu2 at acpi0
> acpicpu3 at acpi0
> aibs0 at acpi0: GGRP GITM SITM
> acpibtn0 at acpi0: PWRB
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel Core Host" rev 0x12
> ppb0 at pci0 dev 1 function 0 "Intel Core PCIE" rev 0x12: msi
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "ATI Radeon HD 4670" rev 0x00
> radeondrm0 at vga1: apic 6 int 16
> drm0 at radeondrm0
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 4000 HD Audio" rev 0x00:
> msi
> azalia0: no supported codecs
> ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x06: apic 6 int 16
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> azalia1 at pci0 dev 27 function 0 "Intel 3400 HD Audio" rev 0x06: msi
> azalia1: codecs: VIA/0x4441
> audio0 at azalia1
> ppb1 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x06: msi
> pci2 at ppb1 bus 6
> em0 at pci2 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 6
> int 16, address 00:15:17:8a:8f:d2
> em1 at pci2 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 6
> int 17, address 00:15:17:8a:8f:d3
> ppb2 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x06: msi
> pci3 at ppb2 bus 5
> ppb3 at pci0 dev 28 function 5 "Intel 3400 PCIE" rev 0x06: msi
> pci4 at ppb3 bus 4
> ppb4 at pci0 dev 28 function 6 "Intel 3400 PCIE" rev 0x06: msi
> pci5 at ppb4 bus 3
> jmb0 at pci5 dev 0 function 0 "JMicron JMB363 IDE/SATA" rev 0x03
> ahci0 at jmb0: apic 6 int 18, AHCI 1.0
> scsibus0 at ahci0: 32 targets
> sd0 at scsibus0 targ 1 lun 0: <ATA, SAMSUNG HD103UJ, 1AA0> SCSI3 0/direct
> fixed naa.50000f00070c0776
> sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
> jmb1 at pci5 dev 0 function 1 "JMicron JMB363 IDE/SATA" rev 0x03
> pciide0 at jmb1: DMA, channel 0 wired to native-PCI, channel 1 wired to
> native-PCI
> pciide0: using apic 6 int 19 for native-PCI interrupt
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus1 at atapiscsi0: 2 targets
> cd0 at scsibus1 targ 0 lun 0: <PHILIPS, DVDR1628P1, Q1.1> ATAPI 5/cdrom
> removable
> cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 disabled (no drives)
> ppb5 at pci0 dev 28 function 7 "Intel 3400 PCIE" rev 0x06: msi
> pci6 at ppb5 bus 2
> re0 at pci6 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D
> (0x2800), apic 6 int 19, address 48:5b:39:46:e1:d5
> rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
> ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x06: apic 6 int 23
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb6 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa6
> pci7 at ppb6 bus 7
> pcib0 at pci0 dev 31 function 0 "Intel P55 LPC" rev 0x06
> ahci1 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x06: msi, AHCI 1.3
> scsibus2 at ahci1: 32 targets
> sd1 at scsibus2 targ 0 lun 0: <ATA, C300-CTFDDAC064M, 0007> SCSI3 0/direct
> fixed naa.500a075102fbf57c
> sd1: 61057MB, 512 bytes/sector, 125045424 sectors, thin
> sd2 at scsibus2 targ 1 lun 0: <ATA, ST1000DM003-9YN1, CC4B> SCSI3 0/direct
> fixed naa.5000c50051c256f3
> sd2: 953869MB, 512 bytes/sector, 1953525168 sectors
> ichiic0 at pci0 dev 31 function 3 "Intel 3400 SMBus" rev 0x06: apic 6 int
> 18
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600
> spdmem1 at iic0 addr 0x51: 2GB DDR3 SDRAM PC3-10600
> spdmem2 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600
> spdmem3 at iic0 addr 0x53: 2GB DDR3 SDRAM PC3-10600
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> lm0 at isa0 port 0x290/8: W83627DHG
> mtrr: Pentium Pro MTRR support
> uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> umass0 at uhub3 port 2 configuration 1 interface 0 "ASUS Ai Flash-4" rev
> 2.00/0.02 addr 3
> umass0: using SCSI over Bulk-Only
> scsibus3 at umass0: 2 targets, initiator 0
> sd3 at scsibus3 targ 1 lun 0: <ASUS, Ai Flash-4, PMAP> SCSI0 0/direct
> removable
> sd3: 58MB, 512 bytes/sector, 118784 sectors
> sd4 at scsibus3 targ 1 lun 1: <ASUS, Ai Flash-4, PMAP> SCSI0 0/direct
> removable
> sd4: 1MB, 512 bytes/sector, 2880 sectors
> uhub4 at uhub3 port 3 "Genesys Logic USB2.0 Hub" rev 2.00/32.98 addr 4
> uhidev0 at uhub3 port 7 configuration 1 interface 0 "Logitech USB-PS/2
> Optical Mouse" rev 2.00/22.00 addr 5
> uhidev0: iclass 3/1
> ums0 at uhidev0: 8 buttons, Z dir
> wsmouse0 at ums0 mux 0
> uhidev1 at uhub3 port 8 configuration 1 interface 0 " wired keyboard" rev
> 2.00/1.03 addr 6
> uhidev1: iclass 3/1
> ukbd0 at uhidev1: 8 variable keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> uhidev2 at uhub3 port 8 configuration 1 interface 1 " wired keyboard" rev
> 2.00/1.03 addr 6
> uhidev2: iclass 3/0, 2 report ids
> uhid0 at uhidev2 reportid 1: input=2, output=0, feature=0
> uhid1 at uhidev2 reportid 2: input=1, output=0, feature=0
> vscsi0 at root
> scsibus4 at vscsi0: 256 targets
> softraid0 at root
> scsibus5 at softraid0: 256 targets
> sd5 at scsibus5 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct
> fixed
> sd5: 953866MB, 512 bytes/sector, 1953519473 sectors
> root on sd1a (ee0da2e4468aa658.a) swap on sd1b dump on sd1b
>
>
> --
> Mattieu Baptiste
> "/earth is 102% full ... please delete anyone you can."

Reply via email to