GPU621/DPS921 G P Index 20177
GPU621/DPS921 | Participants | Groups and Projects | Resources | Glossary
Please add an overview of your group here and create a separate project page for your group!
Project Rules
- Use the Group page for a Journal of your activities throughout the course of the project
- Project should cover material that differ from the material on the course web site
- Presentation can be in powerpoint or walkthru the group project page
- Link to the project page should be on the Participants table
- Presentation slots are first come first served
- Attendance at all presentations is mandatory - marks will be deducted for absenteeism
- Marks will be awarded for both Group Wiki page and for the Presentation
Sample Projects (Former Students)
Suggested Projects (each * denotes one group that has claimed this topic)
- Intel Parallel Studio Advisor - [Intel Site]
- Intel Parallel Studio Inspector - [Intel Site]
- Intel Parallel Studio vTune Amplifier - [Intel Site] *
- Intel Math Kernel Library* - [Intel Site]
- Intel Data Analytics Acceleration Library - [Intel Site] *
- Totalview Debugger - [Get Student License]
- OpenMP Debugging in Visual Studio - [MSDN Notes] *
- Debugging Threads in Intel Parallel Studio - [Dr Dobbs Article]
- Analyzing False Sharing - [Herb Sutter's Article]
- The Chapel Programming Language - [Chapel Site]
- Apache's Spark - [Spark Site]
- OpenMP Profiler - [ompP]
- C++11 Threads Library Comparison to OpenMP - Case Studies*
- C++11 STL Comparison to TBB - Case Studies*
Group and Project Index
You can find a sample project page template here
Sample Project
Project Title here
Team Hortons
Multithreading with Rust
Alpha Centauri
Intel® Data Analytics Acceleration Library
Group Members
Progress
0%
Game of Threads
C++11 Threads Library Comparison to OpenMP - Case Studies
Team MMD
Intel Math Kernel Library
Group Members
Team Debug
OpenMP Debugging in Visual Studio
Team Go
Go Programming Language
Team NP Complete
Quantum Tunneling Simulation
Team False Sharing
In symmetric multiprocessor systems (SMP), each processor has a local cahce. The memory system must guarantee cache coherence. False sharing occurs when threads on different processors modify variables that reside on the same cache line. This invalidates the cache line and forces an update, which hurts performance.
False sharing is a well-know performance issue on SMP systems, where each processor has a local cache. it occurs when treads on different processors modify varibles that reside on th the same cache line like so.
In Figure, threads 0 and 1 require variables that are adjacent in memory and reside on the same cache line. The cache line is loaded into the caches of CPU 0 and CPU 1. Even though the threads modify different variables, the cahche line is invalidatedm forcing a memory update to maintain cache coherency.
To ensure data consistency across multiple caches, multiprocessor-capable Intel® processors follow the MESI (Modified/Exclusive/Shared/Invalid) protocol. On first load of a cache line, the processor will mark the cache line as ‘Exclusive’ access. As long as the cache line is marked exclusive, subsequent loads are free to use the existing data in cache. If the processor sees the same cache line loaded by another processor on the bus, it marks the cache line with ‘Shared’ access. If the processor stores a cache line marked as ‘S’, the cache line is marked as ‘Modified’ and all other processors are sent an ‘Invalid’ cache line message. If the processor sees the same cache line which is now marked ‘M’ being accessed by another processor, the processor stores the cache line back to memory and marks its cache line as ‘Shared’. The other processor that is accessing the same cache line incurs a cache miss.
The frequent coordination required between processors when cache lines are marked ‘Invalid’ requires cache lines to be written to memory and subsequently loaded. False sharing increases this coordination and can significantly degrade application performance.
Analyzing False Sharing
Team Darth Vector
C++11 STL Comparison to TBB - Case Studies
Team Lion
Intel Parallel Studio vTune Amplifier
Presentation Schedule
Team Name | Date and Time |
Team Hortons | December 15 11:40 |
Game of Threads | December 15 12:00 |
Team MMD | December 15 12:20 |
December 15 12:40 | |
December 15 13:00 | |
Team Go | December 18 13:30 |
December 18 13:50 | |
Alpha Centauri | December 18 14:10 |
Darth Vector | December 18 14:30 |
Team False Sharing | December 18 14:50 |
Team Debug | December 22 11:40 |
Team Lion | December 22 12:00 |
Team NP Complete | December 22 12:20 |