Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2001 13:12:49 -0700 (PDT)
From:      jerfa@yahoo.com (Johann Frisch)
To:        freebsd-questions@freebsd.org
Subject:   Slow file transfers from NT4 to FreeBSD
Message-ID:  <20010717201249.DBE3A37B401@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
Hi,

file transfers with scp or ftp are much slower from NT to FreeBSD than 
the opposite direction.

System info:
Windows box: NT4, SP6a, Celeron 500, Intel EtherExpress Pro/100B
FreeBSD box: FreeBSD 4.3-RELEASE, generic kernel, Pentium 75, 
    	    	  3Com 905B-TX, IBM Etherjet ISA
The network cards are connected with a crossover cable.

Some examples, files were stored on a ramdisc:

Intel NIC <-> 3Com NIC
FreeBSD->NT: FTP >1 MB/s, scp 300 KB/s
NT->FreeBSD: FTP 38 KB/s, scp 30 KB/s

Intel NIC <-> IBM Etherjet
FreeBSD->NT: FTP 520 KB/s, scp 300 KB/s
NT->FreeBSD: FTP 250 KB/s, scp 130 KB/s

So scp transfers from the Intel to the 3Com are particularly bad.
The same systems reached 300 KB/s (using the same encryption, of 
course, blowfish/MD5) when I transferred from NT to OpenBSD.

dmesg output:
FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001
    jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (74.88-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x525  Stepping = 5
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 16777216 (16384K bytes)
config> di sn0
config> di lnc0
config> di ie0
config> di fe0
config> di ed0
config> di bt0
config> di aic0
config> di aha0
config> di adv0
config> en cs0
config> po cs0 0x210
config> ir cs0 0
config> f cs0 0
config> q
avail memory = 12132352 (11848K bytes)
Preloaded elf kernel "kernel" at 0xc044d000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc044d09c.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <unknown card> (vendor=0x10b9, dev=0x1449) at 2.0
atapci0: <CMD 640 ATA controller !WARNING! buggy chip data loss 
possible> at device 3.0 on pci0
atapci0: Busmastering DMA not supported
atapci0: Busmastering DMA disabled
pci0: <Cirrus Logic GD5434 SVGA controller> at 4.0
ncr0: <ncr 53c810 fast10 scsi> port 0xd100-0xd1ff mem 0x4000100-
0x40001ff irq 5 at device 14.0 on pci0
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd000-0xd07f mem 
0x4000000-0x400007f irq 11 at device 15.0 on pci0
xl0: Ethernet address: 00:50:04:43:e8:df
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0: <ISA bus> on motherboard
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on 
isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on 
isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
cs0 at port 0x210-0x22f irq 10 drq 0 on isa0
ad0: 516MB <IBM-DALA-3540> [1049/16/63] at ata0-master BIOSPIO
ad1: 405MB <WDC AC2420F> [989/15/56] at ata0-slave BIOSPIO
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/ad1s1a
da0 at ncr0 bus 0 target 6 lun 0
da0: <FUJITSU M2512A 1403> Removable Optical SCSI-2 device 
da0: 5.000MB/s transfers (5.000MHz, offset 8)
da0: 217MB (446325 512 byte sectors: 64H 32S/T 217C)
xl0: transmission error: 90
xl0: tx underrun, increasing tx start threshold to 120 bytes
xl0: transmission error: 90
xl0: tx underrun, increasing tx start threshold to 180 bytes
xl0: transmission error: 90
xl0: tx underrun, increasing tx start threshold to 240 bytes
xl0: transmission error: 90
xl0: tx underrun, increasing tx start threshold to 300 bytes
xl0: transmission error: 90
xl0: tx underrun, increasing tx start threshold to 360 bytes

Any ideas how I can speed up things a little bit?

Thanks,
Johann

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010717201249.DBE3A37B401>