Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756004Ab2FPJVb (ORCPT ); Sat, 16 Jun 2012 05:21:31 -0400 Received: from smtprelay02.ispgateway.de ([80.67.31.40]:58279 "EHLO smtprelay02.ispgateway.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753057Ab2FPJVa (ORCPT ); Sat, 16 Jun 2012 05:21:30 -0400 Message-ID: <4FDC4FF8.1030804@ladisch.de> Date: Sat, 16 Jun 2012 11:20:56 +0200 From: Clemens Ladisch User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110323 Thunderbird/3.1.9 MIME-Version: 1.0 To: Mahmood Naderan CC: "linux-kernel@vger.kernel.org" Subject: Re: about interlagos References: <1339828893.59679.YahooMailNeo@web111722.mail.gq1.yahoo.com> In-Reply-To: <1339828893.59679.YahooMailNeo@web111722.mail.gq1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Df-Sender: bGludXgta2VybmVsQGNsLmRvbWFpbmZhY3Rvcnkta3VuZGUuZGU= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1064 Lines: 29 Mahmood Naderan wrote: > As you can see, although interlagos is the newest one which has higher cpu > clock rate and higher cache size, the bogomips of interlagos is the lowest! > I read that bogomips is not a true measurement, Indeed it is not. > but it senses as a speed meter. It measures the speed of one particular delay loop. Because such a busy loop is pretty much the silliest thing you could do to a CPU, it does not make sense to use it to measure overall CPU speed, or to compare different microarchitectures. > Any idea? If you want to know how fast your code will execute, you have to measure that code. If you are too lazy to do this, search for a benchmark that represents that code well; for general-purpose code, the gcc part of the SPEC CPU benchmark probably comes closest. Regards, Clemens -- 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/