3 ms·
How many producers and how many consumers is that 650 nanoseconds? I have pinned threads to even numbered cores with pthread_setaffinity_np and that seems to h
by samsquire 3y ago
How many producers and how many consumers is that 650 nanoseconds?
I have pinned threads to even numbered cores with pthread_setaffinity_np and that seems to have evened out the MPMC ringbuffer - 2 producers 2 consumers to under 400 nanoseconds, usually under 1000 nanoseconds. I think hyperthreading causes problems.
EDIT: Would you like to chat about this? I would like to! My email is in my profile.