From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756667AbYDMWKk (ORCPT ); Sun, 13 Apr 2008 18:10:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752051AbYDMWK0 (ORCPT ); Sun, 13 Apr 2008 18:10:26 -0400 Received: from terminus.zytor.com ([198.137.202.10]:55973 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755030AbYDMWKV (ORCPT ); Sun, 13 Apr 2008 18:10:21 -0400 Message-ID: <48028305.8040104@zytor.com> Date: Sun, 13 Apr 2008 15:02:45 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: Erik Bosman CC: Arjan van de Ven , Andrew Morton , Thomas Gleixner , Ingo Molnar , Andrea Arcangeli , Linus Torvalds , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] x86: Implement prctl PR_GET_TSC and PR_SET_TSC References: <20080412124947.146865e4@laptopd505.fenrus.org> <48012002.8030701@zytor.com> In-Reply-To: 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 Erik Bosman wrote: > > It took me a while, but I have done some tests om my system with and > without my patch applied. > > All deamons but klogd/syslogd were shut down andI used the following > command: > > LMBENCH_SCHED="SINGLE" \ > /usr/lib/lmbench/bin/{i686-pc,x86_64}-linux-gnu/lat_ctx -s 0 2 > > The variation was quite high so I ran it a 1000 times for each > configuration. > > x86_32, patch applied, 1000x repeated, avg: 1.319, rmse: 0.081 > x86_32, patch not applied, 1000x repeated, avg: 1.335, rmse: 0.107 > > x86_64, patch applied, 1000x repeated, avg: 1.417, rmse: 0.0716 > x86_64, patch not applied, 1000x repeated, avg: 1.423, rmse: 0.0745 > > This is on a core 2 duo E6300. > OK, so it sounds like there is no measurable difference. Good. -hpa