Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755371Ab3CWDvR (ORCPT ); Fri, 22 Mar 2013 23:51:17 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.122]:22100 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755266Ab3CWDvQ (ORCPT ); Fri, 22 Mar 2013 23:51:16 -0400 X-Authority-Analysis: v=2.0 cv=H5hZMpki c=1 sm=0 a=rXTBtCOcEpjy1lPqhTCpEQ==:17 a=mNMOxpOpBa8A:10 a=ZzSxI7jMevMA:10 a=5SG0PmZfjMsA:10 a=IkcTkHD0fZMA:10 a=meVymXHHAAAA:8 a=mVTtbqeYs4EA:10 a=6m4_6qrbAAAA:8 a=XNvD-fVPgNjrpJVugxYA:9 a=QEXdDO2ut3YA:10 a=rXTBtCOcEpjy1lPqhTCpEQ==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 74.67.115.198 Message-ID: <1364010673.6345.156.camel@gandalf.local.home> Subject: Re: [RT LATENCY] 249 microsecond latency caused by slub's unfreeze_partials() code. From: Steven Rostedt To: Christoph Lameter Cc: LKML , RT , Thomas Gleixner , Clark Williams Date: Fri, 22 Mar 2013 23:51:13 -0400 In-Reply-To: <0000013d92c37ff3-5fb85400-bec1-4eda-8ba1-332566884c59-000000@email.amazonses.com> References: <1363906545.6345.81.camel@gandalf.local.home> <0000013d92c37ff3-5fb85400-bec1-4eda-8ba1-332566884c59-000000@email.amazonses.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1670 Lines: 41 On Fri, 2013-03-22 at 15:41 +0000, Christoph Lameter wrote: > The control is via the cpu_partial field in /sys/kernel/slab// > > There is also slabs_cpu_partial which gives a view as to how many objects > are cached in each per cpu structure. Do a cat > > /sys/kernel/*/slabs_cpu_partial to get a view of what the situation is. > Any abnormally high numbers? > > The default for the number of per cpu partial objects should be 30 or so. I just triggered another latency: hackbenc-31634 5d..31 103261.991668: sched_switch: hackbench:31634 [120] D ==> hackbench:36093 [120] hackbenc-36093 5d...0 103261.991670: funcgraph_entry: ! 225.665 us | unfreeze_partials(); hackbenc-36093 5d...0 103261.991897: funcgraph_entry: | smp_apic_timer_interrupt() { hackbenc-36093 5d.h10 103261.991897: hrtimer_expire_entry: hrtimer=0xffff881f5ca7fe88 now=103293011955940 function=hrtimer_wakeup/0x0 hackbenc-36093 5d.h30 103261.991898: sched_wakeup: cyclictest:8946 [4] success=1 CPU:005 hackbenc-36093 5dN..0 103261.991901: funcgraph_exit: 3.589 us | } hackbenc-36093 5d..30 103261.991902: sched_switch: hackbench:36093 [120] R ==> cyclictest:8946 [4] I did a: cat /sys/kernel/slab/*/slabs_cpu_partial > slab_partials I uploaded it here: http://rostedt.homelinux.com/private/slab_partials See anything I should be worried about? Thanks, -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/