COOKIES: By using this website you agree that we can place Google Analytics Cookies on your device for performance monitoring. |
NetOS TalkletAdd to your list(s) Download to your calendar using vCal
If you have a question about this talk, please contact Ionel Gog. C/C+11 introduced a memory model and explicit orderings on atomic variables into the C/C+ languages. This allows developers of multithreaded programs on multicore systems to choose between a sequentially consistent or more relaxed memory model, with the former easier to reason about and the latter giving faster programs on modern architectures. LLVM IR incorporated a C/C++11 compatible memory model in LLVM 3 .0. ARM is the most widespread LLVM -supported architecture with a weak memory model by default, and explicit barriers are provided by the data memory barrier (dmb) instruction. We have found that that LLVM ’s insertion of memory barriers is too aggressive in certain cases and present two machine instruction passes that remove these extra instructions where they can be proven to be redundant. The result is a 40% speedup in the lockless data structure that we profiled. We compare the sequentially consistent implementation with one that makes use of more relaxed acquire and release barriers and demonstrate that the compiler is able to generate the same machine code for both. This talk will cover the memory model in C/C++11, LLVM IR , and on the hardware and discuss the importance of efficient generation of relaxed memory semantics for scalable multithreaded code. We will present our optimisations and propose future directions for improving LLVM ’s code generation on weakly ordered architectures. This talk is part of the Computer Laboratory NetOS Group Talklets series. This talk is included in these lists:
Note that ex-directory lists are not shown. |
Other listsBook Launches Occasional neuroscience talks From Genotype to Phenotype: Resources and Challenges (10th June 2009, Hinxton) Cambridge AWiSE Molecular, Structural & Cellular MicrobiologyOther talksAutumn Cactus & Succulent Show Making Refuge: Academics at Risk SciBar: Sleep, Dreams and Consciousness Social Representations of Women who Live as Men in Northern Albania A domain-decomposition-based model reduction method for convection-diffusion equations with random coefficients Symplectic topology of K3 surfaces via mirror symmetry Market Socialism and Community Rating in Health Insurance Atiyah Floer conjecture Computing High Resolution Health(care) St Catharine’s Political Economy Seminar - ‘Global Imbalances and Greece's Exit from the Crisis’ by Dimitrios Tsomocos |