[ 
https://issues.apache.org/jira/browse/SOLR-5667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13890997#comment-13890997
 ] 

Mark Miller commented on SOLR-5667:
-----------------------------------

I put in a 32k buffer for now. Other parts in the code use a 32k buffer already 
(when the block cache is on), and initial performance testing showed it to 
performant. It fixes the performance bug.

I do think we want to look at the optimal settings and sizes throughout the 
hdfs directory and block cache code, but that should be done more holistically 
rather than as part of this discreet performance bug fix. 

> Performance problem when not using hdfs block cache.
> ----------------------------------------------------
>
>                 Key: SOLR-5667
>                 URL: https://issues.apache.org/jira/browse/SOLR-5667
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 5.0, 4.7
>
>
> Reads are terribly slow due to what looks like a too small buffer in the 
> buffered input. This has consequences for SOLR-1301, as we turn off the block 
> cache when writing indexes with map-reduce.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to