From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 14 17:43:39 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 481DF16A403 for ; Thu, 14 Sep 2006 17:43:39 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (smtp1.utsp.utwente.nl [130.89.2.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id A24E643D66 for ; Thu, 14 Sep 2006 17:43:35 +0000 (GMT) (envelope-from pieter@degoeje.nl) Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id k8EHhSw4001550; Thu, 14 Sep 2006 19:43:28 +0200 From: Pieter de Goeje To: Gary Corcoran Date: Thu, 14 Sep 2006 19:43:27 +0200 User-Agent: KMail/1.9.4 References: <863bauk3gp.fsf@dwp.des.no> <45099123.4000500@rcn.com> In-Reply-To: <45099123.4000500@rcn.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609141943.28218.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: freebsd-hackers@freebsd.org Subject: Re: numbers don't lie ... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 17:43:39 -0000 On Thursday 14 September 2006 19:28, Gary Corcoran wrote: > The confusing thing is that I thought 'real' time should be >= 'user' + > 'sys'. But here 'user' is much greater than 'real' for both machines! The > sense I got from the other messages in this thread is that 'user' time is > somewhat meaningless (i.e. unreliable as a measure) in a multi-CPU and/or > hyperthreading environment. Can you clarify? user time = time spent in userland on all logical processors combined. The right equation is: real * ncpus > user + sys, where ncpus = number of active logical processors. In the optimal case (perfect parallelism): real * ncpus = user + sys - Pieter