goankur commented on PR #16871:
URL: https://github.com/apache/lucene/pull/16871#issuecomment-7142879591

   @pauldoo 
   
   Thanks for taking a look!
   
   I ran main and this PR with the default `numMergeWorkers = 1` on `5M` MS 
MARCO v2.1 vectors (1024 dims, fp32), merging 4 segments into 1 on a 16-vCPU 
`g6.4xlarge` with a cold page cache and saw **no regression**. 
   
   The timings below cover only the centroid and quantization passes this PR 
changes. They don't include the raw-vector copy or the graph build, which it 
doesn't touch.
   
   | | main | this PR |
   |---|---|---|
   | 1 worker | 449 s | 444 s |
   | 16 workers | - | 47 s |
   
   The 1-worker and 16-worker runs write identical bytes. Both differ from main 
only because the centroid is now summed in doubles.
   
   **`copy()`:** agreed, that's a new requirement for wrapped readers. I've 
noted it in the `numMergeWorkers` Javadoc and in CHANGES (6257b1975a). 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to