CPU and Memory

One of the best on its own:

http://robsjava.blogspot.in/?view=classic

http://igoro.com/archive/gallery-of-processor-cache-effects/

What is the cost f L1 cache miss:

http://stackoverflow.com/questions/1126529/what-is-the-cost-of-an-l1-cache-miss

 

https://www.cs.rutgers.edu/~pxk/416/notes/09-memory.html

http://mechanical-sympathy.blogspot.hk/2013/02/cpu-cache-flushing-fallacy.html

http://yarchive.net/comp/linux/

Memory models, [change the numbers and see the chapters]
http://fileadmin.cs.lth.se/cs/Education/EDAN25/F03.pdf

http://stackoverflow.com/questions/794632/programmatically-get-the-cache-line-size

http://igoro.com/archive/gallery-of-processor-cache-effects/

// find more in this
http://www.dauniv.ac.in/downloads/CArch_PPTs/CompArchCh09L02CacheBasicFeatures.pdf

http://www.cs.uiuc.edu/class/fa05/cs433g/assignments/Practice_Set_5_Solution.pdf

https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=7&cad=rja&uact=8&ved=0CF0QFjAG&url=http%3A%2F%2Fuser.engineering.uiowa.edu%2F~carch%2Flectures11%2FCache%2520memory%2520a.ppt&ei=J4N_U8v4Ms3rkwWD3oGABg&usg=AFQjCNHeIx4ZQu_dkAVSQoEPJ-TSxWsSXQ&sig2=0TqAeoI-v9vzblBCyLcRfQ

http://www.akkadia.org/drepper/cpumemory.pdf

Advertisements

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