vigyasharma commented on PR #11796:
URL: https://github.com/apache/lucene/pull/11796#issuecomment-1256430088

   > This implementation ignores temporary index outputs from write 
amplification, which I wonder whether this is correct (maybe it is, I struggle 
making an opinion on this question).
   
   Interesting point.. Thinking how/when we'd like to track the impact of temp 
output files. From what I understand, they won't be a part of commit and fsync. 
So if we're trying to measure increased disk or remote store I/O, we probably 
want to skip them?
   
   Maybe, when we make optimizations that write more temp files (like #11411 
?), we'll use this to measure some impact. Although we delete the temp files 
right after, but on a small box, maybe we gives us a sense of increased file 
writes or page fault.
   
   We could add a flag to optionally include temp files.. It would require 
overriding `createTempOutput()` right?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to