Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Apr 2003 13:58:52 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        "Andrew R. Reiter" <arr@watson.org>
Cc:        freebsd-smp@freebsd.org
Subject:   Re: namecache
Message-ID:  <3E8E001C.B39BF3ED@mindspring.com>
References:  <20030404153953.S62312@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Andrew R. Reiter" wrote:
> Awhile back I shot a patch to this list for review that locked down some
> stuff in the namecache arena.  I feel the patch was OK, but not great.
> 
> What I want to do is something w/o any locks, but I dont feel I have a
> good enough grasp of that code base to do something really well since I
> know it would most likely require a rewrite of that code.  I know solaris
> restructured their namecache implementation to do something similar.  Tho,
> I am not sure about irix or others.
> 
> To the point; anyone know of any good papers on this subject (namecache
> implementations)?

	Solaris Internals: Core Kernel Architecture
	Jim Mauro, Richard McDougall
	Prentice Hall
	ISBN: 0130224960

	The Magic Garden Explained: The Internals of Unix
		System V Release 4: An Open Systems Design
	Berny Goodheart, James Cox, John R. Mashey
	Prentice Hall
	ISBN: 0130981389

The first one has a discussion of the structures and how they got
rid of the locks in Solaris (they got rid of the LRU, as a list).

Note: Both refer to it as "DNLC" or "Directory Name Lookup Cache".

-- Terry



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