poor setwork performance on gigabit link

2010-02-26 Thread jean-francois
Hi All,

I can reach only approx. 8 Mbyte/s on a LAN between the server and the client.

The complete network is capable of gigabit yet the speed reaches 15Mb/s then 
starts to trigger high/low and stabilyses at 8000kb/s.

I tried the 2 interfaces of the server (running OpenBSD) with similar results.

The client is at 10.0.1.32 the server at 10.0.1.1 - this is the LAN on gigabit 
link.

Could you please see if there are any troubles in those informations below 
ttha explains this ? After several check of the physics and the software, I 
run out of idea about this problem and where to look for.

Thank you

dmesg

 LBA, 30800MB, 63078400 sectors
wd1 at pciide1 channel 1 drive 0: WDC WD10EADS-00L5B1
wd1: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors
nfe0 at pci0 dev 10 function 0 NVIDIA MCP77 LAN rev 0xa2: apic 4 int 15 (irq 
15), address 00:30:1c:24:e3:ea
eephy0 at nfe0 phy 19: 88E1116 Gigabit PHY, rev. 1
ppb1 at pci0 dev 11 function 0 NVIDIA MCP77 PCIE rev 0xa1
pci2 at ppb1 bus 2
vga1 at pci2 dev 0 function 0 vendor NVIDIA, unknown product 0x0849 rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb2 at pci0 dev 16 function 0 NVIDIA MCP77 PCIE rev 0xa1: apic 4 int 16 
(irq 255)
pci3 at ppb2 bus 3
ppb3 at pci0 dev 18 function 0 NVIDIA MCP77 PCIE rev 0xa1: apic 4 int 16 
(irq 255)
pci4 at ppb3 bus 4
pchb0 at pci0 dev 24 function 0 AMD AMD64 0Fh HyperTransport rev 0x00
pchb1 at pci0 dev 24 function 1 AMD AMD64 0Fh Address Map rev 0x00
pchb2 at pci0 dev 24 function 2 AMD AMD64 0Fh DRAM Cfg rev 0x00
kate0 at pci0 dev 24 function 3 AMD AMD64 0Fh Misc Cfg rev 0x00: core rev 
BH-F2
isa0 at pcib0
isadma0 at isa0
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
it0 at isa0 port 0x2e/2: IT8716F rev 3, EC port 0x290
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
usb2 at ohci0: USB revision 1.0
uhub2 at usb2 NVIDIA OHCI root hub rev 1.00/1.00 addr 1
usb3 at ohci1: USB revision 1.0
uhub3 at usb3 NVIDIA OHCI root hub rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
uhub4 at uhub3 port 5 BTC USB Keyboard rev 1.10/0.03 addr 2
uhidev0 at uhub4 port 1 configuration 1 interface 0 BTC USB Keyboard rev 
1.10/0.03 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub4 port 1 configuration 1 interface 1 BTC USB Keyboard rev 
1.10/0.03 addr 3
uhidev1: iclass 3/0, 7 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid2 at uhidev1 reportid 3: input=2, output=0, feature=0
uhid3 at uhidev1 reportid 7: input=3, output=0, feature=0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
syncing disks... 
OpenBSD 4.6 (GENERIC.MP) #81: Thu Jul  9 21:26:19 MDT 2009
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1004470272 (957MB)
avail mem = 962330624 (917MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf (38 entries)
bios0: vendor Phoenix Technologies, LTD version 6.00 PG date 08/11/2008
bios0: Shuttle Inc SN78S
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP SSDT HPET MCFG SLIC APIC
acpi0: wakeup devices HUB0(S5) XVR0(S5) XVR1(S5) XVR2(S5) XVR3(S5) XVR4(S5) 
XVR5(S5) XVR6(S5) XVR7(S5) USB0(S3) USB1(S3) USBB(S3) USB2(S3) AZAD(S5) 
MMAC(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 2500 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2000.28 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2000.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
ioapic0 at mainbus0 apid 4 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (HUB0)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpitz0 at acpi0: critical temperature 75 

Re: poor setwork performance on gigabit link

2010-02-26 Thread Robert
On Fri, 26 Feb 2010 17:27:12 +0100
jean-francois jfsimon1...@gmail.com wrote:

 Hi All,
 
 I can reach only approx. 8 Mbyte/s on a LAN between the server and
 the client.
 
 The complete network is capable of gigabit yet the speed reaches
 15Mb/s then starts to trigger high/low and stabilyses at 8000kb/s.
 
 I tried the 2 interfaces of the server (running OpenBSD) with similar
 results.
 
 The client is at 10.0.1.32 the server at 10.0.1.1 - this is the LAN
 on gigabit link.
 
 Could you please see if there are any troubles in those informations
 below ttha explains this ? After several check of the physics and the
 software, I run out of idea about this problem and where to look for.
 
 Thank you
 

Search the archives, discussed to death in recent weeks.



Re: poor setwork performance on gigabit link

2010-02-26 Thread Bryan Irvine
snip
 net.inet.tcp.recvspace=16384
 net.inet.tcp.sendspace=16384
snip

http://www.openbsd.org/faq/faq6.html

Section 6.6.4

-Bryan



Re: poor setwork performance on gigabit link

2010-02-26 Thread Christiano F. Haesbaert
Sorry but I'm dieing of curiosity, how the heck did you swap a n by
a s in your subject ?



Re: poor setwork performance on gigabit link

2010-02-26 Thread Christiano F. Haesbaert
2010/2/26 Christiano F. Haesbaert haesba...@haesbaert.org:
 Sorry but I'm dieing of curiosity, how the heck did you swap a n by
 a s in your subject ?


Oooops, forgot dvorak existed.



Re: poor setwork performance on gigabit link

2010-02-26 Thread Peter Strömberg

On 2/26/2010 5:27 PM, jean-francois wrote:

pciide1 at pci0 dev 9 function 0 NVIDIA MCP77 AHCI rev 0xa2: DMA
(unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide1: using apic 4 int 11 (irq 11) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0:OCZ SOLID_SSD
wd0: 1-sector PIO, LBA, 30800MB, 63078400 sectors
wd1 at pciide1 channel 1 drive 0:WDC WD10EADS-00L5B1
wd1: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors
   

Eh, running in pio-mode won't help your performance ...

I copied 36.1 GB of data in slightly less than 9 minutes for 71 MB/S

client: windows vista 64
server: openbsd amd64
kern.bufcachepercent=40
samba
socket options = SO_RCVBUF=65536 SO_SNDBUF=65536
em nic, 4K jumbo frames
ahci0 at pci0 dev 17 function 0 ATI SBx00 SATA rev 0x00: apic 4 
int 22 (irq 10), AHCI 1.1
sd0 at scsibus0 targ 1 lun 0: ATA, WDC WD10EADS-00L, 01.0 SCSI3 
0/direct fixed

switch: hp ProCurve 1800-24G



Re: poor setwork performance on gigabit link

2010-02-26 Thread jean-francois
I think topic is closed.
Thanks for notice PIO mode.
Network is ok but disk mode is not. Here is the limit, not the network.

Regards.

Le Vendredi 26 Fivrier 2010 21:04:04, Peter Strvmberg a icrit :
 On 2/26/2010 5:27 PM, jean-francois wrote:
  pciide1 at pci0 dev 9 function 0 NVIDIA MCP77 AHCI rev 0xa2: DMA
  (unsupported), channel 0 wired to native-PCI, channel 1 wired to
  native-PCI pciide1: using apic 4 int 11 (irq 11) for native-PCI
  interrupt
  wd0 at pciide1 channel 0 drive 0:OCZ SOLID_SSD
  wd0: 1-sector PIO, LBA, 30800MB, 63078400 sectors
  wd1 at pciide1 channel 1 drive 0:WDC WD10EADS-00L5B1
  wd1: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors

 Eh, running in pio-mode won't help your performance ...

 I copied 36.1 GB of data in slightly less than 9 minutes for 71 MB/S

 client: windows vista 64
 server: openbsd amd64
  kern.bufcachepercent=40
  samba
  socket options = SO_RCVBUF=65536 SO_SNDBUF=65536
  em nic, 4K jumbo frames
  ahci0 at pci0 dev 17 function 0 ATI SBx00 SATA rev 0x00: apic 4
 int 22 (irq 10), AHCI 1.1
  sd0 at scsibus0 targ 1 lun 0: ATA, WDC WD10EADS-00L, 01.0 SCSI3
 0/direct fixed
 switch: hp ProCurve 1800-24G