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: [email protected] > -----Original Message----- > From: Reg [mailto:[email protected]] > Sent: Tuesday, October 22, 2013 8:27 AM > To: [email protected] > 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: [email protected] For additional commands, e-mail: [email protected]
