From owner-svn-src-head@FreeBSD.ORG Fri Jan 30 03:51:25 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36D5FF36; Fri, 30 Jan 2015 03:51:25 +0000 (UTC) Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C858F8FE; Fri, 30 Jan 2015 03:51:24 +0000 (UTC) Received: by mail-lb0-f175.google.com with SMTP id 10so34440697lbg.6; Thu, 29 Jan 2015 19:51:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=DYl3Ueqc8i7yMHoCCi8Qv9BCu8vMM2ip3/kUxSW7kug=; b=XBOfuZaYWyXaTWNo2HdxkuOASLpcEBKuLApYtFhvQUU9dTrZ718EFBRomPm+wHDqUi Y96Hkxy694GgtXv7Q4rizgIeQY7yEM27egSgBU6OMJ2rt5OyNgyallnGv/PHCPFJYmXp Bl7RYpT2AhL/+O9frWCyb82gV1Hu9VtVyxcX+8sY8Pp9ifHJZZKyxfnswPv2H7t9dFl4 wcBVUM5abEm41g9Z8465+Ezgax9zZAC9mTLUnRyYEPKMMmCXSbOPApsK2Q+YhWkOPwMn 2YcOuCSL78KHV6yb9udNpA0qD89sb1EOr5TiZ/vwgBoc9sEVE16MIp2cgDVVdn52AxFv kqew== MIME-Version: 1.0 X-Received: by 10.112.220.36 with SMTP id pt4mr4346656lbc.15.1422589882882; Thu, 29 Jan 2015 19:51:22 -0800 (PST) Received: by 10.114.78.131 with HTTP; Thu, 29 Jan 2015 19:51:22 -0800 (PST) In-Reply-To: <8728880.CZu0UL854D@ralph.baldwin.cx> References: <201501292041.t0TKfhAJ029429@svn.freebsd.org> <8728880.CZu0UL854D@ralph.baldwin.cx> Date: Thu, 29 Jan 2015 22:51:22 -0500 Message-ID: Subject: Re: svn commit: r277900 - head/sys/x86/x86 From: Ryan Stone To: John Baldwin Content-Type: text/plain; charset=UTF-8 Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2015 03:51:25 -0000 On Thu, Jan 29, 2015 at 3:45 PM, John Baldwin wrote: > Also, note that we always use the TSC as the cpu ticker, even if it is not the > timecounter. Thus, if C2+ is enabled on the systems, the kernel idle threads > will have an artificially low runtime since their idle time is not properly > accounted for. This does not affect any other threads as only the idle > threads "run" while the CPU is in C2+ with the TSC effectively paused. The > new default means that the idle threads will now have the proper runtime, > however. However in a VM environment this means that runtimes for all threads can be very wrong (regardless of whether we enter C2 or lower or not). I have a coworker looking at using kvmclock in preference to TSC for the cpu ticker when the kvmclock is available.