Hi,

E.g., the Linux kernel implementation of tmpfs (inspired by Solaris) is to work 
solely on virtual memory - RTFM: 
https://www.kernel.org/doc/Documentation/filesystems/tmpfs.txt
This is the main difference between a stupid old ramfs (aka RAM disk) and tmpfs.

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


> -----Original Message-----
> From: Reg [mailto:register9...@gmail.com]
> Sent: Tuesday, October 22, 2013 8:27 AM
> To: java-user@lucene.apache.org
> Subject: use MMapDirectory with tmpfs?
> 
> Hi there,
> 
> If I put Lucene segments on tmpfs and use MMapDirectory to access them,
> would the kernel be so dumb to load the files from tmpfs to another copy of
> file system cache before map it to the virtual address?  Or it just maps tmpfs
> to the virtual address directly?  I tend to believe it's the later but want to
> confirm with the experts.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to