Re: [perfmon2] Events, FLOPS
Status: Beta
Brought to you by:
seranian
From: Caglar O. <cag...@gm...> - 2008-05-28 13:03:05
|
i have checked pfmon -l and the output i get is below. I could't find anything that looks like it outputs floating point operations per second.. is there no hope? what can i do to get FLOPS using the available events? root@caglar-notebook:/home/caglar# pfmon -l DISPATCHED_FPU CYCLES_NO_FPU_OPS_RETIRED DISPATCHED_FPU_OPS_FAST_FLAG SEGMENT_REGISTER_LOADS PIPELINE_RESTART_DUE_TO_SELF_MODIFYING_CODE PIPELINE_RESTART_DUE_TO_PROBE_HIT LS_BUFFER_2_FULL_CYCLES LOCKED_OPS MEMORY_REQUESTS DATA_CACHE_ACCESSES DATA_CACHE_MISSES DATA_CACHE_REFILLS DATA_CACHE_REFILLS_FROM_SYSTEM DATA_CACHE_LINES_EVICTED L1_DTLB_MISS_AND_L2_DTLB_HIT L1_DTLB_AND_L2_DTLB_MISS MISALIGNED_ACCESSES MICROARCHITECTURAL_LATE_CANCEL_OF_AN_ACCESS MICROARCHITECTURAL_EARLY_CANCEL_OF_AN_ACCESS SCRUBBER_SINGLE_BIT_ECC_ERRORS PREFETCH_INSTRUCTIONS_DISPATCHED DCACHE_MISSES_BY_LOCKED_INSTRUCTIONS DATA_PREFETCHES SYSTEM_READ_RESPONSES QUADWORDS_WRITTEN_TO_SYSTEM REQUESTS_TO_L2 L2_CACHE_MISS L2_FILL_WRITEBACK INSTRUCTION_CACHE_FETCHES INSTRUCTION_CACHE_MISSES INSTRUCTION_CACHE_REFILLS_FROM_L2 INSTRUCTION_CACHE_REFILLS_FROM_SYSTEM L1_ITLB_MISS_AND_L2_ITLB_HIT L1_ITLB_MISS_AND_L2_ITLB_MISS PIPELINE_RESTART_DUE_TO_INSTRUCTION_STREAM_PROBE INSTRUCTION_FETCH_STALL RETURN_STACK_HITS RETURN_STACK_OVERFLOWS RETIRED_CLFLUSH_INSTRUCTIONS RETIRED_CPUID_INSTRUCTIONS CPU_CLK_UNHALTED RETIRED_INSTRUCTIONS RETIRED_UOPS RETIRED_BRANCH_INSTRUCTIONS RETIRED_MISPREDICTED_BRANCH_INSTRUCTIONS RETIRED_TAKEN_BRANCH_INSTRUCTIONS RETIRED_TAKEN_BRANCH_INSTRUCTIONS_MISPREDICTED RETIRED_FAR_CONTROL_TRANSFERS RETIRED_BRANCH_RESYNCS RETIRED_NEAR_RETURNS RETIRED_NEAR_RETURNS_MISPREDICTED RETIRED_INDIRECT_BRANCHES_MISPREDICTED RETIRED_MMX_AND_FP_INSTRUCTIONS RETIRED_FASTPATH_DOUBLE_OP_INSTRUCTIONS INTERRUPTS_MASKED_CYCLES INTERRUPTS_MASKED_CYCLES_WITH_INTERRUPT_PENDING INTERRUPTS_TAKEN DECODER_EMPTY DISPATCH_STALLS DISPATCH_STALL_FOR_BRANCH_ABORT DISPATCH_STALL_FOR_SERIALIZATION DISPATCH_STALL_FOR_SEGMENT_LOAD DISPATCH_STALL_FOR_REORDER_BUFFER_FULL DISPATCH_STALL_FOR_RESERVATION_STATION_FULL DISPATCH_STALL_FOR_FPU_FULL DISPATCH_STALL_FOR_LS_FULL DISPATCH_STALL_WAITING_FOR_ALL_QUIET DISPATCH_STALL_FOR_FAR_TRANSFER_OR_RSYNC FPU_EXCEPTIONS DR0_BREAKPOINT_MATCHES DR1_BREAKPOINT_MATCHES DR2_BREAKPOINT_MATCHES DR3_BREAKPOINT_MATCHES DRAM_ACCESSES_PAGE MEMORY_CONTROLLER_PAGE_TABLE_OVERFLOWS MEMORY_CONTROLLER_TURNAROUNDS MEMORY_CONTROLLER_BYPASS SIZED_BLOCKS THERMAL_STATUS_AND_ECC_ERRORS CPU_IO_REQUESTS_TO_MEMORY_IO CACHE_BLOCK SIZED_COMMANDS PROBE GART HYPERTRANSPORT_LINK0 HYPERTRANSPORT_LINK1 HYPERTRANSPORT_LINK2 root@caglar-notebook:/home/caglar# pfmon -l DISPATCHED_FPU CYCLES_NO_FPU_OPS_RETIRED DISPATCHED_FPU_OPS_FAST_FLAG SEGMENT_REGISTER_LOADS PIPELINE_RESTART_DUE_TO_SELF_MODIFYING_CODE PIPELINE_RESTART_DUE_TO_PROBE_HIT LS_BUFFER_2_FULL_CYCLES LOCKED_OPS MEMORY_REQUESTS DATA_CACHE_ACCESSES DATA_CACHE_MISSES DATA_CACHE_REFILLS DATA_CACHE_REFILLS_FROM_SYSTEM DATA_CACHE_LINES_EVICTED L1_DTLB_MISS_AND_L2_DTLB_HIT L1_DTLB_AND_L2_DTLB_MISS MISALIGNED_ACCESSES MICROARCHITECTURAL_LATE_CANCEL_OF_AN_ACCESS MICROARCHITECTURAL_EARLY_CANCEL_OF_AN_ACCESS SCRUBBER_SINGLE_BIT_ECC_ERRORS PREFETCH_INSTRUCTIONS_DISPATCHED DCACHE_MISSES_BY_LOCKED_INSTRUCTIONS DATA_PREFETCHES SYSTEM_READ_RESPONSES QUADWORDS_WRITTEN_TO_SYSTEM REQUESTS_TO_L2 L2_CACHE_MISS L2_FILL_WRITEBACK INSTRUCTION_CACHE_FETCHES INSTRUCTION_CACHE_MISSES INSTRUCTION_CACHE_REFILLS_FROM_L2 INSTRUCTION_CACHE_REFILLS_FROM_SYSTEM L1_ITLB_MISS_AND_L2_ITLB_HIT L1_ITLB_MISS_AND_L2_ITLB_MISS PIPELINE_RESTART_DUE_TO_INSTRUCTION_STREAM_PROBE INSTRUCTION_FETCH_STALL RETURN_STACK_HITS RETURN_STACK_OVERFLOWS RETIRED_CLFLUSH_INSTRUCTIONS RETIRED_CPUID_INSTRUCTIONS CPU_CLK_UNHALTED RETIRED_INSTRUCTIONS RETIRED_UOPS RETIRED_BRANCH_INSTRUCTIONS RETIRED_MISPREDICTED_BRANCH_INSTRUCTIONS RETIRED_TAKEN_BRANCH_INSTRUCTIONS RETIRED_TAKEN_BRANCH_INSTRUCTIONS_MISPREDICTED RETIRED_FAR_CONTROL_TRANSFERS RETIRED_BRANCH_RESYNCS RETIRED_NEAR_RETURNS RETIRED_NEAR_RETURNS_MISPREDICTED RETIRED_INDIRECT_BRANCHES_MISPREDICTED RETIRED_MMX_AND_FP_INSTRUCTIONS RETIRED_FASTPATH_DOUBLE_OP_INSTRUCTIONS INTERRUPTS_MASKED_CYCLES INTERRUPTS_MASKED_CYCLES_WITH_INTERRUPT_PENDING INTERRUPTS_TAKEN DECODER_EMPTY DISPATCH_STALLS DISPATCH_STALL_FOR_BRANCH_ABORT DISPATCH_STALL_FOR_SERIALIZATION DISPATCH_STALL_FOR_SEGMENT_LOAD DISPATCH_STALL_FOR_REORDER_BUFFER_FULL DISPATCH_STALL_FOR_RESERVATION_STATION_FULL DISPATCH_STALL_FOR_FPU_FULL DISPATCH_STALL_FOR_LS_FULL DISPATCH_STALL_WAITING_FOR_ALL_QUIET DISPATCH_STALL_FOR_FAR_TRANSFER_OR_RSYNC FPU_EXCEPTIONS DR0_BREAKPOINT_MATCHES DR1_BREAKPOINT_MATCHES DR2_BREAKPOINT_MATCHES DR3_BREAKPOINT_MATCHES DRAM_ACCESSES_PAGE MEMORY_CONTROLLER_PAGE_TABLE_OVERFLOWS MEMORY_CONTROLLER_TURNAROUNDS MEMORY_CONTROLLER_BYPASS SIZED_BLOCKS THERMAL_STATUS_AND_ECC_ERRORS CPU_IO_REQUESTS_TO_MEMORY_IO CACHE_BLOCK SIZED_COMMANDS PROBE GART HYPERTRANSPORT_LINK0 HYPERTRANSPORT_LINK1 HYPERTRANSPORT_LINK2 On Wed, May 28, 2008 at 3:38 PM, Caglar Ozdag <cag...@gm...> wrote: > i have ubuntu 8.04, kernel 2.6.25.4 patched with the pfmon-2.6.25 running > pfmon3-3.4 (also installed libpfm3-3.4 and libelf-dev). > > my boss wants me to figure out some numbers related to the FLOPS of some of > the programs the company has. but forget the FP_OPS_RETIRED event, i cant > seem to work ANY events. I am very new with this stuff especially using > pfmon. > > root@caglar-notebook:/home/caglar# pfmon date > Wed May 28 15:36:43 EEST 2008 > 1856945 CPU_CLK_UNHALTED > root@caglar-notebook:/home/caglar# pfmon -e FP_OPS_RETIRED ./nfpo.out > event FP_OPS_RETIRED : event not found > root@caglar-notebook:/home/caglar# pfmon -e nops_retired ls /dev/null > event nops_retired : event not found > root@caglar-notebook:/home/caglar# pfmon -e cpu_cycles ls /dev/nullevent > cpu_cycles : event not found > root@caglar-notebook:/home/caglar# pfmon -ecpu_cycles ls /dev/null > event cpu_cycles : event not found > > Thanks, > > Caglar > -- - C. |