From owner-freebsd-questions@FreeBSD.ORG Tue Jul 1 00:11:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07CB21065673 for ; Tue, 1 Jul 2008 00:11:53 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id D0F6C8FC13 for ; Tue, 1 Jul 2008 00:11:52 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1613460wfg.7 for ; Mon, 30 Jun 2008 17:11:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=FyioF8I7GOCA+Mr5I83Y9Pn0hYfpXTyZ5tb63wsqCMo=; b=V943pjZXrhwh45XkZu72DFcjBXFQT1WqU3UcfcJZTNqO92knpx/28F5VpZVfCUBhL8 g1WctRUJSZAfwo7LhT/2PUrZL0y2GvJKUSx8tk90yqLv3piMLmiYu3muFMSjWnbwMKtP erT/ugsfLKGt5YK386AZSc/iWU+EfJfaLATrQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=ABclIC/L+eQw8tU36449Pe6hAU0ZTl/Pwqki4Ct+njcD/efMsu3w2rNiSFlEbVa3Za usoBzyj7TzBHYiVsB+Mla1Ua4aRupsWs1a2PXzUrrEsr034L1t3v5IuWRmJpQ6DT26b5 PBRFIO6gn2ugPyGt+pkdx2v56jHjyo2bq26fs= Received: by 10.142.158.3 with SMTP id g3mr2153426wfe.347.1214871112206; Mon, 30 Jun 2008 17:11:52 -0700 (PDT) Received: by 10.143.156.7 with HTTP; Mon, 30 Jun 2008 17:11:52 -0700 (PDT) Message-ID: Date: Mon, 30 Jun 2008 17:11:52 -0700 From: "Kurt Buff" To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Configuring an older server for speed... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2008 00:11:53 -0000 All, I've got a Compaq ML570 with 2gb RAM, dual PIII Xeon 700s and 5x10k RPM drives in it attached to a Compaq 5300 RAID card that I'm going to be using as a squid box. I've configured two drives as RAID 1 with the third as a hot spare, and two drives as RAID0 - I intend to put the squid cache on the latter, and have mounted it as /squid. I'm running 7STABLE from a couple of days ago. What might I do to achieve better/best performance? I'm replacing a less capable whitebox. One of the big issues I've had has manifested itself recently - we've moved from a T1 to a DS3, and while overall throughput has increased dramatically, people are now complaining that "the Internet is slow", which I've found is all down to initial page load. I'm pursuing optimizing squid elsewhere, and want to focus on getting this box as fast as I reasonably can before sticking squid on it. I've got more RAM to put into it - I'd be stealing from another machine that's little used, but I should be able to get it to 4gb RAM. As a benchmark, there are about 230 people in my site who will be using this box for their proxy, and their usage is all over the map - worse, I haven't been given the time to put any analysis tools into play to figure out the load on the old box, as we're in the middle of a number of other projects of equal or higher priority. Kurt