StackOverflow Questions for Tag: false-sharing

hookenz
hookenz

Reputation: 38947

How and when to align to cache line size?

Score: 76

Views: 42267

Answers: 2

Read More
Nathan Doromal
Nathan Doromal

Reputation: 3547

What does the C++ compiler do to ensure that different but adjacent memory locations are safe to be used on different threads?

Score: 47

Views: 3394

Answers: 2

Read More
jdphenix
jdphenix

Reputation: 15445

Parallel Framework and avoiding false sharing

Score: 12

Views: 1532

Answers: 2

Read More
fabian
fabian

Reputation: 1881

Why does Perf c2c display cachline contention for read-only variables?

Score: 1

Views: 41

Answers: 0

Read More
fabian
fabian

Reputation: 1881

Why don't I see more false sharing when different Threads write to the same variable?

Score: 1

Views: 113

Answers: 1

Read More
progr
progr

Reputation: 63

Can false sharing happen in Direct-Mapped Cache?

Score: 0

Views: 100

Answers: 3

Read More
Rishi Jain
Rishi Jain

Reputation: 133

Why am I getting cache miss while accessing a variable, only updated by the same thread?

Score: 1

Views: 89

Answers: 0

Read More
aolo2
aolo2

Reputation: 101

How can a weaker memory model prevent slowdown from false sharing?

Score: 6

Views: 202

Answers: 0

Read More
egev
egev

Reputation: 51

Thread safety with std::vector (accessing and modifying different vector items with different threads)

Score: 0

Views: 87

Answers: 0

Read More
SinkOrSwim
SinkOrSwim

Reputation: 1

Multicore Processor False Sharing Problem

Score: 0

Views: 27

Answers: 0

Read More
apadana
apadana

Reputation: 722

How minimize "false sharing" in this array processing with OpenMP?

Score: 3

Views: 174

Answers: 1

Read More
Aean
Aean

Reputation: 779

What is "false sharing"? How to reproduce / avoid it?

Score: 20

Views: 15653

Answers: 2

Read More
user11313931
user11313931

Reputation:

What is true sharing?

Score: 12

Views: 5445

Answers: 4

Read More
Mercurial
Mercurial

Reputation: 1

How to modify a Linux kernel header file without compiling like livepatch?

Score: 0

Views: 186

Answers: 0

Read More
Rajesh Shashi Kumar
Rajesh Shashi Kumar

Reputation: 137

Is there false-sharing when writing to unique elements of an output array?

Score: 0

Views: 41

Answers: 1

Read More
Zeosleus
Zeosleus

Reputation: 51

When examining False Sharing, why are there more L1d cache misses when running with sibling-threads than when running with independent threads

Score: 3

Views: 264

Answers: 1

Read More
Claudio Tomasi
Claudio Tomasi

Reputation: 153

Workaround for writing in different entries of the same vector in multithreading

Score: 1

Views: 78

Answers: 1

Read More
Dan Kennedy
Dan Kennedy

Reputation: 538

How can one analyze cacheline contention for multithreaded programs on Linux/AMD? Like "perf c2c" can for Intel

Score: 1

Views: 196

Answers: 1

Read More
Chris Costa
Chris Costa

Reputation: 691

Parallelise 2 for loops with OpenMP

Score: 0

Views: 86

Answers: 1

Read More
Stan
Stan

Reputation: 327

How many cycles does false sharing cost?

Score: 0

Views: 162

Answers: 0

Read More
PreviousPage 1Next