From owner-freebsd-current@FreeBSD.ORG Mon Feb 6 14:08:14 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE98F16A420 for ; Mon, 6 Feb 2006 14:08:14 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39BA043D49 for ; Mon, 6 Feb 2006 14:08:11 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.3/8.13.3) with ESMTP id k16E83OV038820 for ; Mon, 6 Feb 2006 17:08:03 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.3/8.13.3/Submit) id k16E83m7038818 for current@freebsd.org; Mon, 6 Feb 2006 17:08:03 +0300 (MSK) (envelope-from yar) Date: Mon, 6 Feb 2006 17:08:02 +0300 From: Yar Tikhiy To: current@freebsd.org Message-ID: <20060206140802.GB33939@comp.chem.msu.su> References: <17379.56708.421007.613310@grasshopper.cs.duke.edu> <43E45BD8.7070708@fer.hr> <20060204.085917.129781502.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060204.085917.129781502.imp@bsdimp.com> User-Agent: Mutt/1.5.9i Cc: Subject: Re: machdep.cpu_idle_hlt and SMP perf? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2006 14:08:14 -0000 Here is my own observation related to this topic: With machdep.cpu_idle_hlt=1, both CURRENT and RELENG_6 inside MS Virtual Server 2005 show bogus CPU utilization, e.g., in top(1): the idle thread takes ~130% CPU (sic) and the clock thread takes another 40% CPU; the interrupt time is 20-30% while the system is idle. Setting machdep.cpu_idle_hlt=0 makes the CPU stats look sane. All this must be a bogosity in MS Virtual Server, but anyway machdep.cpu_idle_hlt is a knob to try when things get weird :-) -- Yar