If you can use all that memory for index, I would say RAM. For long running indexes (to get os cache populated), MMAP will do just as good if you have any file system worth using.
----- Original Message ---- From: Michael Chan <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Sunday, 28 May, 2006 10:09:30 AM Subject: MMapDirectory vs RAMDirectory Hi, On a 64-bit platform with 30gb RAM and 8 real CPUs, should MMapDirectory or RAMDirectory provide better search performance on a 5gb index? Cheers, Michael --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]