From owner-freebsd-questions@FreeBSD.ORG Mon Mar 17 15:45:22 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 4F9321065674 for ; Mon, 17 Mar 2008 15:45:22 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from corellia.vindaloo.com (corellia.vindaloo.com [64.51.148.100]) by mx1.freebsd.org (Postfix) with ESMTP id 1FFDC8FC2E for ; Mon, 17 Mar 2008 15:45:22 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from yavin.vindaloo.com (yavin.vindaloo.com [172.24.144.34]) by corellia.vindaloo.com (Postfix) with ESMTP id 7225F5D73 for ; Mon, 17 Mar 2008 11:45:19 -0400 (EDT) Received: by yavin.vindaloo.com (Postfix, from userid 1001) id 1AA22253A4; Mon, 17 Mar 2008 11:45:19 -0400 (EDT) Message-Id: From: Christopher Sean Hilton To: Frank Bonnet In-Reply-To: <47DE312E.2030209@esiee.fr> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes X-Smtp-Server: smtp.vindaloo.com:chris Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 17 Mar 2008 07:41:16 -0400 References: <47DE312E.2030209@esiee.fr> Resent-From: chris@vindaloo.com Resent-Date: Mon, 17 Mar 2008 11:45:18 -0400 Resent-To: freebsd-questions@freebsd.org Resent-Message-Id: <20080317154519.1AA22253A4@yavin.vindaloo.com> Cc: Subject: Re: Does softupdate help squid ? 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: Mon, 17 Mar 2008 15:45:22 -0000 On Mar 17, 2008, at 4:51 AM, Frank Bonnet wrote: > Hello > > I'm setting up a squid cache (3.0.2) machine FreeBSD 7.0 based and I > wonder > if softupdates could help (make it faster ) or not the cache > partition ? > I can't imagine that it would hurt. Last I looked though squid may not be the best tool for this job. Poul Henning-Kamp has written an http accelerator called varnish. I'll start by saying that implementing varnish is on list of things to do so my experience is purely anecdotal. No that I've said that, the feature that grabbed my attention was the fact that it's written to modern unix. If I understand what I read correctly this means that varnish eschews squids separation of the cache into a fast cache in memory and a slow cache on disk. Instead varnish uses a big memory mapped file allowing the operating system to manage which cache objects are in memory and which ones are on disk. On FreeBSD at least that would seem to me to be a bigger performance win than softupdates. -- Chris