From owner-freebsd-hackers Tue Nov 14 15:28:30 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dayspring.firedrake.org (dayspring.firedrake.org [195.82.105.251]) by hub.freebsd.org (Postfix) with ESMTP id 6FD3637B4C5 for ; Tue, 14 Nov 2000 15:28:27 -0800 (PST) Received: from float by dayspring.firedrake.org with local (Exim 3.12 #1 (Debian)) id 13vpUn-0003oM-00; Tue, 14 Nov 2000 23:28:09 +0000 Date: Tue, 14 Nov 2000 23:28:09 +0000 To: Nicole Cc: freebsd-hackers@freebsd.org Subject: Re: What is the cost of a simlink? Message-ID: <20001114232809.A14478@firedrake.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from nicole@unixgirl.com on Tue, Nov 14, 2000 at 02:34:54PM -0700 From: void Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Nov 14, 2000 at 02:34:54PM -0700, Nicole wrote: > > Greetings > I have a disk load problem I was hoping to solve by using an added disk and > simlinking a number of directories over to the new disk. > > These are directories to be accessed by apache and there may be as many as > 40-60 simlinks to the new drive for the data directories. > > My question is how much of a hit do I take by using this large a number of > simlinks? How much processing/memory usage does it eat to traverse a link from > one disk top another? It's about the same cost as another layer of directory structure. The biggest cost will be disk seeks, but if you have enough memory, that shouldn't happen too often. -- Ben 220 go.ahead.make.my.day ESMTP Postfix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message