From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Riepe Subject: Re: Floating point vs Integer performance Date: Tue, 13 Mar 2007 09:16:58 +0100 Message-ID: <45F65DFA.60808@mr511.de> References: <1173730724.7220.5.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Benjamin Prosnitz Return-path: In-Reply-To: <1173730724.7220.5.camel@localhost> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Hi! Benjamin Prosnitz wrote: > I ran some benchmarks inside of KVM-12 on my system and outside of KVM > (no virtualization on my system). I found that floating point > performance when running both with and without KVM was approximately the > same, but integer performance in KVM was about 25% of what I get when > running the test outside of KVM. These were tests using Dhrystone 2 and > Double Precision Whetstone on a Core 2 Duo T7200 processor. > > Any thoughts on why the integer and floating point performance appears > to differ so much? I guess it's the benchmark. In contrast to its FP counterpart, Dhrystone doesn't crunch numbers most of the time. It also performs lots of string operations, for example (memory access == slow). -- Michael "Tired" Riepe X-Tired: Each morning I get up I die a little ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV