Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2000 23:28:09 +0000
From:      void <float@firedrake.org>
To:        Nicole <nicole@unixgirl.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: What is the cost of a simlink?
Message-ID:  <20001114232809.A14478@firedrake.org>
In-Reply-To: <XFMail.001114143454.nicole@unixgirl.com>; from nicole@unixgirl.com on Tue, Nov 14, 2000 at 02:34:54PM -0700
References:  <XFMail.001114143454.nicole@unixgirl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001114232809.A14478>