Why solr 4.0 use FSIndexOutput to write file, otherwise MMap/NIO

2013-06-27 Thread Jeffery Wang
e write. It only use FSIndexOutput for file write(FSIndexOutput extends BufferedIndexOutput). Does FSIndexOutput wirte file very slow than MMap/NIO? How to improve the IO write performance. Thanks, __________ Jeffery Wang

RE: Solr 4.0 Optimize query very slow before the optimize end of a few minutes

2013-06-14 Thread Jeffery Wang
ache.org Subject: RE: Solr 4.0 Optimize query very slow before the optimize end of a few minutes On Fri, 2013-06-14 at 06:59 +0200, Jeffery Wang wrote: > Time queryTime(ms), CPU % r/s w/s rMB/s wMB/s IO % > ... > 7:30:52 16594 26 36 0 0.140

RE: Solr 4.0 Optimize query very slow before the optimize end of a few minutes

2013-06-13 Thread Jeffery Wang
ing a static index is OK and yes, if your index is "very unoptimized" then yes, it will be slower than when it is optimized not sure if that addresses your concerns... Otis -- Solr & ElasticSearch Support -- http://sematext.com/ On Fri, Jun 14, 2013 at 12:04 AM, Jeffery Wang

Solr 4.0 Optimize query very slow before the optimize end of a few minutes

2013-06-13 Thread Jeffery Wang
0.01 99.8 Thanks, ______ Jeffery Wang