Hi.  I tried what you said.  Both recvspace and sendspace were set to
16384.  I set both of them to 131070 and tried iperf again.  It wasn't
any faster.
Thanks,
Gabe

On Mon, May 31, 2010 at 10:44 PM, jean-philippe luiggi
<j...@didconcept.com> wrote:
> Hello,
>
> Please check the result of :
>
> #sysctl -a | grep tcp.*space
>
> If the result is "65535" then increase the value to "131070" and run 'iperf'
again.
>
>
> Cheers,
>
> Jean-Philippe.
>
>
>
>
>
> * Gabriel Read <gabe2...@gmail.com> [2010-05-25 02:19:57 -0400]:
>
>> Using iperf, I get around 300 mbits/s. between my openbsd machine and
>> my windows xp machine and also to my imac with os x.  I tried the
>> kernel tweaks mentioned here:
>> https://calomel.org/network_performance.html, but they did not help a
>> whole lot (before tweaks I was getting around 220 mbits/s).
>>
>> In comparison, the same machine running ubuntu 10.4 server edition
>> gets around 880 mbits/s according to iperf.  Are there any other
>> things I can try?  Is this possibly a limitation of the openbsd
>> driver?
>>
>> One last thing to note: for the heck of it, I tried an intel pro 1000
>> pci card and the results were about the same, around 200-300 mbits/s.
>> I don't have the card in it at the moment so I don't have a dmesg with
>> it.  This makes me think that it might not be specific to the driver.
>> In the bios, I have the option of disabling hyper-threading for the
>> atom processor (it is enabled by default and was setup with bsd.mp).
>> I turned off hyper-threading and booted up the generic
>> single-processor kernel and the results didn't change.
>>
>> Any help would be apreciated.
>> Thanks, Gabe Read
>>
>> Here is my dmesg output:
>>
>> OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010
>>     dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
>> cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz ("GenuineIntel" 686-class) 1.60
GHz
>> cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,xTPR
>> real mem  = 1061453824 (1012MB)
>> avail mem = 1019740160 (972MB)
>> mainbus0 at root
>> bios0 at mainbus0: AT/286+ BIOS, date 03/06/09, SMBIOS rev. 2.6 @
>> 0xe91f0 (42 entries)
>> bios0: vendor Intel Corp. version "JT94510H.86A.0025.2009.0306.1639"
>> date 03/06/2009
>> bios0: Intel Corporation D945GSEJT
>> acpi0 at bios0: rev 2
>> acpi0: tables DSDT FACP APIC MCFG SSDT SSDT SSDT SSDT
>> acpi0: wakeup devices P0P2(S4) PEGP(S4) USB0(S3) USB1(S3) USB2(S3)
>> USB3(S3) EHCI(S3) MC97(S4) P0P1(S4) PS2K(S3) PS2M(S3) UAR1(S3)
>> UAR2(S3) P0P4(S4) P0P5(S4) P0P6(S4) PWRB(S3)
>> acpitimer0 at acpi0: 3579545 Hz, 24 bits
>> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
>> cpu0 at mainbus0: apid 0 (boot processor)
>> cpu0: apic clock running at 133MHz
>> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
>> acpiprt0 at acpi0: bus 0 (PCI0)
>> acpiprt1 at acpi0: bus -1 (P0P2)
>> acpiprt2 at acpi0: bus 5 (P0P1)
>> acpiprt3 at acpi0: bus 1 (P0P4)
>> acpiprt4 at acpi0: bus 2 (P0P5)
>> acpicpu0 at acpi0: C3, C2, C1, PSS
>> acpibtn0 at acpi0: PWRB
>> acpivideo0 at acpi0: IGD_
>> acpivout0 at acpivideo0: DD01
>> acpivout1 at acpivideo0: DD02
>> acpivout2 at acpivideo0: DD03
>> acpivout3 at acpivideo0: DD04
>> bios0: ROM list: 0xc0000/0xec00! 0xcf000/0x1000
>> cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1333, 1067, 800 MHz
>> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
>> pchb0 at pci0 dev 0 function 0 "Intel 82945GME Host" rev 0x03
>> vga1 at pci0 dev 2 function 0 "Intel 82945GME Video" rev 0x03
>> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
>> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
>> intagp0 at vga1
>> agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
>> inteldrm0 at vga1: apic 2 int 16 (irq 11)
>> drm0 at inteldrm0
>> "Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
>> azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02:
>> apic 2 int 16 (irq 11)
>> azalia0: codecs: Realtek ALC662
>> audio0 at azalia0
>> ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02
>> pci1 at ppb0 bus 1
>> re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D
>> (0x2800), apic 2 int 16 (irq 11), address 00:1c:c0:df:45:73
>> rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
>> ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02
>> pci2 at ppb1 bus 2
>> ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02
>> pci3 at ppb2 bus 3
>> ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02
>> pci4 at ppb3 bus 4
>> uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 2
>> int 23 (irq 10)
>> uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 2
>> int 19 (irq 11)
>> uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 2
>> int 18 (irq 7)
>> uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 2
>> int 16 (irq 11)
>> ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 2
>> int 23 (irq 10)
>> ehci0: timed out waiting for BIOS
>> usb0 at ehci0: USB revision 2.0
>> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
>> ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
>> pci5 at ppb4 bus 5
>> ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM
disabled
>> pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA,
>> channel 0 configured to compatibility, channel 1 configured to
>> compatibility
>> pciide0: channel 0 disabled (no drives)
>> pciide0: channel 1 disabled (no drives)
>> pciide1 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA,
>> channel 0 configured to native-PCI, channel 1 configured to native-PCI
>> pciide1: using apic 2 int 19 (irq 11) for native-PCI interrupt
>> wd0 at pciide1 channel 0 drive 0: <WDC WD3200AAKS-00YGA0>
>> wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors
>> atapiscsi0 at pciide1 channel 0 drive 1
>> scsibus0 at atapiscsi0: 2 targets
>> cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-ROM GDRH20N, 0D04> ATAPI
>> 5/cdrom removable
>> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
>> cd0(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 5
>> ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic
>> 2 int 19 (irq 11)
>> iic0 at ichiic0
>> spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
>> usb1 at uhci0: USB revision 1.0
>> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>> usb2 at uhci1: USB revision 1.0
>> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>> usb3 at uhci2: USB revision 1.0
>> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>> usb4 at uhci3: USB revision 1.0
>> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>> isa0 at ichpcib0
>> isadma0 at isa0
>> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
>> com1 at isa0 port 0x2f8/8 irq 3: 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
>> midi0 at pcppi0: <PC speaker>
>> spkr0 at pcppi0
>> lpt0 at isa0 port 0x378/4 irq 7
>> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
>> mtrr: Pentium Pro MTRR support
>> vscsi0 at root
>> scsibus1 at vscsi0: 256 targets
>> softraid0 at root
>> root on wd0a swap on wd0b dump on wd0b
>>
>>
>>  ** ACCEPT: CRM114 PASS osb unique microgroom Matcher **
>> CLASSIFY succeeds; success probability: 1.0000  pR: 15.0348
>> Best match to file #0 (nonspam.css) prob: 1.0000  pR: 15.0348
>> Total features in input file: 3472
>> #0 (nonspam.css): features: 703149, hits: 3046718, prob: 1.00e+00, pR:
 15.03
>> #1 (spam.css): features: 645263, hits: 3037051, prob: 9.23e-16, pR: -15.03

Reply via email to