Bug #2490

nmalloc should color addresses to avoid cache bank conflictsw

Added by vsrinivas over 1 year ago. Updated about 1 month ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Feature request
Target version:-

Description

nmalloc returns addresses without regard as to whether those addresses
will result in cache bank conflicts; cache bank conflicts will result
in wasting a fair amount of a CPU's load bandwidth, as seen in the
Himeno matrix benchmark, among others.

commit 8120f5e2a46e669c06a7afdd7de60fa6d6996f9d added simple cache
coloring to nmalloc for 32KB allocations, offsetting them by 4KB. While
it does work (and restores Himeno's performance), it can be substantially
improved on. We should look at doing so.

-- vs;

History

#1 Updated by jorisgio about 1 month ago

  • Description updated (diff)
  • Category set to Feature request

Also available in: Atom PDF