전체 글 (30) 썸네일형 리스트형 The PMCs of EC2: Measuring IPC ... as with the increasing scale of processors and speed of storage devices, the common bottleneck is moving from disks to the memory subsystem. CPU caches, the MMU, memory busses, and CPU interconnects. These can only be analyzed with PMCs. PMC Usage PMC는 Counting, Sampling 두개의 방법으로 사용될 수 있다. Counting: 발생하는 개수를 집계 Sampling: 이벤트의 개수를 기반으로 인터럽트를 발생시킴 (Interrupt는 stack trace, PC(Program Counter) s.. Perf Events Counter, MSRs - model specific registers https://easyperf.net/blog/2018/06/01/PMU-counters-and-profiling-basics Counting vs. Sampling Counting - disable counting - set all the counters to 0 - configure evenst that we want to measure - enable counting - run the application - disable counting - read the values of the counters Sampling - set counter to 0 - enable counting - wait for the overflow an.. CPU cycle에 대한 고찰 What is retired instruction? Modern processors execute much more instructions that the program flow needs. This is called a speculative execution. Instructions that were “proven” as indeed needed by the program execution flow are “retired”. What is reference cycle? Having a snippet A to run in 100 core clocks and a snippet B in 200 core clocks means that B is slower in general (it takes double t.. 이전 1 2 3 4 5 6 7 ··· 10 다음