From owner-freebsd-questions@FreeBSD.ORG Wed Dec 15 05:51:17 2004 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 2013716A4CE for ; Wed, 15 Dec 2004 05:51:17 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0C6B43D60 for ; Wed, 15 Dec 2004 05:51:16 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: by rproxy.gmail.com with SMTP id q1so518726rnf for ; Tue, 14 Dec 2004 21:51:13 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=LctPFx1drpPF9r2yWSkStADIklyypPQjDxuQm3QWPGKgLtOjJegybbKkekRGjK6EbhE0a8mh/8VSq9lOkQEWi1URAzpIi5i7ytEoW4LnLcfnstbQTjrKpfrg/NrHc10Q5VRUcbapECWgEe+/E5NDnjEfz/+oNUL8SPB7npK/C7g= Received: by 10.38.83.22 with SMTP id g22mr2628290rnb; Tue, 14 Dec 2004 21:51:13 -0800 (PST) Received: by 10.38.101.55 with HTTP; Tue, 14 Dec 2004 21:51:13 -0800 (PST) Message-ID: Date: Tue, 14 Dec 2004 23:51:13 -0600 From: Eric Kjeldergaard To: Greg 'groggy' Lehey In-Reply-To: <20041215041357.GE862@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <001d01c4e259$452536d0$0200a8c0@PANASONIULSWMR> <20041215035627.GD862@wantadilla.lemis.com> <004c01c4e25b$59bd5c60$0200a8c0@PANASONIULSWMR> <20041215041357.GE862@wantadilla.lemis.com> cc: Adam cc: freebsd-questions@freebsd.org Subject: Re: Use /var for storing webpages.. Why??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eric Kjeldergaard List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2004 05:51:17 -0000 > > Does storing webpages in /var give you a performance increase? > > No. > Well, this is not necessarily true. When designing a server and optimising for performance, one thinks about which partitions will get certain types of usage. One that varies a lot you will want to have a fast disk or the fast part of a disk. When designing one that changes very little, you would want to utilise the slower drives/parts of drives. In this way, if you page is variant data (changes a lot) and you've designed your system such that frequently modified directories (/var and /tmp, for isntance) get the fastest partitions, certainly it would give a performance increase. -- If I write a signature, my emails will appear more personalised.