├── .github ├── FUNDING.yml └── workflows │ ├── build_pdf.yml │ └── build_pdf_linux.yml ├── .gitignore ├── LICENSE ├── README.md ├── biblio.bib ├── chapters ├── 0-Preface │ ├── 0-1 Notices.md │ ├── 0-2 Preface.md │ └── 0-4 Table Of Contents.md ├── 1-Introduction │ ├── 1-0 Introduction.md │ ├── 1-1 Why Software Is Slow.md │ ├── 1-2 Why Care about Performance.md │ ├── 1-4 What is performance analysis.md │ ├── 1-5 What is performance tuning.md │ ├── 1-6 What is in the book.md │ ├── 1-7 What is not in this book.md │ ├── 1-8 Exercises.md │ └── 1-9 Chapter Summary.md ├── 10-Optimizing-Branch-Prediction │ ├── 10-0 Optimizing bad speculation.md │ ├── 10-1 Replace branches with lookup copy.md │ ├── 10-2 Replace branches with arithmetic.md │ ├── 10-3 Replace branches with predication.md │ ├── 10-4 Multiple Compares Single Branch.md │ ├── 10-5 Questions-Exercises.md │ └── 10-6 Chapter Summary.md ├── 11-Machine-Code-Layout-Optimizations │ ├── 11-1 Machine Code Layout.md │ ├── 11-10 Questions-Exercises.md │ ├── 11-11 Chapter Summary.md │ ├── 11-2 Basic Block.md │ ├── 11-3 Basic Block Placement.md │ ├── 11-4 Basic Block Alignment.md │ ├── 11-5 Function Splitting.md │ ├── 11-6 Function Reordering.md │ ├── 11-7 PGO.md │ ├── 11-8 Reducing ITLB misses.md │ └── 11-9 Code footprint.md ├── 12-Other-Tuning-Areas │ ├── 12-0 Other tuning areas.md │ ├── 12-1 CPU-Specific Optimizations.md │ ├── 12-2 Microarchitecture-Specific Issues.md │ ├── 12-4 Low-Latency-Tuning-Techniques.md │ ├── 12-6 System Tuning.md │ ├── 12-7 Case Study - LLC sensitivity.md │ ├── 12-8 Questions-Exercises.md │ └── 12-9 Chapter summary.md ├── 13-Optimizing-Multithreaded-Applications │ ├── 13-0 Optimizing Multithreaded Applications.md │ ├── 13-1 Parallel Efficiency Metrics.md │ ├── 13-2 Performance scaling and overhead.md │ ├── 13-3 Core Count Scaling Case Study.md │ ├── 13-4 Task Scheduling.md │ ├── 13-6 Cache Coherence Issues.md │ ├── 13-7 Other Approaches.md │ ├── 13-8 Questions-Exercises.md │ └── 13-9 Chapter Summary.md ├── 15-Epilog │ ├── 15-0 Epilog.md │ ├── 15-1 Acknowledgements.md │ └── 15-2 Donations.md ├── 16-Glossary │ └── 16-0 Glossary.md ├── 17-List-of-Uarch-ISA │ └── 17-0 List of uarchs.md ├── 18-Appendix │ ├── Appendix-A.md │ ├── Appendix-B.md │ ├── Appendix-C.md │ └── Appendix-D.md ├── 2-Measuring-Performance │ ├── 2-0 Measuring Performance.md │ ├── 2-1 Noise In Modern Systems.md │ ├── 2-2 Measuring Performance In Procution.md │ ├── 2-3 Performance Regressions.md │ ├── 2-4 Local Performance Testing.md │ ├── 2-5 SW and HW Timers.md │ ├── 2-6 Microbenchmarks.md │ ├── 2-7 Active Benchmarking.md │ ├── 2-8 Questions-Exercises.md │ └── 2-9 Chapter summary.md ├── 3-CPU-Microarchitecture │ ├── 3-0 CPU microarchitecture.md │ ├── 3-1 ISA.md │ ├── 3-10 Questions-Exercises.md │ ├── 3-11 Chapter summary.md │ ├── 3-2 Pipelining.md │ ├── 3-3 Exploiting ILP.md │ ├── 3-4 SIMD.md │ ├── 3-5 Exploiting TLP.md │ ├── 3-6 Memory Hierarchy.md │ ├── 3-7 Virtual memory.md │ ├── 3-8 Modern CPU design.md │ └── 3-9 PMU.md ├── 4-Terminology-And-Metrics │ ├── 4-0 Terminology and metrics in performance analysis.md │ ├── 4-1 Retired and Executed Instruction.md │ ├── 4-10 Memory Latency and Bandwidth.md │ ├── 4-11 Case Study of 4 Benchmarks.md │ ├── 4-15 Questions-Exercises.md │ ├── 4-16 Chapter summary.md │ ├── 4-2 CPU Utilization.md │ ├── 4-3 CPI and IPC.md │ ├── 4-4 UOP.md │ ├── 4-5 Pipeline Slot.md │ ├── 4-6 Core and Reference Cycles.md │ ├── 4-7 Cache miss.md │ ├── 4-8 Mispredicted branch.md │ └── 4-9 Performance Metrics.md ├── 5-Performance-Analysis-Approaches │ ├── 5-0 Performance analysis approaches.md │ ├── 5-1 Code instrumentation.md │ ├── 5-10 Chapter Summary.md │ ├── 5-2 Tracing.md │ ├── 5-3 Characterization.md │ ├── 5-4 Marker APIs.md │ ├── 5-5 Sampling.md │ ├── 5-6 Roofline.md │ ├── 5-7 Static performance analysis.md │ ├── 5-8 Compiler Opt Reports.md │ └── 5-9 Questions-Exercises.md ├── 6-CPU-Features-For-Performance-Analysis │ ├── 6-0 Intro.md │ ├── 6-1 Top-Down Microarchitecture Analysis.md │ ├── 6-2 TMA-Intel.md │ ├── 6-3 TMA-AMD.md │ ├── 6-4 TMA-ARM.md │ ├── 6-5 TMA-summary.md │ ├── 6-6 Last Branch Record.md │ ├── 6-7 Precise Event Based Sampling (PEBS).md │ ├── 6-8 Questions-Exercises.md │ └── 6-9 Chapter Summary.md ├── 7-Overview-Of-Performance-Analysis-Tools │ ├── 7-0 Introduction.md │ ├── 7-1 Intel Vtune.md │ ├── 7-10 Questions-Exercises.md │ ├── 7-11 Chapter summary.md │ ├── 7-2 AMD uprof.md │ ├── 7-3 Apple Instruments.md │ ├── 7-4 Linux perf.md │ ├── 7-5 Flamegraphs.md │ ├── 7-6 Windows ETW.md │ ├── 7-7 Tracy.md │ ├── 7-8 Memory-Profilers.md │ └── 7-9 Continuous Profiling.md ├── 8-Optimizing-Memory-Accesses │ ├── 8-0 Source Code Tuning For CPU.md │ ├── 8-1 Optimizing Memory Accesses.md │ ├── 8-2 Cache-Friendly Data Structures.md │ ├── 8-3 Dynamic Memory Allocation.md │ ├── 8-4 Workaround Memory Bandwidth Limitations.md │ ├── 8-5 Reducing DTLB misses.md │ ├── 8-6 Memory Prefetching.md │ ├── 8-8 Questions-Exercises.md │ └── 8-9 Chapter Summary.md └── 9-Optimizing-Computations │ ├── 9-0 Core Bound.md │ ├── 9-1 Data Dependencies.md │ ├── 9-2 Inlining Functions.md │ ├── 9-3 Loop Optimizations.md │ ├── 9-4 Vectorization.md │ ├── 9-5 Compiler Intrinsics.md │ ├── 9-6 Questions-Exercises.md │ └── 9-7 Chapter Summary.md ├── cover.png ├── cover.tex ├── export_book.py ├── footer.tex ├── glossary.tex ├── header.tex ├── how-to.md ├── img ├── appendix-C │ └── WinLockPages.png ├── appendix-D │ ├── PT_decoding.jpg │ ├── PT_encoding.jpg │ └── PT_timings.jpg ├── computation-opts │ ├── DepChain.png │ └── LinkedListChasing.png ├── contributors │ ├── AloisKraus_circle.png │ ├── DickSites_circle.png │ ├── JanWassenberg_circle.png │ ├── LallySingh_circle.png │ ├── MarcoCastorina_circle.png │ ├── MarkDawson_circle.png │ ├── MattGodbolt_circle.png │ ├── SwarupSahoo_circle.png │ ├── UniversityZaragoza_circle.png │ ├── qr-code-bmc.png │ ├── qr-code-github-sponsors.png │ ├── qr-code-patreon.png │ └── qr-code-paypal.png ├── cpu_fe_opts │ ├── BBLayout_Better.png │ ├── BBLayout_Default.png │ ├── BasicBlock.png │ ├── FunctionGrouping_Better.png │ ├── FunctionGrouping_Default.png │ ├── FunctionSplitting_Default.png │ ├── FunctionSplitting_Improved.png │ ├── LoopAlignment_Better.png │ ├── LoopAlignment_Default.png │ └── pgo_flow.png ├── intro │ └── 50-years-processor-trend.png ├── measurements │ ├── Averages1.png │ ├── Averages2.png │ ├── BoxPlot2.jpg │ ├── BoxPlots.png │ ├── CompDist2.png │ ├── FreqScaling.jpg │ └── PerfRegressions.png ├── memory-access-opts │ ├── AvoidPadding.png │ ├── CacheAliasing.png │ ├── ColumnRowMajor.png │ ├── MemAlignment.png │ ├── MemFootCaseStudyFourBench.png │ ├── MemoryUsageAIBench.png │ ├── ProcessorMemoryGap.png │ ├── SWmemprefetch1.png │ ├── SWmemprefetch2.png │ ├── SplitLoads.png │ ├── StockfishSummary.png │ ├── Stockfish_allocations.png │ ├── Stockfish_consumed.png │ └── Stockfish_flamegraph.png ├── mt-perf │ ├── AmdahlsLaw.png │ ├── CPythonBottomUpCombined.png │ ├── CPythonTimelineNew.png │ ├── CloverLeafMemBandwidth.png │ ├── CozProfile.png │ ├── FalseSharing.jpg │ ├── FrequencyThrotlingClang.png │ ├── MESI_Cache_Diagram.jpg │ ├── OmpAffinity.png │ ├── OmpDynamic.png │ ├── OmpStatic.png │ ├── ScalabilityMainChart.png │ ├── ScalabilityNoTurboChart.png │ ├── USL.png │ ├── ZstdTimelineCut.png │ ├── ZstdTimelineCutGrayScale.jpg │ └── ZstdTimelineCutGrayScale.png ├── other-tuning │ ├── Milan7313P.png │ └── llc-bw.png ├── perf-analysis │ ├── CallStacksCFG.png │ ├── CountingFlow.png │ ├── FlameGraph.jpg │ ├── Multiplexing1.png │ ├── Multiplexing2.png │ ├── Roofline-intro.png │ ├── Roofline-intro2.jpg │ ├── SamplingFlow.png │ ├── VectorDep.png │ ├── fma_tput_uica.png │ └── roofline_matrix.png ├── perf-tools │ ├── Continuous_profiling.png │ ├── ETWController_ClickScreenshot.png │ ├── ETWController_Dialog.png │ ├── Flamegraph.jpg │ ├── VtunePovray.png │ ├── VtunePovray_EventTimeline.jpg │ ├── VtunePovray_SourceView.png │ ├── WPA_MainView.png │ ├── XcodeInstrumentsDialog.png │ ├── XcodeInstrumentsView.jpg │ ├── tracy │ │ ├── tracy_cpu_view.png │ │ ├── tracy_cpu_view_grayscale.png │ │ ├── tracy_frame_view.png │ │ ├── tracy_frame_view_grayscale.png │ │ ├── tracy_hotspots.png │ │ ├── tracy_hotspots_grayscale.png │ │ ├── tracy_main_timeline.png │ │ ├── tracy_main_timeline_grayscale.png │ │ ├── tracy_source_view.png │ │ ├── tracy_zone_details.png │ │ └── tracy_zone_details_grayscale.png │ ├── uProf_Flamegraph.png │ ├── uProf_Hopspot.png │ └── uProf_SourceView.png ├── pmu-features │ ├── AMD_TMA.png │ ├── LBR_timing_BB.png │ ├── PEBS_record.png │ ├── TMAM.png │ ├── TMAM_diag.png │ ├── TMA_google.jpg │ ├── Vtune_GE.png │ ├── Vtune_GE_code_view.png │ └── Vtune_GE_function_view.png ├── terms-and-metrics │ ├── CloverMetricCharts.png │ ├── CloverMetricCharts2.png │ ├── MemBandwidthAndLatenciesDiagram.png │ ├── MemLatencies.png │ └── PipelineSlot.jpg └── uarch │ ├── CacheLookup.png │ ├── DRAM_channel_interleaving.png │ ├── DRAM_channels.png │ ├── DRAM_ranks.png │ ├── GLC_TLB_hierarchy.png │ ├── HugePageVirtualAddress.png │ ├── L2PageTables.png │ ├── OOO.png │ ├── PMC.png │ ├── PMU.png │ ├── Pipelining.png │ ├── SIMD.png │ ├── SMT.png │ ├── Speculative1.png │ ├── Speculative2.png │ ├── SuperScalar.png │ ├── VirtualMem.png │ ├── goldencove_BE_LSU.png │ ├── goldencove_OOO.png │ └── goldencove_block_diagram.png ├── metadata.txt ├── new_toc.md └── perf-book-10November24.excalidraw /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/build_pdf.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/.github/workflows/build_pdf.yml -------------------------------------------------------------------------------- /.github/workflows/build_pdf_linux.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/.github/workflows/build_pdf_linux.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/README.md -------------------------------------------------------------------------------- /biblio.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/biblio.bib -------------------------------------------------------------------------------- /chapters/0-Preface/0-1 Notices.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/0-Preface/0-1 Notices.md -------------------------------------------------------------------------------- /chapters/0-Preface/0-2 Preface.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/0-Preface/0-2 Preface.md -------------------------------------------------------------------------------- /chapters/0-Preface/0-4 Table Of Contents.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/0-Preface/0-4 Table Of Contents.md -------------------------------------------------------------------------------- /chapters/1-Introduction/1-0 Introduction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/1-Introduction/1-0 Introduction.md -------------------------------------------------------------------------------- /chapters/1-Introduction/1-1 Why Software Is Slow.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/1-Introduction/1-1 Why Software Is Slow.md -------------------------------------------------------------------------------- /chapters/1-Introduction/1-2 Why Care about Performance.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/1-Introduction/1-2 Why Care about Performance.md -------------------------------------------------------------------------------- /chapters/1-Introduction/1-4 What is performance analysis.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/1-Introduction/1-4 What is performance analysis.md -------------------------------------------------------------------------------- /chapters/1-Introduction/1-5 What is performance tuning.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/1-Introduction/1-5 What is performance tuning.md -------------------------------------------------------------------------------- /chapters/1-Introduction/1-6 What is in the book.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/1-Introduction/1-6 What is in the book.md -------------------------------------------------------------------------------- /chapters/1-Introduction/1-7 What is not in this book.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/1-Introduction/1-7 What is not in this book.md -------------------------------------------------------------------------------- /chapters/1-Introduction/1-8 Exercises.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/1-Introduction/1-8 Exercises.md -------------------------------------------------------------------------------- /chapters/1-Introduction/1-9 Chapter Summary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/1-Introduction/1-9 Chapter Summary.md -------------------------------------------------------------------------------- /chapters/10-Optimizing-Branch-Prediction/10-0 Optimizing bad speculation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/10-Optimizing-Branch-Prediction/10-0 Optimizing bad speculation.md -------------------------------------------------------------------------------- /chapters/10-Optimizing-Branch-Prediction/10-1 Replace branches with lookup copy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/10-Optimizing-Branch-Prediction/10-1 Replace branches with lookup copy.md -------------------------------------------------------------------------------- /chapters/10-Optimizing-Branch-Prediction/10-2 Replace branches with arithmetic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/10-Optimizing-Branch-Prediction/10-2 Replace branches with arithmetic.md -------------------------------------------------------------------------------- /chapters/10-Optimizing-Branch-Prediction/10-3 Replace branches with predication.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/10-Optimizing-Branch-Prediction/10-3 Replace branches with predication.md -------------------------------------------------------------------------------- /chapters/10-Optimizing-Branch-Prediction/10-4 Multiple Compares Single Branch.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/10-Optimizing-Branch-Prediction/10-4 Multiple Compares Single Branch.md -------------------------------------------------------------------------------- /chapters/10-Optimizing-Branch-Prediction/10-5 Questions-Exercises.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/10-Optimizing-Branch-Prediction/10-5 Questions-Exercises.md -------------------------------------------------------------------------------- /chapters/10-Optimizing-Branch-Prediction/10-6 Chapter Summary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/10-Optimizing-Branch-Prediction/10-6 Chapter Summary.md -------------------------------------------------------------------------------- /chapters/11-Machine-Code-Layout-Optimizations/11-1 Machine Code Layout.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/11-Machine-Code-Layout-Optimizations/11-1 Machine Code Layout.md -------------------------------------------------------------------------------- /chapters/11-Machine-Code-Layout-Optimizations/11-10 Questions-Exercises.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/11-Machine-Code-Layout-Optimizations/11-10 Questions-Exercises.md -------------------------------------------------------------------------------- /chapters/11-Machine-Code-Layout-Optimizations/11-11 Chapter Summary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/11-Machine-Code-Layout-Optimizations/11-11 Chapter Summary.md -------------------------------------------------------------------------------- /chapters/11-Machine-Code-Layout-Optimizations/11-2 Basic Block.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/11-Machine-Code-Layout-Optimizations/11-2 Basic Block.md -------------------------------------------------------------------------------- /chapters/11-Machine-Code-Layout-Optimizations/11-3 Basic Block Placement.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/11-Machine-Code-Layout-Optimizations/11-3 Basic Block Placement.md -------------------------------------------------------------------------------- /chapters/11-Machine-Code-Layout-Optimizations/11-4 Basic Block Alignment.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/11-Machine-Code-Layout-Optimizations/11-4 Basic Block Alignment.md -------------------------------------------------------------------------------- /chapters/11-Machine-Code-Layout-Optimizations/11-5 Function Splitting.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/11-Machine-Code-Layout-Optimizations/11-5 Function Splitting.md -------------------------------------------------------------------------------- /chapters/11-Machine-Code-Layout-Optimizations/11-6 Function Reordering.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/11-Machine-Code-Layout-Optimizations/11-6 Function Reordering.md -------------------------------------------------------------------------------- /chapters/11-Machine-Code-Layout-Optimizations/11-7 PGO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/11-Machine-Code-Layout-Optimizations/11-7 PGO.md -------------------------------------------------------------------------------- /chapters/11-Machine-Code-Layout-Optimizations/11-8 Reducing ITLB misses.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/11-Machine-Code-Layout-Optimizations/11-8 Reducing ITLB misses.md -------------------------------------------------------------------------------- /chapters/11-Machine-Code-Layout-Optimizations/11-9 Code footprint.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/11-Machine-Code-Layout-Optimizations/11-9 Code footprint.md -------------------------------------------------------------------------------- /chapters/12-Other-Tuning-Areas/12-0 Other tuning areas.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/12-Other-Tuning-Areas/12-0 Other tuning areas.md -------------------------------------------------------------------------------- /chapters/12-Other-Tuning-Areas/12-1 CPU-Specific Optimizations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/12-Other-Tuning-Areas/12-1 CPU-Specific Optimizations.md -------------------------------------------------------------------------------- /chapters/12-Other-Tuning-Areas/12-2 Microarchitecture-Specific Issues.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/12-Other-Tuning-Areas/12-2 Microarchitecture-Specific Issues.md -------------------------------------------------------------------------------- /chapters/12-Other-Tuning-Areas/12-4 Low-Latency-Tuning-Techniques.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/12-Other-Tuning-Areas/12-4 Low-Latency-Tuning-Techniques.md -------------------------------------------------------------------------------- /chapters/12-Other-Tuning-Areas/12-6 System Tuning.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/12-Other-Tuning-Areas/12-6 System Tuning.md -------------------------------------------------------------------------------- /chapters/12-Other-Tuning-Areas/12-7 Case Study - LLC sensitivity.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/12-Other-Tuning-Areas/12-7 Case Study - LLC sensitivity.md -------------------------------------------------------------------------------- /chapters/12-Other-Tuning-Areas/12-8 Questions-Exercises.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/12-Other-Tuning-Areas/12-8 Questions-Exercises.md -------------------------------------------------------------------------------- /chapters/12-Other-Tuning-Areas/12-9 Chapter summary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/12-Other-Tuning-Areas/12-9 Chapter summary.md -------------------------------------------------------------------------------- /chapters/13-Optimizing-Multithreaded-Applications/13-0 Optimizing Multithreaded Applications.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/13-Optimizing-Multithreaded-Applications/13-0 Optimizing Multithreaded Applications.md -------------------------------------------------------------------------------- /chapters/13-Optimizing-Multithreaded-Applications/13-1 Parallel Efficiency Metrics.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/13-Optimizing-Multithreaded-Applications/13-1 Parallel Efficiency Metrics.md -------------------------------------------------------------------------------- /chapters/13-Optimizing-Multithreaded-Applications/13-2 Performance scaling and overhead.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/13-Optimizing-Multithreaded-Applications/13-2 Performance scaling and overhead.md -------------------------------------------------------------------------------- /chapters/13-Optimizing-Multithreaded-Applications/13-3 Core Count Scaling Case Study.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/13-Optimizing-Multithreaded-Applications/13-3 Core Count Scaling Case Study.md -------------------------------------------------------------------------------- /chapters/13-Optimizing-Multithreaded-Applications/13-4 Task Scheduling.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/13-Optimizing-Multithreaded-Applications/13-4 Task Scheduling.md -------------------------------------------------------------------------------- /chapters/13-Optimizing-Multithreaded-Applications/13-6 Cache Coherence Issues.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/13-Optimizing-Multithreaded-Applications/13-6 Cache Coherence Issues.md -------------------------------------------------------------------------------- /chapters/13-Optimizing-Multithreaded-Applications/13-7 Other Approaches.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/13-Optimizing-Multithreaded-Applications/13-7 Other Approaches.md -------------------------------------------------------------------------------- /chapters/13-Optimizing-Multithreaded-Applications/13-8 Questions-Exercises.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/13-Optimizing-Multithreaded-Applications/13-8 Questions-Exercises.md -------------------------------------------------------------------------------- /chapters/13-Optimizing-Multithreaded-Applications/13-9 Chapter Summary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/13-Optimizing-Multithreaded-Applications/13-9 Chapter Summary.md -------------------------------------------------------------------------------- /chapters/15-Epilog/15-0 Epilog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/15-Epilog/15-0 Epilog.md -------------------------------------------------------------------------------- /chapters/15-Epilog/15-1 Acknowledgements.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/15-Epilog/15-1 Acknowledgements.md -------------------------------------------------------------------------------- /chapters/15-Epilog/15-2 Donations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/15-Epilog/15-2 Donations.md -------------------------------------------------------------------------------- /chapters/16-Glossary/16-0 Glossary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/16-Glossary/16-0 Glossary.md -------------------------------------------------------------------------------- /chapters/17-List-of-Uarch-ISA/17-0 List of uarchs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/17-List-of-Uarch-ISA/17-0 List of uarchs.md -------------------------------------------------------------------------------- /chapters/18-Appendix/Appendix-A.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/18-Appendix/Appendix-A.md -------------------------------------------------------------------------------- /chapters/18-Appendix/Appendix-B.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/18-Appendix/Appendix-B.md -------------------------------------------------------------------------------- /chapters/18-Appendix/Appendix-C.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/18-Appendix/Appendix-C.md -------------------------------------------------------------------------------- /chapters/18-Appendix/Appendix-D.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/18-Appendix/Appendix-D.md -------------------------------------------------------------------------------- /chapters/2-Measuring-Performance/2-0 Measuring Performance.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/2-Measuring-Performance/2-0 Measuring Performance.md -------------------------------------------------------------------------------- /chapters/2-Measuring-Performance/2-1 Noise In Modern Systems.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/2-Measuring-Performance/2-1 Noise In Modern Systems.md -------------------------------------------------------------------------------- /chapters/2-Measuring-Performance/2-2 Measuring Performance In Procution.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/2-Measuring-Performance/2-2 Measuring Performance In Procution.md -------------------------------------------------------------------------------- /chapters/2-Measuring-Performance/2-3 Performance Regressions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/2-Measuring-Performance/2-3 Performance Regressions.md -------------------------------------------------------------------------------- /chapters/2-Measuring-Performance/2-4 Local Performance Testing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/2-Measuring-Performance/2-4 Local Performance Testing.md -------------------------------------------------------------------------------- /chapters/2-Measuring-Performance/2-5 SW and HW Timers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/2-Measuring-Performance/2-5 SW and HW Timers.md -------------------------------------------------------------------------------- /chapters/2-Measuring-Performance/2-6 Microbenchmarks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/2-Measuring-Performance/2-6 Microbenchmarks.md -------------------------------------------------------------------------------- /chapters/2-Measuring-Performance/2-7 Active Benchmarking.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/2-Measuring-Performance/2-7 Active Benchmarking.md -------------------------------------------------------------------------------- /chapters/2-Measuring-Performance/2-8 Questions-Exercises.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/2-Measuring-Performance/2-8 Questions-Exercises.md -------------------------------------------------------------------------------- /chapters/2-Measuring-Performance/2-9 Chapter summary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/2-Measuring-Performance/2-9 Chapter summary.md -------------------------------------------------------------------------------- /chapters/3-CPU-Microarchitecture/3-0 CPU microarchitecture.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/3-CPU-Microarchitecture/3-0 CPU microarchitecture.md -------------------------------------------------------------------------------- /chapters/3-CPU-Microarchitecture/3-1 ISA.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/3-CPU-Microarchitecture/3-1 ISA.md -------------------------------------------------------------------------------- /chapters/3-CPU-Microarchitecture/3-10 Questions-Exercises.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/3-CPU-Microarchitecture/3-10 Questions-Exercises.md -------------------------------------------------------------------------------- /chapters/3-CPU-Microarchitecture/3-11 Chapter summary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/3-CPU-Microarchitecture/3-11 Chapter summary.md -------------------------------------------------------------------------------- /chapters/3-CPU-Microarchitecture/3-2 Pipelining.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/3-CPU-Microarchitecture/3-2 Pipelining.md -------------------------------------------------------------------------------- /chapters/3-CPU-Microarchitecture/3-3 Exploiting ILP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/3-CPU-Microarchitecture/3-3 Exploiting ILP.md -------------------------------------------------------------------------------- /chapters/3-CPU-Microarchitecture/3-4 SIMD.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/3-CPU-Microarchitecture/3-4 SIMD.md -------------------------------------------------------------------------------- /chapters/3-CPU-Microarchitecture/3-5 Exploiting TLP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/3-CPU-Microarchitecture/3-5 Exploiting TLP.md -------------------------------------------------------------------------------- /chapters/3-CPU-Microarchitecture/3-6 Memory Hierarchy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/3-CPU-Microarchitecture/3-6 Memory Hierarchy.md -------------------------------------------------------------------------------- /chapters/3-CPU-Microarchitecture/3-7 Virtual memory.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/3-CPU-Microarchitecture/3-7 Virtual memory.md -------------------------------------------------------------------------------- /chapters/3-CPU-Microarchitecture/3-8 Modern CPU design.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/3-CPU-Microarchitecture/3-8 Modern CPU design.md -------------------------------------------------------------------------------- /chapters/3-CPU-Microarchitecture/3-9 PMU.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/3-CPU-Microarchitecture/3-9 PMU.md -------------------------------------------------------------------------------- /chapters/4-Terminology-And-Metrics/4-0 Terminology and metrics in performance analysis.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/4-Terminology-And-Metrics/4-0 Terminology and metrics in performance analysis.md -------------------------------------------------------------------------------- /chapters/4-Terminology-And-Metrics/4-1 Retired and Executed Instruction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/4-Terminology-And-Metrics/4-1 Retired and Executed Instruction.md -------------------------------------------------------------------------------- /chapters/4-Terminology-And-Metrics/4-10 Memory Latency and Bandwidth.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/4-Terminology-And-Metrics/4-10 Memory Latency and Bandwidth.md -------------------------------------------------------------------------------- /chapters/4-Terminology-And-Metrics/4-11 Case Study of 4 Benchmarks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/4-Terminology-And-Metrics/4-11 Case Study of 4 Benchmarks.md -------------------------------------------------------------------------------- /chapters/4-Terminology-And-Metrics/4-15 Questions-Exercises.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/4-Terminology-And-Metrics/4-15 Questions-Exercises.md -------------------------------------------------------------------------------- /chapters/4-Terminology-And-Metrics/4-16 Chapter summary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/4-Terminology-And-Metrics/4-16 Chapter summary.md -------------------------------------------------------------------------------- /chapters/4-Terminology-And-Metrics/4-2 CPU Utilization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/4-Terminology-And-Metrics/4-2 CPU Utilization.md -------------------------------------------------------------------------------- /chapters/4-Terminology-And-Metrics/4-3 CPI and IPC.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/4-Terminology-And-Metrics/4-3 CPI and IPC.md -------------------------------------------------------------------------------- /chapters/4-Terminology-And-Metrics/4-4 UOP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/4-Terminology-And-Metrics/4-4 UOP.md -------------------------------------------------------------------------------- /chapters/4-Terminology-And-Metrics/4-5 Pipeline Slot.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/4-Terminology-And-Metrics/4-5 Pipeline Slot.md -------------------------------------------------------------------------------- /chapters/4-Terminology-And-Metrics/4-6 Core and Reference Cycles.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/4-Terminology-And-Metrics/4-6 Core and Reference Cycles.md -------------------------------------------------------------------------------- /chapters/4-Terminology-And-Metrics/4-7 Cache miss.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/4-Terminology-And-Metrics/4-7 Cache miss.md -------------------------------------------------------------------------------- /chapters/4-Terminology-And-Metrics/4-8 Mispredicted branch.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/4-Terminology-And-Metrics/4-8 Mispredicted branch.md -------------------------------------------------------------------------------- /chapters/4-Terminology-And-Metrics/4-9 Performance Metrics.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/4-Terminology-And-Metrics/4-9 Performance Metrics.md -------------------------------------------------------------------------------- /chapters/5-Performance-Analysis-Approaches/5-0 Performance analysis approaches.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/5-Performance-Analysis-Approaches/5-0 Performance analysis approaches.md -------------------------------------------------------------------------------- /chapters/5-Performance-Analysis-Approaches/5-1 Code instrumentation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/5-Performance-Analysis-Approaches/5-1 Code instrumentation.md -------------------------------------------------------------------------------- /chapters/5-Performance-Analysis-Approaches/5-10 Chapter Summary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/5-Performance-Analysis-Approaches/5-10 Chapter Summary.md -------------------------------------------------------------------------------- /chapters/5-Performance-Analysis-Approaches/5-2 Tracing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/5-Performance-Analysis-Approaches/5-2 Tracing.md -------------------------------------------------------------------------------- /chapters/5-Performance-Analysis-Approaches/5-3 Characterization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/5-Performance-Analysis-Approaches/5-3 Characterization.md -------------------------------------------------------------------------------- /chapters/5-Performance-Analysis-Approaches/5-4 Marker APIs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/5-Performance-Analysis-Approaches/5-4 Marker APIs.md -------------------------------------------------------------------------------- /chapters/5-Performance-Analysis-Approaches/5-5 Sampling.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/5-Performance-Analysis-Approaches/5-5 Sampling.md -------------------------------------------------------------------------------- /chapters/5-Performance-Analysis-Approaches/5-6 Roofline.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/5-Performance-Analysis-Approaches/5-6 Roofline.md -------------------------------------------------------------------------------- /chapters/5-Performance-Analysis-Approaches/5-7 Static performance analysis.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/5-Performance-Analysis-Approaches/5-7 Static performance analysis.md -------------------------------------------------------------------------------- /chapters/5-Performance-Analysis-Approaches/5-8 Compiler Opt Reports.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/5-Performance-Analysis-Approaches/5-8 Compiler Opt Reports.md -------------------------------------------------------------------------------- /chapters/5-Performance-Analysis-Approaches/5-9 Questions-Exercises.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/5-Performance-Analysis-Approaches/5-9 Questions-Exercises.md -------------------------------------------------------------------------------- /chapters/6-CPU-Features-For-Performance-Analysis/6-0 Intro.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/6-CPU-Features-For-Performance-Analysis/6-0 Intro.md -------------------------------------------------------------------------------- /chapters/6-CPU-Features-For-Performance-Analysis/6-1 Top-Down Microarchitecture Analysis.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/6-CPU-Features-For-Performance-Analysis/6-1 Top-Down Microarchitecture Analysis.md -------------------------------------------------------------------------------- /chapters/6-CPU-Features-For-Performance-Analysis/6-2 TMA-Intel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/6-CPU-Features-For-Performance-Analysis/6-2 TMA-Intel.md -------------------------------------------------------------------------------- /chapters/6-CPU-Features-For-Performance-Analysis/6-3 TMA-AMD.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/6-CPU-Features-For-Performance-Analysis/6-3 TMA-AMD.md -------------------------------------------------------------------------------- /chapters/6-CPU-Features-For-Performance-Analysis/6-4 TMA-ARM.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/6-CPU-Features-For-Performance-Analysis/6-4 TMA-ARM.md -------------------------------------------------------------------------------- /chapters/6-CPU-Features-For-Performance-Analysis/6-5 TMA-summary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/6-CPU-Features-For-Performance-Analysis/6-5 TMA-summary.md -------------------------------------------------------------------------------- /chapters/6-CPU-Features-For-Performance-Analysis/6-6 Last Branch Record.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/6-CPU-Features-For-Performance-Analysis/6-6 Last Branch Record.md -------------------------------------------------------------------------------- /chapters/6-CPU-Features-For-Performance-Analysis/6-7 Precise Event Based Sampling (PEBS).md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/6-CPU-Features-For-Performance-Analysis/6-7 Precise Event Based Sampling (PEBS).md -------------------------------------------------------------------------------- /chapters/6-CPU-Features-For-Performance-Analysis/6-8 Questions-Exercises.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/6-CPU-Features-For-Performance-Analysis/6-8 Questions-Exercises.md -------------------------------------------------------------------------------- /chapters/6-CPU-Features-For-Performance-Analysis/6-9 Chapter Summary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/6-CPU-Features-For-Performance-Analysis/6-9 Chapter Summary.md -------------------------------------------------------------------------------- /chapters/7-Overview-Of-Performance-Analysis-Tools/7-0 Introduction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/7-Overview-Of-Performance-Analysis-Tools/7-0 Introduction.md -------------------------------------------------------------------------------- /chapters/7-Overview-Of-Performance-Analysis-Tools/7-1 Intel Vtune.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/7-Overview-Of-Performance-Analysis-Tools/7-1 Intel Vtune.md -------------------------------------------------------------------------------- /chapters/7-Overview-Of-Performance-Analysis-Tools/7-10 Questions-Exercises.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/7-Overview-Of-Performance-Analysis-Tools/7-10 Questions-Exercises.md -------------------------------------------------------------------------------- /chapters/7-Overview-Of-Performance-Analysis-Tools/7-11 Chapter summary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/7-Overview-Of-Performance-Analysis-Tools/7-11 Chapter summary.md -------------------------------------------------------------------------------- /chapters/7-Overview-Of-Performance-Analysis-Tools/7-2 AMD uprof.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/7-Overview-Of-Performance-Analysis-Tools/7-2 AMD uprof.md -------------------------------------------------------------------------------- /chapters/7-Overview-Of-Performance-Analysis-Tools/7-3 Apple Instruments.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/7-Overview-Of-Performance-Analysis-Tools/7-3 Apple Instruments.md -------------------------------------------------------------------------------- /chapters/7-Overview-Of-Performance-Analysis-Tools/7-4 Linux perf.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/7-Overview-Of-Performance-Analysis-Tools/7-4 Linux perf.md -------------------------------------------------------------------------------- /chapters/7-Overview-Of-Performance-Analysis-Tools/7-5 Flamegraphs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/7-Overview-Of-Performance-Analysis-Tools/7-5 Flamegraphs.md -------------------------------------------------------------------------------- /chapters/7-Overview-Of-Performance-Analysis-Tools/7-6 Windows ETW.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/7-Overview-Of-Performance-Analysis-Tools/7-6 Windows ETW.md -------------------------------------------------------------------------------- /chapters/7-Overview-Of-Performance-Analysis-Tools/7-7 Tracy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/7-Overview-Of-Performance-Analysis-Tools/7-7 Tracy.md -------------------------------------------------------------------------------- /chapters/7-Overview-Of-Performance-Analysis-Tools/7-8 Memory-Profilers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/7-Overview-Of-Performance-Analysis-Tools/7-8 Memory-Profilers.md -------------------------------------------------------------------------------- /chapters/7-Overview-Of-Performance-Analysis-Tools/7-9 Continuous Profiling.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/7-Overview-Of-Performance-Analysis-Tools/7-9 Continuous Profiling.md -------------------------------------------------------------------------------- /chapters/8-Optimizing-Memory-Accesses/8-0 Source Code Tuning For CPU.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/8-Optimizing-Memory-Accesses/8-0 Source Code Tuning For CPU.md -------------------------------------------------------------------------------- /chapters/8-Optimizing-Memory-Accesses/8-1 Optimizing Memory Accesses.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/8-Optimizing-Memory-Accesses/8-1 Optimizing Memory Accesses.md -------------------------------------------------------------------------------- /chapters/8-Optimizing-Memory-Accesses/8-2 Cache-Friendly Data Structures.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/8-Optimizing-Memory-Accesses/8-2 Cache-Friendly Data Structures.md -------------------------------------------------------------------------------- /chapters/8-Optimizing-Memory-Accesses/8-3 Dynamic Memory Allocation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/8-Optimizing-Memory-Accesses/8-3 Dynamic Memory Allocation.md -------------------------------------------------------------------------------- /chapters/8-Optimizing-Memory-Accesses/8-4 Workaround Memory Bandwidth Limitations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/8-Optimizing-Memory-Accesses/8-4 Workaround Memory Bandwidth Limitations.md -------------------------------------------------------------------------------- /chapters/8-Optimizing-Memory-Accesses/8-5 Reducing DTLB misses.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/8-Optimizing-Memory-Accesses/8-5 Reducing DTLB misses.md -------------------------------------------------------------------------------- /chapters/8-Optimizing-Memory-Accesses/8-6 Memory Prefetching.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/8-Optimizing-Memory-Accesses/8-6 Memory Prefetching.md -------------------------------------------------------------------------------- /chapters/8-Optimizing-Memory-Accesses/8-8 Questions-Exercises.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/8-Optimizing-Memory-Accesses/8-8 Questions-Exercises.md -------------------------------------------------------------------------------- /chapters/8-Optimizing-Memory-Accesses/8-9 Chapter Summary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/8-Optimizing-Memory-Accesses/8-9 Chapter Summary.md -------------------------------------------------------------------------------- /chapters/9-Optimizing-Computations/9-0 Core Bound.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/9-Optimizing-Computations/9-0 Core Bound.md -------------------------------------------------------------------------------- /chapters/9-Optimizing-Computations/9-1 Data Dependencies.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/9-Optimizing-Computations/9-1 Data Dependencies.md -------------------------------------------------------------------------------- /chapters/9-Optimizing-Computations/9-2 Inlining Functions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/9-Optimizing-Computations/9-2 Inlining Functions.md -------------------------------------------------------------------------------- /chapters/9-Optimizing-Computations/9-3 Loop Optimizations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/9-Optimizing-Computations/9-3 Loop Optimizations.md -------------------------------------------------------------------------------- /chapters/9-Optimizing-Computations/9-4 Vectorization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/9-Optimizing-Computations/9-4 Vectorization.md -------------------------------------------------------------------------------- /chapters/9-Optimizing-Computations/9-5 Compiler Intrinsics.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/9-Optimizing-Computations/9-5 Compiler Intrinsics.md -------------------------------------------------------------------------------- /chapters/9-Optimizing-Computations/9-6 Questions-Exercises.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/9-Optimizing-Computations/9-6 Questions-Exercises.md -------------------------------------------------------------------------------- /chapters/9-Optimizing-Computations/9-7 Chapter Summary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/chapters/9-Optimizing-Computations/9-7 Chapter Summary.md -------------------------------------------------------------------------------- /cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/cover.png -------------------------------------------------------------------------------- /cover.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/cover.tex -------------------------------------------------------------------------------- /export_book.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/export_book.py -------------------------------------------------------------------------------- /footer.tex: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /glossary.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/glossary.tex -------------------------------------------------------------------------------- /header.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/header.tex -------------------------------------------------------------------------------- /how-to.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/how-to.md -------------------------------------------------------------------------------- /img/appendix-C/WinLockPages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/appendix-C/WinLockPages.png -------------------------------------------------------------------------------- /img/appendix-D/PT_decoding.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/appendix-D/PT_decoding.jpg -------------------------------------------------------------------------------- /img/appendix-D/PT_encoding.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/appendix-D/PT_encoding.jpg -------------------------------------------------------------------------------- /img/appendix-D/PT_timings.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/appendix-D/PT_timings.jpg -------------------------------------------------------------------------------- /img/computation-opts/DepChain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/computation-opts/DepChain.png -------------------------------------------------------------------------------- /img/computation-opts/LinkedListChasing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/computation-opts/LinkedListChasing.png -------------------------------------------------------------------------------- /img/contributors/AloisKraus_circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/contributors/AloisKraus_circle.png -------------------------------------------------------------------------------- /img/contributors/DickSites_circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/contributors/DickSites_circle.png -------------------------------------------------------------------------------- /img/contributors/JanWassenberg_circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/contributors/JanWassenberg_circle.png -------------------------------------------------------------------------------- /img/contributors/LallySingh_circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/contributors/LallySingh_circle.png -------------------------------------------------------------------------------- /img/contributors/MarcoCastorina_circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/contributors/MarcoCastorina_circle.png -------------------------------------------------------------------------------- /img/contributors/MarkDawson_circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/contributors/MarkDawson_circle.png -------------------------------------------------------------------------------- /img/contributors/MattGodbolt_circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/contributors/MattGodbolt_circle.png -------------------------------------------------------------------------------- /img/contributors/SwarupSahoo_circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/contributors/SwarupSahoo_circle.png -------------------------------------------------------------------------------- /img/contributors/UniversityZaragoza_circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/contributors/UniversityZaragoza_circle.png -------------------------------------------------------------------------------- /img/contributors/qr-code-bmc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/contributors/qr-code-bmc.png -------------------------------------------------------------------------------- /img/contributors/qr-code-github-sponsors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/contributors/qr-code-github-sponsors.png -------------------------------------------------------------------------------- /img/contributors/qr-code-patreon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/contributors/qr-code-patreon.png -------------------------------------------------------------------------------- /img/contributors/qr-code-paypal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/contributors/qr-code-paypal.png -------------------------------------------------------------------------------- /img/cpu_fe_opts/BBLayout_Better.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/cpu_fe_opts/BBLayout_Better.png -------------------------------------------------------------------------------- /img/cpu_fe_opts/BBLayout_Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/cpu_fe_opts/BBLayout_Default.png -------------------------------------------------------------------------------- /img/cpu_fe_opts/BasicBlock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/cpu_fe_opts/BasicBlock.png -------------------------------------------------------------------------------- /img/cpu_fe_opts/FunctionGrouping_Better.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/cpu_fe_opts/FunctionGrouping_Better.png -------------------------------------------------------------------------------- /img/cpu_fe_opts/FunctionGrouping_Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/cpu_fe_opts/FunctionGrouping_Default.png -------------------------------------------------------------------------------- /img/cpu_fe_opts/FunctionSplitting_Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/cpu_fe_opts/FunctionSplitting_Default.png -------------------------------------------------------------------------------- /img/cpu_fe_opts/FunctionSplitting_Improved.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/cpu_fe_opts/FunctionSplitting_Improved.png -------------------------------------------------------------------------------- /img/cpu_fe_opts/LoopAlignment_Better.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/cpu_fe_opts/LoopAlignment_Better.png -------------------------------------------------------------------------------- /img/cpu_fe_opts/LoopAlignment_Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/cpu_fe_opts/LoopAlignment_Default.png -------------------------------------------------------------------------------- /img/cpu_fe_opts/pgo_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/cpu_fe_opts/pgo_flow.png -------------------------------------------------------------------------------- /img/intro/50-years-processor-trend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/intro/50-years-processor-trend.png -------------------------------------------------------------------------------- /img/measurements/Averages1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/measurements/Averages1.png -------------------------------------------------------------------------------- /img/measurements/Averages2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/measurements/Averages2.png -------------------------------------------------------------------------------- /img/measurements/BoxPlot2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/measurements/BoxPlot2.jpg -------------------------------------------------------------------------------- /img/measurements/BoxPlots.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/measurements/BoxPlots.png -------------------------------------------------------------------------------- /img/measurements/CompDist2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/measurements/CompDist2.png -------------------------------------------------------------------------------- /img/measurements/FreqScaling.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/measurements/FreqScaling.jpg -------------------------------------------------------------------------------- /img/measurements/PerfRegressions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/measurements/PerfRegressions.png -------------------------------------------------------------------------------- /img/memory-access-opts/AvoidPadding.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/memory-access-opts/AvoidPadding.png -------------------------------------------------------------------------------- /img/memory-access-opts/CacheAliasing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/memory-access-opts/CacheAliasing.png -------------------------------------------------------------------------------- /img/memory-access-opts/ColumnRowMajor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/memory-access-opts/ColumnRowMajor.png -------------------------------------------------------------------------------- /img/memory-access-opts/MemAlignment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/memory-access-opts/MemAlignment.png -------------------------------------------------------------------------------- /img/memory-access-opts/MemFootCaseStudyFourBench.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/memory-access-opts/MemFootCaseStudyFourBench.png -------------------------------------------------------------------------------- /img/memory-access-opts/MemoryUsageAIBench.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/memory-access-opts/MemoryUsageAIBench.png -------------------------------------------------------------------------------- /img/memory-access-opts/ProcessorMemoryGap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/memory-access-opts/ProcessorMemoryGap.png -------------------------------------------------------------------------------- /img/memory-access-opts/SWmemprefetch1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/memory-access-opts/SWmemprefetch1.png -------------------------------------------------------------------------------- /img/memory-access-opts/SWmemprefetch2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/memory-access-opts/SWmemprefetch2.png -------------------------------------------------------------------------------- /img/memory-access-opts/SplitLoads.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/memory-access-opts/SplitLoads.png -------------------------------------------------------------------------------- /img/memory-access-opts/StockfishSummary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/memory-access-opts/StockfishSummary.png -------------------------------------------------------------------------------- /img/memory-access-opts/Stockfish_allocations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/memory-access-opts/Stockfish_allocations.png -------------------------------------------------------------------------------- /img/memory-access-opts/Stockfish_consumed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/memory-access-opts/Stockfish_consumed.png -------------------------------------------------------------------------------- /img/memory-access-opts/Stockfish_flamegraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/memory-access-opts/Stockfish_flamegraph.png -------------------------------------------------------------------------------- /img/mt-perf/AmdahlsLaw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/mt-perf/AmdahlsLaw.png -------------------------------------------------------------------------------- /img/mt-perf/CPythonBottomUpCombined.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/mt-perf/CPythonBottomUpCombined.png -------------------------------------------------------------------------------- /img/mt-perf/CPythonTimelineNew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/mt-perf/CPythonTimelineNew.png -------------------------------------------------------------------------------- /img/mt-perf/CloverLeafMemBandwidth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/mt-perf/CloverLeafMemBandwidth.png -------------------------------------------------------------------------------- /img/mt-perf/CozProfile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/mt-perf/CozProfile.png -------------------------------------------------------------------------------- /img/mt-perf/FalseSharing.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/mt-perf/FalseSharing.jpg -------------------------------------------------------------------------------- /img/mt-perf/FrequencyThrotlingClang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/mt-perf/FrequencyThrotlingClang.png -------------------------------------------------------------------------------- /img/mt-perf/MESI_Cache_Diagram.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/mt-perf/MESI_Cache_Diagram.jpg -------------------------------------------------------------------------------- /img/mt-perf/OmpAffinity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/mt-perf/OmpAffinity.png -------------------------------------------------------------------------------- /img/mt-perf/OmpDynamic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/mt-perf/OmpDynamic.png -------------------------------------------------------------------------------- /img/mt-perf/OmpStatic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/mt-perf/OmpStatic.png -------------------------------------------------------------------------------- /img/mt-perf/ScalabilityMainChart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/mt-perf/ScalabilityMainChart.png -------------------------------------------------------------------------------- /img/mt-perf/ScalabilityNoTurboChart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/mt-perf/ScalabilityNoTurboChart.png -------------------------------------------------------------------------------- /img/mt-perf/USL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/mt-perf/USL.png -------------------------------------------------------------------------------- /img/mt-perf/ZstdTimelineCut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/mt-perf/ZstdTimelineCut.png -------------------------------------------------------------------------------- /img/mt-perf/ZstdTimelineCutGrayScale.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/mt-perf/ZstdTimelineCutGrayScale.jpg -------------------------------------------------------------------------------- /img/mt-perf/ZstdTimelineCutGrayScale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/mt-perf/ZstdTimelineCutGrayScale.png -------------------------------------------------------------------------------- /img/other-tuning/Milan7313P.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/other-tuning/Milan7313P.png -------------------------------------------------------------------------------- /img/other-tuning/llc-bw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/other-tuning/llc-bw.png -------------------------------------------------------------------------------- /img/perf-analysis/CallStacksCFG.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-analysis/CallStacksCFG.png -------------------------------------------------------------------------------- /img/perf-analysis/CountingFlow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-analysis/CountingFlow.png -------------------------------------------------------------------------------- /img/perf-analysis/FlameGraph.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-analysis/FlameGraph.jpg -------------------------------------------------------------------------------- /img/perf-analysis/Multiplexing1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-analysis/Multiplexing1.png -------------------------------------------------------------------------------- /img/perf-analysis/Multiplexing2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-analysis/Multiplexing2.png -------------------------------------------------------------------------------- /img/perf-analysis/Roofline-intro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-analysis/Roofline-intro.png -------------------------------------------------------------------------------- /img/perf-analysis/Roofline-intro2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-analysis/Roofline-intro2.jpg -------------------------------------------------------------------------------- /img/perf-analysis/SamplingFlow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-analysis/SamplingFlow.png -------------------------------------------------------------------------------- /img/perf-analysis/VectorDep.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-analysis/VectorDep.png -------------------------------------------------------------------------------- /img/perf-analysis/fma_tput_uica.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-analysis/fma_tput_uica.png -------------------------------------------------------------------------------- /img/perf-analysis/roofline_matrix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-analysis/roofline_matrix.png -------------------------------------------------------------------------------- /img/perf-tools/Continuous_profiling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/Continuous_profiling.png -------------------------------------------------------------------------------- /img/perf-tools/ETWController_ClickScreenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/ETWController_ClickScreenshot.png -------------------------------------------------------------------------------- /img/perf-tools/ETWController_Dialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/ETWController_Dialog.png -------------------------------------------------------------------------------- /img/perf-tools/Flamegraph.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/Flamegraph.jpg -------------------------------------------------------------------------------- /img/perf-tools/VtunePovray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/VtunePovray.png -------------------------------------------------------------------------------- /img/perf-tools/VtunePovray_EventTimeline.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/VtunePovray_EventTimeline.jpg -------------------------------------------------------------------------------- /img/perf-tools/VtunePovray_SourceView.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/VtunePovray_SourceView.png -------------------------------------------------------------------------------- /img/perf-tools/WPA_MainView.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/WPA_MainView.png -------------------------------------------------------------------------------- /img/perf-tools/XcodeInstrumentsDialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/XcodeInstrumentsDialog.png -------------------------------------------------------------------------------- /img/perf-tools/XcodeInstrumentsView.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/XcodeInstrumentsView.jpg -------------------------------------------------------------------------------- /img/perf-tools/tracy/tracy_cpu_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/tracy/tracy_cpu_view.png -------------------------------------------------------------------------------- /img/perf-tools/tracy/tracy_cpu_view_grayscale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/tracy/tracy_cpu_view_grayscale.png -------------------------------------------------------------------------------- /img/perf-tools/tracy/tracy_frame_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/tracy/tracy_frame_view.png -------------------------------------------------------------------------------- /img/perf-tools/tracy/tracy_frame_view_grayscale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/tracy/tracy_frame_view_grayscale.png -------------------------------------------------------------------------------- /img/perf-tools/tracy/tracy_hotspots.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/tracy/tracy_hotspots.png -------------------------------------------------------------------------------- /img/perf-tools/tracy/tracy_hotspots_grayscale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/tracy/tracy_hotspots_grayscale.png -------------------------------------------------------------------------------- /img/perf-tools/tracy/tracy_main_timeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/tracy/tracy_main_timeline.png -------------------------------------------------------------------------------- /img/perf-tools/tracy/tracy_main_timeline_grayscale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/tracy/tracy_main_timeline_grayscale.png -------------------------------------------------------------------------------- /img/perf-tools/tracy/tracy_source_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/tracy/tracy_source_view.png -------------------------------------------------------------------------------- /img/perf-tools/tracy/tracy_zone_details.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/tracy/tracy_zone_details.png -------------------------------------------------------------------------------- /img/perf-tools/tracy/tracy_zone_details_grayscale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/tracy/tracy_zone_details_grayscale.png -------------------------------------------------------------------------------- /img/perf-tools/uProf_Flamegraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/uProf_Flamegraph.png -------------------------------------------------------------------------------- /img/perf-tools/uProf_Hopspot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/uProf_Hopspot.png -------------------------------------------------------------------------------- /img/perf-tools/uProf_SourceView.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/perf-tools/uProf_SourceView.png -------------------------------------------------------------------------------- /img/pmu-features/AMD_TMA.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/pmu-features/AMD_TMA.png -------------------------------------------------------------------------------- /img/pmu-features/LBR_timing_BB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/pmu-features/LBR_timing_BB.png -------------------------------------------------------------------------------- /img/pmu-features/PEBS_record.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/pmu-features/PEBS_record.png -------------------------------------------------------------------------------- /img/pmu-features/TMAM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/pmu-features/TMAM.png -------------------------------------------------------------------------------- /img/pmu-features/TMAM_diag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/pmu-features/TMAM_diag.png -------------------------------------------------------------------------------- /img/pmu-features/TMA_google.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/pmu-features/TMA_google.jpg -------------------------------------------------------------------------------- /img/pmu-features/Vtune_GE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/pmu-features/Vtune_GE.png -------------------------------------------------------------------------------- /img/pmu-features/Vtune_GE_code_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/pmu-features/Vtune_GE_code_view.png -------------------------------------------------------------------------------- /img/pmu-features/Vtune_GE_function_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/pmu-features/Vtune_GE_function_view.png -------------------------------------------------------------------------------- /img/terms-and-metrics/CloverMetricCharts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/terms-and-metrics/CloverMetricCharts.png -------------------------------------------------------------------------------- /img/terms-and-metrics/CloverMetricCharts2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/terms-and-metrics/CloverMetricCharts2.png -------------------------------------------------------------------------------- /img/terms-and-metrics/MemBandwidthAndLatenciesDiagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/terms-and-metrics/MemBandwidthAndLatenciesDiagram.png -------------------------------------------------------------------------------- /img/terms-and-metrics/MemLatencies.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/terms-and-metrics/MemLatencies.png -------------------------------------------------------------------------------- /img/terms-and-metrics/PipelineSlot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/terms-and-metrics/PipelineSlot.jpg -------------------------------------------------------------------------------- /img/uarch/CacheLookup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/CacheLookup.png -------------------------------------------------------------------------------- /img/uarch/DRAM_channel_interleaving.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/DRAM_channel_interleaving.png -------------------------------------------------------------------------------- /img/uarch/DRAM_channels.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/DRAM_channels.png -------------------------------------------------------------------------------- /img/uarch/DRAM_ranks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/DRAM_ranks.png -------------------------------------------------------------------------------- /img/uarch/GLC_TLB_hierarchy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/GLC_TLB_hierarchy.png -------------------------------------------------------------------------------- /img/uarch/HugePageVirtualAddress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/HugePageVirtualAddress.png -------------------------------------------------------------------------------- /img/uarch/L2PageTables.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/L2PageTables.png -------------------------------------------------------------------------------- /img/uarch/OOO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/OOO.png -------------------------------------------------------------------------------- /img/uarch/PMC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/PMC.png -------------------------------------------------------------------------------- /img/uarch/PMU.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/PMU.png -------------------------------------------------------------------------------- /img/uarch/Pipelining.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/Pipelining.png -------------------------------------------------------------------------------- /img/uarch/SIMD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/SIMD.png -------------------------------------------------------------------------------- /img/uarch/SMT.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/SMT.png -------------------------------------------------------------------------------- /img/uarch/Speculative1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/Speculative1.png -------------------------------------------------------------------------------- /img/uarch/Speculative2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/Speculative2.png -------------------------------------------------------------------------------- /img/uarch/SuperScalar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/SuperScalar.png -------------------------------------------------------------------------------- /img/uarch/VirtualMem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/VirtualMem.png -------------------------------------------------------------------------------- /img/uarch/goldencove_BE_LSU.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/goldencove_BE_LSU.png -------------------------------------------------------------------------------- /img/uarch/goldencove_OOO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/goldencove_OOO.png -------------------------------------------------------------------------------- /img/uarch/goldencove_block_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/img/uarch/goldencove_block_diagram.png -------------------------------------------------------------------------------- /metadata.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/metadata.txt -------------------------------------------------------------------------------- /new_toc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/new_toc.md -------------------------------------------------------------------------------- /perf-book-10November24.excalidraw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dendibakh/perf-book/HEAD/perf-book-10November24.excalidraw --------------------------------------------------------------------------------