On 05.2.2010 P3. 09:59, Sebastiano Pomata wrote:
On Fri, 5 Feb 2010 02:05:49 +0000 (UTC)
Stuart Henderson<[email protected]> wrote:
On 2010-02-04, Sebastiano Pomata<[email protected]> wrote:
As doublechecking, I tried with another fast server inside the wan
network of our academy, and I'm getting almost the same results
(while absolute speeds are different from before, the gap is almost
the same in magnitude).
I've read the page about tcptune, it's pretty clear now (values are
almost the same I edited), still not having clear why on default
OpenBSD the transfer rates are so low.
we try to have safe defaults for the varioous machines/arch that
can run OpenBSD.
we would need some kind of auto-tuning to incrrease the defaults,
and don't have that yet.
I really can understand this, for the sake of system portability and so
on. Anyway, I really hardly understand why, without touching any of the
default settings, download rate from every server would never overcome
the value of 400 kB/s. Is it all due to the tcp windows size?
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4836 (20100204) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
I was about to post the same topic here.
I observe 250K/s on any OpenBSD server in my network, versions 4.2, 4.4,
4.5 and 4.6, various hardware, using wget -O /dev/null
I can start the same download many times on the same machine with every
download hitting 250K/s, so I can get total download speed 250K/s
multiplied by downloads started. So it is not link speed issue...
The strangest thing is that I get better download speed on alix board
outside my network then on much "stronger" hardware here, see attached
dmesgs and speed tests.
On some debians I have here, I reach full link speed.
I have some questions.
Does this behavior/feature reflects forwarding capacity? I am using
OpenBSD for routers.
Also, as Stuart said, is the "tcp window size" estimated by the machine
every time I start download?
Sometimes I observe higher download speed on "faster and shorter" links,
eventually close to wire speed.
Regards,
Ivo
chut...@rbs
e/debian-cd/5.0.4/i386/iso-cd/debian-504-i386-CD-1.iso
<
--2010-02-05 10:52:57--
http://ftp.debian.de/debian-cd/5.0.4/i386/iso-cd/debian-504-i386-CD-1.iso
Resolving ftp.debian.de...
141.76.2.4
Connecting to ftp.debian.de|141.76.2.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 677117952 (646M) [application/octet-stream]
Saving to: `/dev/null'
1% [=>
] 11,302,762 472K/s eta 18m 24s ^C
related mtr:
Host Loss% Snt Last Avg Best Wrst
StDev
1. 213.226.8.177 0.0% 61 0.5 0.6 0.4
7.7 0.9
2. 213.226.1.201 0.0% 61 0.8 0.8 0.7
0.9 0.0
3. sfk-inet-gw.mtel.net 0.0% 61 0.9 1.6 0.8
42.8 5.4
4. GigabitEthernet9-8.ar2.VIE1.gblx 0.0% 61 19.3 34.5 19.3
369.5 58.2
5. 64.213.78.238 0.0% 61 38.3 38.9 37.7
83.3 5.8
6. zr-erl1-te0-0-0-4.x-win.dfn.de 0.0% 60 46.6 46.5 46.1
48.9 0.4
7. xr-dre1-te1-3.x-win.dfn.de 0.0% 60 49.1 51.9 49.1
106.6 10.5
8. kr-tu-dresden.x-win.dfn.de 0.0% 60 49.8 50.1 49.5
56.8 1.0
9. 141.30.1.182 0.0% 60 50.0 50.2 49.7
51.8 0.4
10. ftp.de.debian.org 0.0% 60 53.9 54.0 53.7
54.9 0.2
chut...@rbs
~ $ dmesg
OpenBSD 4.5-stable (GENERIC) #5: Sun Oct 11 19:35:57 EEST 2009
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD"
586-class) 499 MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
real mem = 268009472 (255MB)
avail mem = 250859520 (239MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/05/08, BIOS32 rev. 0 @ 0xfd088
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xe0000/0xa800
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
vr0 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 10,
address 00:0d:b9:19:22:fc
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr1 at pci0 dev 10 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11,
address 00:0d:b9:19:22:fd
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr2 at pci0 dev 11 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 15,
address 00:0d:b9:19:22:fe
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 0,
32-bit 3579545Hz timer, watchdog, gpio
gpio0 at glxpcib0: 32 pins
pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <TRANSCEND>
wd0: 1-sector PIO, LBA, 3823MB, 7831152 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 12,
version 1.0, legacy support
ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 12
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
biomask 73e7 netmask ffe7 ttymask ffff
mtrr: K6-family MTRR support (2 registers)
nvram: invalid checksum
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
clock: unknown CMOS layout
chut...@rbs
chut...@mail
~ $ wget -O /dev/null
http://ftp.debian.de/debian-cd/5.0.4/i386/iso-cd/debian-504-i386-CD-1.iso
--2010-02-05 10:54:45--
http://ftp.debian.de/debian-cd/5.0.4/i386/iso-cd/debian-504-i386-CD-1.iso
Resolving ftp.debian.de... 141.76.2.4
Connecting to ftp.debian.de|141.76.2.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 677117952 (646M) [application/octet-stream]
Saving to: `/dev/null'
1% [=>
] 10,601,930 227K/s eta 45m 12s ^C
related mtr:
Host Loss% Snt Last Avg Best Wrst
StDev
1. gw-core.bgone.net 0.0% 4 0.3 0.3 0.2
0.4 0.1
2. border2.bgone.net 0.0% 4 0.8 0.8 0.6
1.0 0.1
3. border1.bgone.net 0.0% 4 1.0 1.0 0.7
1.2 0.2
4. 212.73.129.85 0.0% 4 2.2 2.0 1.8
2.2 0.2
5. xe-5-1-0-430.fra60.ip4.tinet.net 0.0% 3 41.7 49.0 41.7
63.4 12.4
6. xe-10-1-0.fra21.ip4.tinet.net 0.0% 3 41.7 41.8 41.7
41.9 0.1
7. zr-fra1-ge0-2-0-7.x-win.dfn.de 0.0% 3 42.4 42.5 42.4
42.9 0.3
8. zr-erl1-te0-7-0-2.x-win.dfn.de 0.0% 3 47.5 47.0 46.3
47.5 0.6
9. xr-dre1-te1-3.x-win.dfn.de 0.0% 3 54.0 53.8 53.7
54.0 0.2
10. kr-tu-dresden.x-win.dfn.de 0.0% 3 54.4 54.5 54.4
54.6 0.1
11. 141.30.1.182 0.0% 3 54.7 54.6 54.5
54.7 0.1
12. ftp.de.debian.org 0.0% 3 54.9 54.3 53.9
54.9 0.6
chut...@mail
~ $ dmesg
OpenBSD 4.5-stable (GENERIC.MP) #4: Thu Dec 3 20:09:48 EET 2009
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) III CPU - S 1266MHz ("GenuineIntel" 686-class)
1.26 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem = 2146992128 (2047MB)
avail mem = 2067759104 (1971MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/24/02, BIOS32 rev. 0 @ 0xffe90,
SMBIOS rev. 2.3 @ 0xfb040 (44 entries)
bios0: vendor Dell Computer Corporation version "A00" date 09/24/2002
bios0: Dell Computer Corporation PowerEdge 1655MC
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC SPCR
acpi0: wakeup devices PCI0(S5) PCI1(S5)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 1 (boot processor)
cpu0: apic clock running at 132MHz
cpu1 at mainbus0: apid 0 (application processor)
cpu1: Intel(R) Pentium(R) III CPU - S 1266MHz ("GenuineIntel" 686-class)
1.26 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 16 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
ioapic1 at mainbus0: apid 3 pa 0xfec01000, version 11, 16 pins
ioapic1: misconfigured as apic 0, remapped to apid 3
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCI1)
acpicpu0 at acpi0
acpicpu1 at acpi0
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xcc000/0x4000
0xd0000/0x1800 0xd1800/0x1800 0xec000/0x4000!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20LE Host" rev 0x06
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20LE Host" rev 0x06
pci1 at pchb1 bus 1
bge0 at pci1 dev 10 function 0 "Broadcom BCM5703X" rev 0x02, BCM5703 A2
(0x1002): apic 3 int 1 (irq 10), address 00:06:5b:ee:4a:17
bge1 at pci1 dev 11 function 0 "Broadcom BCM5703X" rev 0x02, BCM5703 A2
(0x1002): apic 3 int 0 (irq 7), address 00:06:5b:ee:4a:18
mpi0 at pci0 dev 13 function 0 "Symbios Logic 53c1030" rev 0x07: apic 3
int 3 (irq 14)
scsibus0 at mpi0: 16 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: <FUJITSU, MAN3735MP, 5507> SCSI3 0/direct
fixed
sd0: 70007MB, 512 bytes/sec, 143374650 sec total
mpi0: target 0 Sync at 80MHz width 16bit offset 127 QAS 0 DT 1 IU 0
vga1 at pci0 dev 14 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
piixpm0 at pci0 dev 15 function 0 "ServerWorks CSB5" rev 0x93: polling
iic0 at piixpm0
admtemp0 at iic0 addr 0x18: adm1023
admtemp1 at iic0 addr 0x4c: adm1023
spdmem0 at iic0 addr 0x50: 1GB SDRAM registered ECC PC133CL2
spdmem1 at iic0 addr 0x51: 1GB SDRAM registered ECC PC133CL2
ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x05:
apic 2 int 11 (irq 11), version 1.0, legacy support
pchb2 at pci0 dev 15 function 3 "ServerWorks CSB5 LPC" rev 0x00
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "ServerWorks OHCI root hub" rev 1.00/1.00 addr 1
isa0 at mainbus0
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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
piixpm0: exec: op 1, addr 0x18, cmdlen 1, len 1, flags 0x08: timeout,
status 0x1<BUSY>
chut...@mail
~ $