Subject: Re: Question on speeding up zone file access
To: None <netbsd-users@netbsd.org>
From: Stefan Sonnenberg-Carstens <ssc@coolspot.de>
List: netbsd-users
Date: 07/20/2004 16:47:24
create an mfs filesystem an copy the files on startup into that fs.
That should do the trick.

Am Dienstag, 20. Juli 2004 13:15 schrieb Christoph Kaegi:
> Dear fellow netbsd users
>
> I am running an rbl secondary with about 300-600 requests/s, and naturally,
> there are lots of reads on the zonefiles.
>
> The 3 zonefiles are about 11MB in size.
>
> I would like to have them fully cached in memory.
> What would be the best way to achieve that in NetBSD?
>
> Would creating an mfs filesystem and replicating the
> zonefile directory into the mfs by mount_nullfs be a
> good solution?
>
> Is there a possibility to mark files a special way so they
> get cached by the filesystem cache completely until they
> change?
>
> Thanks
> Chris