[prev in list] [next in list] [prev in thread] [next in thread]
List: solr-user
Subject: Re: How can I disable fsync()?
From: Grant Ingersoll <gsingers () apache ! org>
Date: 2010-10-29 21:39:14
Message-ID: 42A9D636-A698-4E46-AEF2-F075A7E4807A () apache ! org
[Download RAW message or body]
On Oct 29, 2010, at 2:11 PM, Igor Chudov wrote:
> Thanks to all and I made Solr work very well on one newer machine.
>
> Now I am setting up Solr on an older server with an IDE hard drive.
>
> Unfortunately, populating the index takes FOREVER due to
> Solr/Lucene/Tomcat calling fsync() a lot after every write.
>
> I would like to know how to disable fsync.
>
> I am very aware of the risks of not having fsync() and I DO NOT CARE
> ABOUT THEM AND DO NOT WANT TO BE REMINDED.
>
> I just want to know how can I disable fsync() when adding to Solr index.
Have a look at FSDirectory.fsync(). That's at least a starting point. YMMV.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic