Problemas con velocidad de descargas

Rodrigo Cuevas A. rcuevas en widefense.com
Jue Jun 22 09:44:00 CLT 2006


FERNANDO VILLARROEL wrote:
> Hola, las pruebas las realice de dos maneras con igual
> velocidad en ambos casos:
> 
> 1) Conecte el servidor al switch LAN 
> 2) Conecte directamente al Switch WAN con IP publica
> 
> En ambos casos la velocidad fue de 1.8 MB
> 
> Adjunto la salida de dmesg:
> 
> OpenBSD 3.8 (GENERIC.RAID) #0: Wed Jun 21 06:26:47 CLT
> 2006
>    
> root en paranoid.callme.cl:/usr/src/sys/arch/i386/compile/GENERIC.RAID
> cpu0: Intel(R) Pentium(R) 4 CPU 3.06GHz
> ("GenuineIntel" 686-class) 3.07 GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,TM2,CNXT-ID
> real mem  = 1063309312 (1038388K)
> avail mem = 963190784 (940616K)
> using 4278 buffers containing 53268480 bytes (52020K)
> of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(00) BIOS, date 12/05/05
> apm0 at bios0: Power Management spec V1.2
> apm0: AC on, battery charge unknown, estimated 0:00
> hours
> apm0: flags 30102 dobusy 0 doidle 1
> pcibios at bios0 function 0x1a not configured
> bios0: ROM list: 0xc0000/0xae00! 0xcb000/0x800
> 0xcb800/0x1800 0xcd000/0x1000
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82945GP" rev
> 0x02
> vga1 at pci0 dev 2 function 0 vendor "Intel", unknown
> product 0x2772 rev 0x02: aperture at 0x50100000, size
> 0x8000000
> wsdisplay0 at vga1 mux 1: console (80x25, vt100
> emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> "Intel 82801GB HD Audio" rev 0x01 at pci0 dev 27
> function 0 not configured
> ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE"
> rev 0x01
> pci1 at ppb0 bus 1
> ppb1 at pci0 dev 28 function 2 "Intel 82801GB PCIE"
> rev 0x01
> pci2 at ppb1 bus 2
> ppb2 at pci0 dev 28 function 3 "Intel 82801GB PCIE"
> rev 0x01
> pci3 at ppb2 bus 3
> ppb3 at pci0 dev 28 function 4 vendor "Intel", unknown
> product 0x27e0 rev 0x01
> pci4 at ppb3 bus 4
> ppb4 at pci0 dev 28 function 5 vendor "Intel", unknown
> product 0x27e2 rev 0x01
> pci5 at ppb4 bus 5
> uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB"
> rev 0x01: irq 10
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB"
> rev 0x01: irq 11
> usb1 at uhci1: USB revision 1.0
> uhub1 at usb1
> uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB"
> rev 0x01: irq 11
> usb2 at uhci2: USB revision 1.0
> uhub2 at usb2
> uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub2: 2 ports with 2 removable, self powered
> uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB"
> rev 0x01: irq 11
> usb3 at uhci3: USB revision 1.0
> uhub3 at usb3
> uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub3: 2 ports with 2 removable, self powered
> ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB"
> rev 0x01: irq 10
> usb4 at ehci0: USB revision 2.0
> uhub4 at usb4
> uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
> ppb5 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev
> 0xe1
> pci6 at ppb5 bus 6
> skc0 at pci6 dev 0 function 0 "3Com 3c940" rev 0x10:
> irq 11
> skc0: Marvell Yukon (0x1)
> sk0 at skc0 port A: address 00:0a:5e:24:25:ae
> eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev.
> 3
> "Texas Instruments TSB43AB23 FireWire" rev 0x00 at
> pci6 dev 5 function 0 not configured
> fxp0 at pci6 dev 8 function 0 "Intel 82801GB LAN" rev
> 0x01: irq 11, address 00:16:76:44:88:27
> inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
> pcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC"
> rev 0x01
> pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE"
> rev 0x01: DMA, channel 0 configured to compatibility,
> channel 1 configured to compatibility
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <SONY, CD-ROM CDU5225,
> NYS2> SCSI0 5/cdrom removable
> cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 ignored (disabled)
> pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA"
> rev 0x01: DMA, channel 0 configured to native-PCI,
> channel 1 configured to native-PCI
> pciide1: using irq 11 for native-PCI interrupt
> wd0 at pciide1 channel 0 drive 0: <ST3808110AS>
> wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
> wd1 at pciide1 channel 0 drive 1: <ST3808110AS>
> wd1: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
> wd1(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 5
> "Intel 82801GB SMBus" rev 0x01 at pci0 dev 31 function
> 3 not configured
> 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
> sysbeep0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte
> fifo
> biomask ff6d netmask ff6d ttymask ffef
> pctr: user-level cycle counter enabled
> Kernelized RAIDframe activated
> cd0(atapiscsi0:0:0): Check Condition (error 0x70) on
> opcode 0x0
>     SENSE KEY: Not Ready
>      ASC/ASCQ: Medium Not Present
> raid0 (root): (RAID Level 1) total number of sectors
> is 155248000 (75804 MB) as root
> dkcsum: wd0 matches BIOS drive 0x80
> dkcsum: wd1 matches BIOS drive 0x81
> rootdev=0x1300 rrootdev=0x3600 rawdev=0x3602
> raid0: Device already configured!
> 
> Pego ademas la salida de ifconfig
> 
> # ifconfig
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu
> 33224
>         groups: lo
>         inet6 ::1 prefixlen 128
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
>         inet 127.0.0.1 netmask 0xff000000
> sk0:
> flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu
> 1500
>         lladdr 00:0a:5e:24:25:ae
>         media: Ethernet autoselect (1000baseT
> half-duplex)
>         status: no carrier
>         inet6 fe80::20a:5eff:fe24:25ae%sk0 prefixlen
> 64 scopeid 0x1
>         inet 10.0.0.1 netmask 0xffffff00 broadcast
> 10.0.0.255
> fxp0:
> flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu
> 1500
>         lladdr 00:16:76:44:88:27
>         groups: egress
>         media: Ethernet autoselect (100baseTX
> full-duplex)
>         status: active
>         inet6 fe80::216:76ff:fe44:8827%fxp0 prefixlen
> 64 scopeid 0x2
>         inet 192.168.1.251 netmask 0xffffff00
> broadcast 192.168.1.255
> pflog0: flags=0<> mtu 33224
> pfsync0: flags=0<> mtu 1348
> enc0: flags=0<> mtu 1536
> 
> 
> Atento a sus comentarios,
> 
> Fernando Villarroel N.
> 
> --- uv negativa <uv.negativa en gmail.com> wrote:
> 
>> Es algo raro a mi me funciona hasta 8MB por segundo
>> en una red 100 con
>> scp entre dos OpenBSD.
>> que tarjetas  utiliza haga un dmesg y miramos el
>> hardware a ver que
>> y lo otro es como realizo esa prueba?
>>
>>
>>
>> On 6/21/06, FERNANDO VILLARROEL
>> <fvillarroel en yahoo.com> wrote:
>>> Hola les cuento como llegue a BSD, sucede que debo
>>> implementar QOS y en esta misma lista pero de
>> debian
>>> me recomendaron OpenBSD ya que trae incorporado al
>>> kernel PF y ALTQ.
>>>
>>> Bueno instale OpenBSD con exito, de hecho tuve que
>>> compilar el kernel para darle soporte RAID y
>> despues
>>> de dos dias logre configurar el Raid con OpenBSD.
>>>
>>> En la empresa tenemos un enlace a 100 MB, y los
>>> servidores son Debian, Fedora. Bueno el cuento es
>> que
>>> cuando bajamos informacion la velocidad de
>>> transferencia es de aprox. 6 MB.
>>>
>>> Mi problema es que con OpenBSD la velocidad de
>> bajada
>>> fue de solo aprox. 1.8 MB?
>>>
>>> Pense que podian ser problemas de la tarjetas y
>> las
>>> setee a 100baseT full-duplex, pero nada todo
>> siguio
>>> igual.
>>>
>>> Probe insrtalando Openbsd en otro equipo distinto
>> con
>>> obviamente distinto hardware, pero el resultado
>> fue el
>>> mismo 1.8 MB
>>>
>>> No se si es problema de OpenBSD o que?
>>>
>>>
>>> Alguna sugerencia.
>>>
>>>
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam?  Yahoo! Mail has the best spam
>> protection around
>>> http://mail.yahoo.com
>>>
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 

Todas las tarjetas están en autoselect, prueba forzándolas. Es muy
posible que sea eso.

saludos

-- 
Rodrigo Cuevas Araneda



Más información sobre la lista de distribución BSD