[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180223080653.GA1584@amd>
Date: Fri, 23 Feb 2018 09:06:53 +0100
From: Pavel Machek <pavel@....cz>
To: Kees Cook <keescook@...gle.com>
Cc: Shuah Khan <shuah@...nel.org>,
Fengguang Wu <fengguang.wu@...el.com>,
Laura Abbott <labbott@...hat.com>,
Tycho Andersen <tycho@...ho.ws>,
Steven Rostedt <srostedt@...hat.com>,
Kevin Hilman <khilman@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: collecting simple benchmark scripts?
Hi!
> In a separate thread, some folks were looking for some simple
> benchmarks for evaluating various changes to kernel internals (as
> opposed to the much more focused things like xfstests). For me, this
> has been an area of lore and passed-around scripts, and it seems like
> maybe we should have a subdirectory of tools/testing/benchmarks/ or
> something to collect these?
>
> (Or maybe this already exists and I've totally missed it?)
>
> I've got at least one micro-benchmark in
> tools/testing/selftests/seccomp/seccomp_benchmark.c, and searches show
> tools/testing/selftests/vm/gup_benchmark.c too, but I was thinking of
> either more generali things more like the famous "kernel build
> benchmark" or a wrapper for running hackbench to get some statistics
> out of it, etc.
Ok, I guess my micro-benchmark is too micro for you, but I like to use
"time cat /dev/urandom | head -c 10000000 | bzip2 -9 - | wc -c"
I have a page with various results online somewhere, probably at
http://atrey.karlin.mff.cuni.cz/~pavel/quickbench.html
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists