# Mmapfs for all 64bit OSs?

**URL:** https://discuss.elastic.co/t/mmapfs-for-all-64bit-oss/14330
**Category:** Elasticsearch
**Created:** [November 8, 2013, 7:23pm UTC](https://discuss.elastic.co/t/mmapfs-for-all-64bit-oss/14330 "2013-11-08T19:23:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Andrew\_Ochsner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_ochsner/32/1287_2.png) [@Andrew\_Ochsner](https://discuss.elastic.co/u/Andrew_Ochsner)
#### Post date: [November 8, 2013, 7:23pm UTC](https://discuss.elastic.co/t/mmapfs-for-all-64bit-oss/14330/1 "2013-11-08T19:23:21Z")

</div>

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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)
#### Post date: [November 8, 2013, 10:42pm UTC](https://discuss.elastic.co/t/mmapfs-for-all-64bit-oss/14330/2 "2013-11-08T22:42:19Z")

</div>

+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](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Andrew\_Ochsner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_ochsner/32/1287_2.png) [@Andrew\_Ochsner](https://discuss.elastic.co/u/Andrew_Ochsner)
#### Post date: [November 8, 2013, 10:51pm UTC](https://discuss.elastic.co/t/mmapfs-for-all-64bit-oss/14330/3 "2013-11-08T22:51:32Z")

</div>

Yep, that's what I found out as well (forgot to update my post).  
Created [Make mmapfs the default store for 64-bit Linux · Issue #4134 · elastic/elasticsearch · GitHub](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](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 2:08am UTC](https://discuss.elastic.co/t/mmapfs-for-all-64bit-oss/14330/4 "2017-07-06T02:08:01Z")

</div>


