From owner-freebsd-questions Tue Jul 17 13:12:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from issv0171.isis.de (issv0171.isis.de [195.158.131.223]) by hub.freebsd.org (Postfix) with SMTP id DBE3A37B401 for ; Tue, 17 Jul 2001 13:12:49 -0700 (PDT) (envelope-from jerfa@yahoo.com) Received: (qmail 20769 invoked by uid 1010); 17 Jul 2001 20:12:47 -0000 Received: from unknown (HELO diana.ww) ([195.158.135.234]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 17 Jul 2001 20:12:47 -0000 Received: from localhost (127.0.0.1) by diana.ww (172.25.25.7) with smtp ; Tue, 17 Jul 2001 22:11:39 +0200 X-Posting-Agent: Hamster/1.3.22.0 Posted-and-Mailed: no Subject: Slow file transfers from NT4 to FreeBSD From: jerfa@yahoo.com (Johann Frisch) User-Agent: Xnews/4.05.11 To: freebsd-questions@freebsd.org Message-Id: <20010717201249.DBE3A37B401@hub.freebsd.org> Date: Tue, 17 Jul 2001 13:12:49 -0700 (PDT) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: (vendor=0x10b9, dev=0x1449) at 2.0 atapci0: at device 3.0 on pci0 atapci0: Busmastering DMA not supported atapci0: Busmastering DMA disabled pci0: at 4.0 ncr0: 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: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isa0: on motherboard fdc0: 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: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: 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: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 cs0 at port 0x210-0x22f irq 10 drq 0 on isa0 ad0: 516MB [1049/16/63] at ata0-master BIOSPIO ad1: 405MB [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: 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