Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 2015 03:05:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 198149] [hwpmc] pmcstat -P -t (top mode, process sampling) stops after a while
Message-ID:  <bug-198149-8-VjCn1HPtia@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-198149-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-198149-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198149

--- Comment #7 from ganbold@gmail.com ---
I tried to reproduce it with asterisk in same multicore machine and put some
load on asterisk:

last pid:  1296;  load averages:  7.44,  5.22,  3.17                           
                                                                       up
0+00:28:00  12:01:12
51 processes:  2 running, 49 sleeping
CPU: 31.9% user,  0.0% nice, 21.8% system,  1.8% interrupt, 44.5% idle
Mem: 300M Active, 443M Inact, 252M Wired, 90M Buf, 6933M Free
Swap: 16G Total, 16G Free

  PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
 1275 root       1059  20    0  1472M   584M select  3  14:30 217.48% asterisk
 1280 root          1  24    0 33100K 12692K CPU3    3   0:06   1.27% pmcstat
  721 tsgan         1  20    0 86488K  7060K select  7   0:03   0.00% sshd

And I still see pmcstat shows in top mode:

PMC: [CPU_CLK_UNHALTED_CORE] Samples: 24904 (100.0%) , 2906 unresolved

%SAMP IMAGE      FUNCTION             CALLERS
  7.0 kernel     _mtx_lock_spin_cooki pmclog_reserve:6.4 sched_add:0.6
  3.4 kernel     __mtx_lock_sleep     umtxq_sleep:1.3
__umtx_op_wake2_umutex:1.2 do_lock_umutex:0.6
  3.3 libgsm.so. 0xad72               Gsm_Short_Term_Synthesis_Filt
  2.4 kernel     cpu_search_lowest    cpu_search_lowest
  2.3 libgsm.so. 0xad37               Gsm_Short_Term_Synthesis_Filt
  1.8 libgsm.so. 0xad19               Gsm_Short_Term_Synthesis_Filt
  1.6 libgsm.so. 0xad30               Gsm_Short_Term_Synthesis_Filt
  1.6 libgsm.so. 0xad69               Gsm_Short_Term_Synthesis_Filt
  1.6 libgsm.so. 0xace7               Gsm_Short_Term_Synthesis_Filt
  1.4 libgsm.so. Gsm_Decoder          gsm_decode
  1.3 libgsm.so. 0xad53               Gsm_Short_Term_Synthesis_Filt
  1.3 libgsm.so. Gsm_Long_Term_Synthe Gsm_Decoder
  1.2 hwpmc.ko   pmc_hook_handler     sched_switch
  1.1 libgsm.so. 0xad4b               Gsm_Short_Term_Synthesis_Filt
  1.1 codec_ulaw lintoulaw_framein
  1.0 libgsm.so. Gsm_Short_Term_Synth Gsm_Decoder
  1.0 kernel     Xrendezvous
  1.0 libgsm.so. 0xad33               Gsm_Short_Term_Synthesis_Filt
  1.0 libgsm.so. 0xad3f               Gsm_Short_Term_Synthesis_Filt
  1.0 libgsm.so. 0xace0               Gsm_Short_Term_Synthesis_Filt
  1.0 libgsm.so. 0xacb0               Gsm_Short_Term_Synthesis_Filt
  0.9 libgsm.so. 0xacca               Gsm_Short_Term_Synthesis_Filt
  0.9 kernel     do_lock_umutex       __umtx_op_wait_umutex
  0.9 libgsm.so. 0xacef               Gsm_Short_Term_Synthesis_Filt
  0.9 libgsm.so. 0xad11               Gsm_Short_Term_Synthesis_Filt
  0.8 libgsm.so. 0xad00               Gsm_Short_Term_Synthesis_Filt
  0.8 kernel     amd64_syscall
  0.8 kernel     in_pcbconnect_setup  udp_send
  0.8 libgsm.so. 0xacfa               Gsm_Short_Term_Synthesis_Filt
  0.8 libgsm.so. 0xad06               Gsm_Short_Term_Synthesis_Filt
  0.7 libgsm.so. Gsm_RPE_Decoding     Gsm_Decoder
  0.7 kernel     thread_lock_flags_
  0.7 libc.so.7  memcpy
  0.6 kernel     __umtx_op_wake2_umut amd64_syscall
  0.6 kernel     __rw_rlock
  0.6 libgsm.so. 0xad43               Gsm_Short_Term_Synthesis_Filt
...

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198149-8-VjCn1HPtia>