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

Adrien Grand commented on LUCENE-10143:
---------------------------------------

I found this by looking at nightly profiles and seeing this:

{noformat}
2.14%         10227         java.io.FileOutputStream#write()
                              at java.io.BufferedOutputStream#flushBuffer()
                              at java.io.BufferedOutputStream#write()
                              at 
org.apache.lucene.store.OutputStreamIndexOutput#writeByte()
                              at 
org.apache.lucene.store.RateLimitedIndexOutput#writeByte()
                              at org.apache.lucene.store.DataOutput#writeInt()
                              at org.apache.lucene.store.DataOutput#writeLong()
                              at 
org.apache.lucene.codecs.lucene90.ForUtil#encode()
{noformat}

The NYC taxis benchmark doesn't suffer from this since it uses 
SerialMergeScheduler.

> RateLimitedIndexOutput should delegate writeShort/writeInt/writeLong
> --------------------------------------------------------------------
>
>                 Key: LUCENE-10143
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10143
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Minor
>
> Otherwise merges are not taking advantage of LUCENE-10125.
> cc [~uschindler]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to