Mmapfs for all 64bit OSs?


(Andrew Ochsner) #1

Hi:

Is there a reason why mmapfs is enabled by default for 64bit Windows and
Solaris only? Just curious before I go do some benchmarking on my 64bit
Linux cluster...

Thanks
Andy O

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Jörg Prante) #2

+1

In Lucene, it has changed some time ago.

http://svn.apache.org/repos/asf/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/FSDirectory.java

Before that, there were some annoying mmap related bugs in some versions of
Linux JVMs which crashed Lucene. So the Lucene team decided to remove mmap
as default from Linux.

Probably it was forgotten to make this change in ES, too.

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Andrew Ochsner) #3

Yep, that's what I found out as well (forgot to update my post).
Created https://github.com/elasticsearch/elasticsearch/issues/4134

On Friday, November 8, 2013 4:42:19 PM UTC-6, Jörg Prante wrote:

+1

In Lucene, it has changed some time ago.

http://svn.apache.org/repos/asf/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/FSDirectory.java

Before that, there were some annoying mmap related bugs in some versions
of Linux JVMs which crashed Lucene. So the Lucene team decided to remove
mmap as default from Linux.

Probably it was forgotten to make this change in ES, too.

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4