5915699153
If using multiple cores on a system with hardware transactional
memory support, thread scaling does not work, as there was a single
point in the hash library which is a bottleneck for all threads,
which is the "free_slots" ring, which stores all the indices of
the free slots in the table.
This patch fixes the problem, by creating a local cache per logical core,
which stores locally indices of free slots,
so most times, writer threads will not interfere each other.
Fixes:
|
||
---|---|---|
.. | ||
cmdline_test | ||
proc_info | ||
test | ||
test-acl | ||
test-pipeline | ||
test-pmd | ||
Makefile |