From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 21 03:05:08 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 59E7D573 for ; Tue, 21 Apr 2015 03:05:08 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 43EE7F6A for ; Tue, 21 Apr 2015 03:05:08 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t3L358T9049554 for ; Tue, 21 Apr 2015 03:05:08 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Tue, 21 Apr 2015 03:05:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ganbold@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Apr 2015 03:05:08 -0000 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.