Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762249AbZJOIKq (ORCPT ); Thu, 15 Oct 2009 04:10:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761744AbZJOIKp (ORCPT ); Thu, 15 Oct 2009 04:10:45 -0400 Received: from smtp-out.google.com ([216.239.33.17]:53410 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761676AbZJOIKn (ORCPT ); Thu, 15 Oct 2009 04:10:43 -0400 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:user-agent:mime-version:content-type:x-system-of-record; b=O5gGnFsAJCza15HXMcerj5z9UZdypq/atlViXyJd/KQJBNFsHCZaP/HUryua0wWYh wo3SY9oyi9Wo7T3pjvsDw== Date: Thu, 15 Oct 2009 01:09:28 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Christoph Lameter cc: Mel Gorman , linux-kernel@vger.kernel.org, Pekka Enberg , Tejun Heo , Mathieu Desnoyers , akpm@linux-foundation.org, Ingo Molnar , Eric Dumazet Subject: Re: [RFC In-kernel benchmarks 0/3] Introduce in kernel benchmarks In-Reply-To: <20091013200233.260324963@gentwo.org> Message-ID: References: <20091013200233.260324963@gentwo.org> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1145 Lines: 28 On Tue, 13 Oct 2009, Christoph Lameter wrote: > In kernel benchmarks are benchmarks that directly run in kernel space. > > The test modules are regular kernel modules that can be loaded with > > modprobe slab_test > > or so. > > The initialization function of the module will then run the test > and fail so that the module is not loaded. The output of the test > results will be written to the system log. > > This is a rough draft. I have used these in the past to benchmark > page allocator, slab allocator and vmstat performance. > I like the addition of these benchmarks to the kernel source, I've been adding Mathieu's slab benchmark to my tree for a while. It looks like they all need some degree of cleanup, though: they have checkpatch warnings, they frequently do not handle memory allocation failures, and it would be nice to have a consistent loglevel for all the results. -- 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/