From owner-freebsd-questions@FreeBSD.ORG Thu Nov 11 23:42:37 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 138E716A4D2 for ; Thu, 11 Nov 2004 23:42:37 +0000 (GMT) Received: from mail.revolutionsp.com (ganymede.revolutionsp.com [64.246.0.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBD1543D41 for ; Thu, 11 Nov 2004 23:42:35 +0000 (GMT) (envelope-from klr@6s-gaming.com) Received: from mail.revolutionsp.com (localhost [127.0.0.1]) by mail.revolutionsp.com (Postfix) with ESMTP id 6B90F15CD6 for ; Thu, 11 Nov 2004 14:38:48 -0600 (CST) Received: from 81.84.174.68 (SquirrelMail authenticated user klr@6s-gaming.com); by mail.revolutionsp.com with HTTP; Thu, 11 Nov 2004 14:38:48 -0600 (CST) Message-ID: <64486.81.84.174.68.1100205528.squirrel@81.84.174.68> Date: Thu, 11 Nov 2004 14:38:48 -0600 (CST) From: klr@6s-gaming.com To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Slowish 5.3 network throughput (LAN) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 23:42:37 -0000 Hi list, About 4 days ago I downloaded 5.3-RELEASE (.iso) from ftp.nl. at about 6mB/s from a server I have on a .nl provider. Today I wanted to do some testing, and while downloading that same ISO (which I downloaded at 6 megabytes/s) from two different servers on the same subnet, the best I got was 130kB/s. My outgoing port 80 pipe on the server allows up to 40mbits, so this rate is incredibly low, and the servers are all on the same subnet! The clients are downloading the .iso from an apache 1.3.33 server with a basic configuration. I didn't have time to test over NFS, to check if it would be any faster.. What's happening here? I can download at 1mBps from my crappy P200 MMX w/ freebsd 4.10 at my lan. This server is a Dual Xeon 2.4Ghz w/ 2GB ram and a decent hdd. It should saturate the 100mbps, but won't go past 130kB/s. Could this be because the server NIC is an em(4) ? I heard there are some problems with the em driver under 5.3. Here are some specs: CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU) Hyperthreading: 2 logical CPUs FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs SMP: AP CPU #3 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! em0: port 0x3000-0x303f mem 0xfc200000-0xfc21ffff irq 54 at device 3.0 on pci2 487 mbufs in use 270/32768 mbuf clusters in use (current/max) 0/4/6656 sfbufs in use (current/peak/max) 661 KBytes allocated to network 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 28 calls to protocol drain routines FreeBSD celestia.celeritystorm.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Mon Nov 1 22:21:19 UTC 2004 klr@celestia.celeretystorm.com:/usr/obj/usr/src/sys/celestia i386 I don't have polling enabled. sacks on, delayed acks on. the PF queue: queue http_out bandwidth 40Mb priority 5 [ pkts: 59257 bytes: 88471020 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 177 ] Any ideas of what might be causing the tremendous slowdown ? Regards, Hugo