[HN Gopher] Measuring the size of the cache line empirically
       ___________________________________________________________________
        
       Measuring the size of the cache line empirically
        
       Author : ashvardanian
       Score  : 23 points
       Date   : 2023-12-12 18:19 UTC (3 days ago)
        
 (HTM) web link (lemire.me)
 (TXT) w3m dump (lemire.me)
        
       | phaker wrote:
       | It and it's getting late here so i can't try it myself, at least
       | not today, but i'd try moving in a fixed, sparse, pseudorandom
       | pattern but vary operation size.
       | 
       | I think this should give a more staircase-y plot, with jumps when
       | the size of each individual copy passes whole multiple of cache
       | line width.
       | 
       | I think this way you don't need to fight prefetching, and there
       | will be one read-modify-write per operation except right at the
       | edges which is another signal.
        
       ___________________________________________________________________
       (page generated 2023-12-15 23:01 UTC)