Subject: Re: How do I supress/shrink VM Page Cache for large files?
To: None <tech-kern@netbsd.org>
From: felix zaslavskiy <felix@students.poly.edu>
List: tech-kern
Date: 06/13/2003 04:53:58
On Fri, 2003-06-13 at 04:53, der Mouse wrote:
> > I've got an application that generates logging events to a file--
> > this file continually grows and can consume over 1 Gbyte of disk
> > space.
> 
> > For my application, I will *never* read back the file,
> 
> If you will *never* read it, I have to ask, why bother writing it?
> Surely the most effective and efficient thing to do is to just
> altogether skip writing data that will never be read....
> 
Obviously its for logging as the poster said.
Application like an intrusion detection system may want to log alot of
data which can be analized on a different machine later.

Have you tried fsync ?
 

> /~\ The ASCII				der Mouse
> \ / Ribbon Campaign
>  X  Against HTML	       mouse@rodents.montreal.qc.ca
> / \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
>