From owner-freebsd-questions@FreeBSD.ORG Tue Jul 1 15:29:02 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 0F9361065680 for ; Tue, 1 Jul 2008 15:29:02 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id BF8888FC18 for ; Tue, 1 Jul 2008 15:29:01 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so86543yxb.13 for ; Tue, 01 Jul 2008 08:29:01 -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:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=SrgJWLYNC6J5NMU6B2aNGXB49FIjtcuVOHTfrLHnBAw=; b=tQipAFCyKnLbfoxmzKTQ5vuocGydA5xQ97c3eSbS0Sph6RbfsOU7iO/2bXFW1NrFkU J5cz68VoSOijmDwic8uTwCcz5MNn4LNadr3JsyjDOqT6YROP8+wm2aLG5ME4LWMYz1xn hbxuxDyZDzS81UmboDgHwFFYsU8TWPqY9v2I0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=vXPqYHtMR2ql6Jv+V2qFXd94nLYu35qRCjlkpqvcHaVVJE0xv2rX8Tlw8z/GTsftgZ nBPsTGIB8tBTtskERa8mBD8AI6iW+Fl6HkaS2FCqFROm41RoW5sQgQJ9ThX8pNIUYC8l 5yrw/6cFzQWZPnVyDaonXkwvDu77+nfsy4/zE= Received: by 10.142.232.20 with SMTP id e20mr2525593wfh.85.1214926139511; Tue, 01 Jul 2008 08:28:59 -0700 (PDT) Received: by 10.143.156.7 with HTTP; Tue, 1 Jul 2008 08:28:59 -0700 (PDT) Message-ID: Date: Tue, 1 Jul 2008 08:28:59 -0700 From: "Kurt Buff" To: "freebsd-questions@freebsd.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: 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 15:29:02 -0000 On Mon, Jun 30, 2008 at 5:11 PM, Kurt Buff wrote: > 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 To further extend the question - what about things like mounting the RAID0 noatime, or other speed-enhancing settings? I've been reading and googleing, trying to figure out how to mount it at boot, and I'm finding it a bit confusing. Kurt