You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2014/02/03 05:12:05 UTC

svn commit: r1563770 - in /lucene/dev/branches/branch_4x: ./ solr/ solr/CHANGES.txt solr/core/ solr/core/src/java/org/apache/solr/store/blockcache/CustomBufferedIndexInput.java

Author: markrmiller
Date: Mon Feb  3 04:12:05 2014
New Revision: 1563770

URL: http://svn.apache.org/r1563770
Log:
SOLR-5667: Performance problem when not using hdfs block cache.

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/solr/   (props changed)
    lucene/dev/branches/branch_4x/solr/CHANGES.txt   (contents, props changed)
    lucene/dev/branches/branch_4x/solr/core/   (props changed)
    lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/store/blockcache/CustomBufferedIndexInput.java

Modified: lucene/dev/branches/branch_4x/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/CHANGES.txt?rev=1563770&r1=1563769&r2=1563770&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/CHANGES.txt (original)
+++ lucene/dev/branches/branch_4x/solr/CHANGES.txt Mon Feb  3 04:12:05 2014
@@ -221,6 +221,8 @@ Bug Fixes
 * SOLR-5634: SolrJ GroupCommand.getNGroups returns null if group.format=simple
   and group.ngroups=true. (Artem Lukanin via shalin)
 
+* SOLR-5667: Performance problem when not using hdfs block cache. (Mark Miller)
+
 Optimizations
 ----------------------
 

Modified: lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/store/blockcache/CustomBufferedIndexInput.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/store/blockcache/CustomBufferedIndexInput.java?rev=1563770&r1=1563769&r2=1563770&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/store/blockcache/CustomBufferedIndexInput.java (original)
+++ lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/store/blockcache/CustomBufferedIndexInput.java Mon Feb  3 04:12:05 2014
@@ -25,7 +25,7 @@ import org.apache.lucene.store.IndexOutp
 
 public abstract class CustomBufferedIndexInput extends IndexInput {
   
-  public static final int BUFFER_SIZE = 1024;
+  public static final int BUFFER_SIZE = 32768;
   
   private int bufferSize = BUFFER_SIZE;