From owner-freebsd-performance@FreeBSD.ORG Thu Nov 18 10:10:42 2004 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A375216A4DE for ; Thu, 18 Nov 2004 10:10:42 +0000 (GMT) Received: from web14121.mail.yahoo.com (web14121.mail.yahoo.com [66.163.171.112]) by mx1.FreeBSD.org (Postfix) with SMTP id 0DA2343D5F for ; Thu, 18 Nov 2004 10:10:27 +0000 (GMT) (envelope-from cguttesen@yahoo.dk) Received: (qmail 55890 invoked by uid 60001); 18 Nov 2004 10:10:27 -0000 Message-ID: <20041118101026.55888.qmail@web14121.mail.yahoo.com> Received: from [194.248.174.58] by web14121.mail.yahoo.com via HTTP; Thu, 18 Nov 2004 11:10:26 CET Date: Thu, 18 Nov 2004 11:10:26 +0100 (CET) From: Claus Guttesen To: Aaron Glenn , freebsd-performance@freebsd.org In-Reply-To: <18f6019404111801471db5bbfd@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: I've ran out of ideas X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 10:10:43 -0000 > I'm pushing large files via thttpd over low-end > hardware (celeron > 1.8GHz, 512MB RAM, UATA 100 drive) and, out of the > box, FreeBSD > 5.3-RELEASE topped out at 40Mbps sustained. After > creating a separate > partition with a much larger blocksize, it's hit > 50Mbps sustained but > won't go past 54Mbps at all. You could try adding/tweaking HZ to 1000/2000 in kernel and add kern.polling.enable=1 to /etc/sysctl.conf. > Nov 18 04:00:15 d thttpd[38743]: write - Socket is > not connected > sending /path/to/file.name > Try adding: kern.ipc.somaxconn=2048 kern.maxfiles=65536 net.isr.enable=1 to /etc/sysctl.conf as well. net.isr.enable gave better network-performance on a 5.3 RC3 nfs-server and lower cpu-usage. HTH. Claus