Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937084AbZAPTKw (ORCPT ); Fri, 16 Jan 2009 14:10:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1763313AbZAPTKF (ORCPT ); Fri, 16 Jan 2009 14:10:05 -0500 Received: from mx2.redhat.com ([66.187.237.31]:43653 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763486AbZAPTKB (ORCPT ); Fri, 16 Jan 2009 14:10:01 -0500 Subject: Re: Mainline kernel OLTP performance update From: Steven Rostedt To: Gregory Haskins Cc: "Ma, Chinang" , "Wilcox, Matthew R" , Matthew Wilcox , Andrew Morton , James Bottomley , "linux-kernel@vger.kernel.org" , "Tripathi, Sharad C" , "arjan@linux.intel.com" , "Kleen, Andi" , "Siddha, Suresh B" , "Chilukuri, Harita" , "Styner, Douglas W" , "Wang, Peter Xihong" , "Nueckel, Hubert" , "chris.mason@oracle.com" , "linux-scsi@vger.kernel.org" , Andrew Vasquez , Anirban Chakraborty In-Reply-To: <4970CE79.1080002@novell.com> References: <20090114163557.11e097f2.akpm@linux-foundation.org> <20090115012147.GW29283@parisc-linux.org> <20090114180431.f4a96543.akpm@linux-foundation.org> <1232028766.5966.10.camel@localhost.localdomain> <20090115094442.b6394544.akpm@linux-foundation.org> <20090115180052.GG29283@parisc-linux.org> <1232043287.21980.65.camel@localhost.localdomain> <496F8421.3070703@novell.com> <4970CE79.1080002@novell.com> Content-Type: text/plain Organization: Red Hat Date: Fri, 16 Jan 2009 14:09:19 -0500 Message-Id: <1232132959.21980.103.camel@localhost.localdomain> 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: 2442 Lines: 82 On Fri, 2009-01-16 at 13:14 -0500, Gregory Haskins wrote: > Ma, Chinang wrote: > > Gregory. > > I will test the resched-ipi instrumentation patch with our OLTP if you can post the patch and some instructions. > > Thanks, > > -Chinang > > > > Hi Chinang, > Please find a patch attached which applies to linus.git as of today. > You will also want to enable CONFIG_FUNCTION_TRACER as well as the trace > components. Here is my system: > I don't see why CONFIG_FUNCTION_TRACER is needed. > ghaskins@dev:~/sandbox/git/linux-2.6-rt> grep TRACE .config > CONFIG_STACKTRACE_SUPPORT=y > CONFIG_TRACEPOINTS=y > CONFIG_HAVE_ARCH_TRACEHOOK=y > CONFIG_BLK_DEV_IO_TRACE=y > # CONFIG_TREE_RCU_TRACE is not set > # CONFIG_PREEMPT_RCU_TRACE is not set > CONFIG_X86_PTRACE_BTS=y > # CONFIG_ACPI_DEBUG_FUNC_TRACE is not set > CONFIG_NETFILTER_XT_TARGET_TRACE=m > CONFIG_SOUND_TRACEINIT=y > CONFIG_TRACE_IRQFLAGS_SUPPORT=y > CONFIG_TRACE_IRQFLAGS=y > CONFIG_STACKTRACE=y > # CONFIG_BACKTRACE_SELF_TEST is not set > CONFIG_USER_STACKTRACE_SUPPORT=y > CONFIG_NOP_TRACER=y > CONFIG_HAVE_FUNCTION_TRACER=y > CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y > CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=y > CONFIG_HAVE_DYNAMIC_FTRACE=y > CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y > CONFIG_HAVE_HW_BRANCH_TRACER=y > CONFIG_TRACER_MAX_TRACE=y > CONFIG_FUNCTION_TRACER=y > CONFIG_FUNCTION_GRAPH_TRACER=y > CONFIG_IRQSOFF_TRACER=y > CONFIG_SYSPROF_TRACER=y > CONFIG_SCHED_TRACER=y This CONFIG_SCHED_TRACER should be enough. -- Steve > CONFIG_CONTEXT_SWITCH_TRACER=y > # CONFIG_BOOT_TRACER is not set > # CONFIG_TRACE_BRANCH_PROFILING is not set > CONFIG_POWER_TRACER=y > CONFIG_STACK_TRACER=y > CONFIG_HW_BRANCH_TRACER=y > CONFIG_DYNAMIC_FTRACE=y > CONFIG_FTRACE_MCOUNT_RECORD=y > # CONFIG_FTRACE_STARTUP_TEST is not set > # CONFIG_MMIOTRACE is not set > # CONFIG_KVM_TRACE is not set > > > Then on your booted system, do: > > echo sched_switch > /sys/kernel/debug/tracing/current_tracer > echo 1 > /sys/kernel/debug/tracing/tracing_enabled > $run_oltp && echo 0 > /sys/kernel/debug/tracing/tracing_enabled > > (where $run_oltp is your suite) > > Then, email the contents of /sys/kernel/debug/tracing/trace to me > > -Greg > -- 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/