From owner-freebsd-hackers@FreeBSD.ORG Thu May 31 14:44:56 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66CC01065676; Thu, 31 May 2012 14:44:56 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.29.7]) by mx1.freebsd.org (Postfix) with ESMTP id 1D6528FC16; Thu, 31 May 2012 14:44:56 +0000 (UTC) Received: from [78.35.131.163] (helo=fabiankeil.de) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Sa6Wp-0001Ds-1C; Thu, 31 May 2012 16:39:07 +0200 Date: Thu, 31 May 2012 16:37:31 +0200 From: Fabian Keil To: Ryan Stone Message-ID: <20120531163731.364570cc@fabiankeil.de> In-Reply-To: References: <201205301124.52597.jhb@freebsd.org> <4FC76515.10302@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/M00K5jFEA+EC6022.Owc6_o"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Cc: freebsd-hackers@freebsd.org, Chadd , Alexander Motin , Andriy Gapon , Adrian Subject: Re: ULE/sched issues on stable/9 - why isn't preemption occuring? 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, 31 May 2012 14:44:56 -0000 --Sig_/M00K5jFEA+EC6022.Owc6_o Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Ryan Stone wrote: > On Thu, May 31, 2012 at 8:33 AM, Andriy Gapon wrote: > > In this vein it might make sense to enable KTR and KTR_SCHED in GENERIC. >=20 > KTR_SCHED comes with a performance hit. Besides, with the DTrace > sched provider that I committed this month (and MFC'ed yesterday) you > can collect schedgraph data with a D script. Unfortunately DTrace's timestamp itself doesn't always work reliably on FreeBSD, and schedgraph.d depends on it. On my system DTrace's timestamp seems to work with kern.timecounter.hardware=3DHPET and dev.cpu.0.cx_lowest=3DC2 (or C1) but seems to tick much too slow with dev.cpu.0.cx_lowest=3DC3: http://lists.freebsd.org/pipermail/freebsd-current/2011-August/026710.html Fabian --Sig_/M00K5jFEA+EC6022.Owc6_o Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/Hgi8ACgkQBYqIVf93VJ1VqACfc790jb3gnNNlbhkKXCfpld/z BQMAoMxGyFltcoHgCIMI2Hb+QxzLHk30 =CYkW -----END PGP SIGNATURE----- --Sig_/M00K5jFEA+EC6022.Owc6_o--