Cache Line Alignment

http://www.rdrop.com/users/paulmck/scalability/paper/whymb.2009.04.05a.pdf

http://en.wikipedia.org/wiki/Data_structure_alignment
http://stackoverflow.com/questions/8469427/how-and-when-to-align-to-cache-line-size
http://stackoverflow.com/questions/7281699/aligning-to-cache-line-and-knowing-the-cache-line-size
http://stackoverflow.com/questions/20186859/c-low-latency-threaded-asynchronous-buffered-stream-intended-for-logging-b
http://stackoverflow.com/questions/12592342/lock-free-check-for-modification-of-a-global-shared-state-in-c-using-cache-line?rq=1
http://stackoverflow.com/questions/18236603/cache-lines-false-sharing-and-alignment?rq=1

http://www.eventhelix.com/realtimemantra/basics/CToAssemblyTranslation.htm#.U4Io9_mSzWc

 

Paul paper:

Memory Barriers: a Hardware View for Software Hackers.

 

Performance Profiling tools

C++ CPU profiling:

gperf

https://code.google.com/p/gperftools/?redir=1

http://goog-perftools.sourceforge.net/doc/cpu_profiler.html

IO profiling in Linux:

http://www.linuxprogrammingblog.com/io-profiling

http://www.cs.princeton.edu/picasso/mats/mats_S07/Lucifredi_Lecture_Feb07.pdf

Valgrinds:

Callgrind, 

Cachegrind

 

Java script Profiling:

https://github.com/spy-js/spy-js

cachegrind
http://wwwcdf.pd.infn.it/valgrind/cg_main.html

why cpu matters,
http://www.roguewave.com/DesktopModules/Bring2mind/DMX/Download.aspx?entryid=1134&command=core_download&PortalId=0&TabId=607

Lock less – Lock free -Wait free Links

1. http://moodycamel.com/blog/2013/a-fast-lock-free-queue-for-c++

2. http://www.codeproject.com/Articles/43510/Lock-Free-Single-Producer-Single-Consumer-Circular

3. http://psy-lob-saw.blogspot.hk/2013/03/single-producerconsumer-lock-free-queue.html

4. https://github.com/drbobbeaty/DKit

5. http://www.puppetmastertrading.com/blog/2010/02/16/lock-free/

6. http://codedependents.com/2014/01/27/11-best-practices-for-low-latency-systems/

7. http://preshing.com/20130605/the-worlds-simplest-lock-free-hash-table/

8. http://www.stanford.edu/class/ee380/Abstracts/070221_LockFreeHash.pdf

9. https://github.com/cameron314/readerwriterqueue

10. http://calvados.di.unipi.it/dokuwiki/doku.php/ffnamespace:architecture

11. http://code.google.com/p/cpptask/source/browse/trunk/include/spscqueue.h?r=95

// Very good PPT

12. http://www.it.uu.se/research/upmarc/events/120928/Aldinucci.pdf

Optimal Strategy for lock free hash table:
http://stackoverflow.com/questions/7086267/optimal-strategy-to-make-a-c-hash-table-thread-safe

https://code.google.com/p/nbds/
https://github.com/krizhanovsky/NatSys-Lab/blob/master/lockfree_rb_q.cc

 

http://www.liblfds.org/mediawiki/index.php?title=White_Papers