CPU underload
Eugene Grosbein
eugen at grosbein.net
Sat Oct 31 13:42:52 UTC 2015
On 31.10.2015 19:52, Adrian Chadd wrote:
> hi,
>
> there's a mips callchain kernel option. Sorry, I'm on my mac atm so I
> can't tell you. look in sys/conf/options for callchain, callgraph,
> etc. It's a build option.
>
> Just rebuild your kernel with that and check.
Oh, I got it. But it does not help, empty "CALLERS" list for DELAY:
%SAMP IMAGE FUNCTION CALLERS
PMC: [INSTR_EXECUTED] Samples: 8875 (100.0%) , 0 unresolved
%SAMP IMAGE FUNCTION CALLERS
9.9 kernel MipsUserIntr
4.4 kernel DELAY
4.2 kernel ip_fastforward ether_demux
3.7 kernel memcpy
3.1 kernel _bus_dmamap_sync arge_start_locked:1.4 arge_rx_locked:0.9 arge_newbuf:0.5
2.9 kernel _bus_dmamap_load_buf _bus_dmamap_load_mbuf_sg
2.9 kernel ether_nh_input netisr_dispatch_src
2.8 kernel if_inc_counter ether_nh_input:0.6 arge_tx_locked:0.5
2.5 libc.so.7 bsearch pmcstat_symbol_search
2.5 kernel ether_output ip_fastforward
2.4 kernel bzero
2.3 kernel arge_start_locked arge_start:1.8 arge_intr:0.5
2.2 kernel critical_enter
1.9 kernel critical_exit if_inc_counter
1.7 kernel _rw_runlock_cookie arpresolve
1.6 kernel rn_match rtalloc1_fib
1.6 kernel __rw_rlock in_lltable_lookup:0.5 arpresolve:0.5
1.4 kernel mips_wait cpu_idle
1.4 kernel mipsNN_pdcache_inv_r
1.4 kernel _rm_rlock in_localip:0.8 vlan_input:0.5
1.4 libpmc.so. pmclog_read pmcstat_process_log
1.3 kernel arge_tx_locked arge_intr
1.3 kernel _bus_dmamap_unload arge_tx_locked:0.8 arge_newbuf:0.5
1.3 kernel bus_dmamap_sync_buf
1.3 kernel mipsNN_pdcache_wb_ra
1.2 kernel generic_bs_barrier
1.1 kernel _bus_dmamap_load_mbu bus_dmamap_load_mbuf_sg
1.1 kernel if_transmit ether_output_frame
1.1 kernel m_adj
1.1 kernel netisr_dispatch_src netisr_dispatch
1.1 kernel bcmp
1.1 kernel spinlock_exit ithread_loop
1.1 kernel bus_dmamap_load_mbuf arge_start_locked:0.6 arge_newbuf:0.5
1.1 kernel arge_newbuf arge_rx_locked
1.0 kernel arge_rx_locked arge_intr
1.0 kernel ether_demux ether_nh_input
1.0 kernel uma_zalloc_arg arge_newbuf
0.9 kernel uma_zfree_arg mb_free_ext
CONVERSION STATISTICS:e ip_fastforward
#samples/total 34618
#samples/unknown-function 2202
More information about the freebsd-mips
mailing list