From owner-freebsd-questions@FreeBSD.ORG Fri Aug 8 12:25:36 2003 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 C01DB37B401 for ; Fri, 8 Aug 2003 12:25:36 -0700 (PDT) Received: from boole.cs.uh.edu (Boole.cs.uh.edu [129.7.240.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FC2343FBF for ; Fri, 8 Aug 2003 12:25:36 -0700 (PDT) (envelope-from pdesai1@cs.uh.edu) Received: from themis.cs.uh.edu (themis [129.7.240.5]) by boole.cs.uh.edu (8.12.9/8.12.8) with ESMTP id h78JPZXI027566 for ; Fri, 8 Aug 2003 14:25:35 -0500 (CDT) Received: from localhost (pdesai1@localhost) by themis.cs.uh.edu (8.11.7+Sun/8.11.4) with ESMTP id h78JPZi01150 for ; Fri, 8 Aug 2003 14:25:35 -0500 (CDT) X-Authentication-Warning: themis.cs.uh.edu: pdesai1 owned process doing -bs Date: Fri, 8 Aug 2003 14:25:35 -0500 (CDT) From: "Pranav A. Desai" To: In-Reply-To: <20030807150600.GC35771@happy-idiot-talk.infracaninophile.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Network performance tuning for large objects 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: Fri, 08 Aug 2003 19:25:37 -0000 Hi! We are running a proxy server on freeBSD 4.6.2 and one of our customer requirements is that the users will be accessing ~500k files. During testing the max req/sec the proxy server can sustain without the user robots complaining is about 200 req/s, as the number of req. go up, connection errors appear on the client side. I followed the kernel tuning section in the handbook and increased the nmbufs and cluster to kern.ipc.nmbclusters: 65536 kern.ipc.nmbufs: 65536 But even then the errors appear. I read about these parameters net.inet.tcp.sendspace: 65536 net.inet.tcp.recvspace: 57344 but I dont know if I should increase these and the above one, because I read it might cause boot time crash. Also, if the testing is done with normal sized objects, then the proxy is easily able to sustain more than 1200 req/s. The network card is Intel 100Mb/s. I would appreciate if anyone can suggest some tuning tips. Thanks you for your time. -Pranav ******************************************************************* Pranav A. Desai