shubhamvishu commented on PR #16979:
URL: https://github.com/apache/lucene/pull/16979#issuecomment-6694871049

   The gains from touching the cache lines definitely diminish post bulk 
scoring as you thought. Thought as per my latest run, touch is still helpful 
over bulk in some cases (for 4-bit - little and 8-bit - could be something with 
impl). Big +1 to move ahead with bulk scoring for quantized vectors change - 
thats a low hanging fruit with lot of potential gains. We can run this again 
once that PR is merged.
   
   
   quantized | run | recall | latency(ms) | Δ latency | visited
   -- | -- | -- | -- | -- | --
   1 bit | main | 0.686 | 2.221 |   | 8543
   1 bit | bulk only  | 0.686 | 1.498 | −32.5% | 8543
   1 bit | touch only  | 0.686 | 1.511 | −32.0% | 8543
   1 bit | bulk + touch  | 0.686 | 1.510 | −32.0% | 8543
   4 bit | main | 0.911 | 2.441 |   | 7331
   4 bit | bulk only  | 0.911 | 2.152 | −11.8% | 7331
   4 bit | touch only  | 0.911 | 1.959 | −19.7% | 7331
   4 bit | bulk + touch  | 0.911 | 1.936 | −20.7% | 7331
   8 bit | main | 0.969 | 3.518 |   | 7248
   8 bit | bulk only  | 0.969 | 3.431 | −2.5% | 7248
   8 bit | touch only  | 0.969 | 3.008 | −14.5% | 7248
   8 bit | bulk + touch  | 0.969 | 2.887 | −17.9% | 7248
   float32 | main (already 4-way bulk) | 0.979 | 2.420 |   | 7247
   float32 | touch, all lines | 0.979 | 4.038 | +66.9% (worse) | 7247
   float32 | touch, first line | 0.979 | 2.240 | −7.4% | 7247
   
   
   
   


-- 
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