gnu.gcc.help
[Top] [All Lists]

false sharing confusion!!

Subject: false sharing confusion!!
From: mynickmynick <mynickmynick@xxxxxxxxx>
Date: Fri, 18 Jul 2008 10:34:18 -0700 (PDT)
Newsgroups: gnu.gcc.help

I know very badly the problem of false sharing.
Questions:
(1) There is a false sharing of 2 processors with 2 cache which can
lead ONLY to inefficiency BUT NOT to bugs (unwanted rush conditions on
not really shared adjacent data)?
(2) There is a false sharing of core-2 Intels with two cores but one
cache? This might lead to BUGS?!
(3) There is a false sharing of core duo with 2 cash (if they exist)
which might be similar to case (1) ?
(4) In a C pthread program what directives or whatever can I use to
prevent at all this f..ng false sharing??
(5) please give me interesting links!

Thank you for support

<Prev in Thread] Current Thread [Next in Thread>
  • false sharing confusion!!, mynickmynick <=