Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754881AbYHMUgc (ORCPT ); Wed, 13 Aug 2008 16:36:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752626AbYHMUgY (ORCPT ); Wed, 13 Aug 2008 16:36:24 -0400 Received: from mx1.redhat.com ([66.187.233.31]:41042 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751896AbYHMUgX (ORCPT ); Wed, 13 Aug 2008 16:36:23 -0400 Message-ID: <48A3455E.20602@redhat.com> Date: Wed, 13 Aug 2008 16:34:38 -0400 From: Steven Rostedt User-Agent: Thunderbird 1.5.0.12 (X11/20071019) MIME-Version: 1.0 To: Mathieu Desnoyers CC: Jeremy Fitzhardinge , Andi Kleen , Thomas Gleixner , Linus Torvalds , Steven Rostedt , LKML , Ingo Molnar , Peter Zijlstra , Andrew Morton , David Miller , Roland McGrath , Ulrich Drepper , Rusty Russell , Gregory Haskins , Arnaldo Carvalho de Melo , "Luis Claudio R. Goncalves" , Clark Williams Subject: Re: Efficient x86 and x86_64 NOP microbenchmarks References: <20080813191926.GB15547@Krystal> <48A33D65.4020802@redhat.com> <48A33EE3.80109@goop.org> In-Reply-To: <48A33EE3.80109@goop.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 961 Lines: 26 Just a curious run of Mathieu's micro benchmark: NR_TESTS 10000000 test empty cycles : 182500444 test 2-bytes jump cycles : 195969127 test 5-bytes jump cycles : 197000202 test 3/2 nops cycles : 201333408 test 5-bytes nop with long prefix cycles : 205000067 test 5-bytes P6 nop cycles : 205000227 test Generic 1/4 5-bytes nops cycles : 200000077 test K7 1/4 5-bytes nops cycles : 197549045 And this was on a Pentium III 847.461 MHz box (my old toshiba laptop) The jumps here played the best, but that could just be cache issues. But interesting to see that of the nops, the K7 1/4 faired the best. -- 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/