Adjust cache line size #1

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants

suranap commented Nov 23, 2011

A cache line size is 64 byes on modern CPUs. But the code appears to assume a size of 32 bytes. I adjusted two constants to increase the padding between counters.

A cache line is 64 bytes, or 8 longs. Therefore, I think the pad shou…
…ld be 3 bits and the initial CAT size should be 8 longs.

@ghost ghost assigned moonpolysoft and d2fn Aug 10, 2012

@moonpolysoft moonpolysoft assigned moonpolysoft and unassigned d2fn May 12, 2014

@moonpolysoft moonpolysoft removed their assignment Mar 3, 2015

@suranap suranap closed this May 24, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment