DragonFly BSD
DragonFly kernel List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: phk malloc, was (Re: ptmalloc2)


From: Christopher Weimann <cweimann@xxxxxxxxx>
Date: Wed, 23 Feb 2005 16:53:35 -0500

On 02/22/2005-11:33PM, Dan Melomedman wrote:
>
> Another example could be 'dnscache'. It also preallocates the cache
> database of user-configurable size at the start-up. It never writes
> anywthing to the disk, and it doesn't need to, but I wouldn't want it
> to crash because the OS won't have the physical memory it needs on
> random basis.
> 

One of the good things about dnscache is that it only allocates what you
tell it to rather than growing forever like BIND. I think the key here
is don't tell it to allocate more than you have and you won't ever have
a problem.

> Let's stop here then. The feature I am looking for doesn't come with
> Unix by default, beaten horse, etc.

In the case of dnscache at least I don't think it is a feature you need.




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]