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

Eric Pugh commented on SOLR-18693:
----------------------------------

I've been working with a colleague to set up a server to use solr-orbit for 
perf testing.   I've been able to use it successfully to measure the bug 
between 9.8.0 (the multiple threaded search always being on) and 9.8.1.    I'm 
looking to see if our setup can validate other types of performance changes, or 
is it all just too noisy, and you can't isolate a change and measure it.   Any 
thoughts on if this would be a cnadidate?  How would I test it with and without?

>  Opt-in MMapDirectory.setReadAdvice(ADVISE_BY_CONTEXT) via DirectoryFactory
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-18693
>                 URL: https://issues.apache.org/jira/browse/SOLR-18693
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Prithvi S
>            Assignee: Pierre Salagnac
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Lucene 10.3+ (CHANGES https://github.com/apache/lucene/pull/15040) stopped 
> setting read advice by default. Merge/flush
> and DataAccessHints are largely no-ops for madvise unless something calls
> MMapDirectory.setReadAdvice. Solr has no setReadAdvice usages today.
> Add an opt-in solrconfig/init param adviseByContext (default false) on
> StandardDirectoryFactory / MMapDirectoryFactory / NRTCachingDirectoryFactory.
> When enabled, unwrap FilterDirectory/NRTCachingDirectory and call
> setReadAdvice(ADVISE_BY_CONTEXT) if the delegate is an MMapDirectory.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to