From owner-freebsd-performance@FreeBSD.ORG Wed Oct 15 06:31:10 2003 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 5CD2E16A4B3 for ; Wed, 15 Oct 2003 06:31:10 -0700 (PDT) Received: from smtp13.singnet.com.sg (smtp13.singnet.com.sg [165.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFC8E43FDD for ; Wed, 15 Oct 2003 06:31:08 -0700 (PDT) (envelope-from shanali@blanc.magix.com.sg) Received: from blanc.magix.com.sg (blanc.magix.com.sg [202.166.43.1]) by smtp13.singnet.com.sg (8.12.10/8.12.9) with ESMTP id h9FDV7Bp022844 for ; Wed, 15 Oct 2003 21:31:07 +0800 Received: (from shanali@localhost) by blanc.magix.com.sg (8.12.9p2/8.12.9/Submit) id h9FDYBiW035592 for performance@freebsd.org; Wed, 15 Oct 2003 21:34:11 +0800 (SGT) (envelope-from shanali) Date: Wed, 15 Oct 2003 21:34:11 +0800 From: S H A N To: performance@freebsd.org Message-ID: <20031015133411.GC33951@blanc.magix.com.sg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: How to do calculations for performance tuning? 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: Wed, 15 Oct 2003 13:31:10 -0000 hi, reference to Kernel Tunable's section in FreeBSD handbook.... >>>>> A simple calculation can be done to figure out how many are needed. If you have a web server which maxes out at 1000 simultaneous connections, and each connection eats a 16K receive and 16K send buffer, you need approximately 32MB worth of network buffers to cover the irc server. A >>>>> how can we find out that each HTTP (TCP) connection will eat up 16k recv. and 16k send buffer? and accordingly if they are talking about HTTP (TCP) connections then how we can establish the relevant figures for say a RADIUS (UDP) connection? what means/software/tools usually are out there to find out the utilization of buffer space for a single connection based on a particular application protocol... be it HTTP/SMTP/RADIUS etc... hopefully i am writing to the right mailing list to inquire about all this! rgds, S H A N