From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 11 15:35:41 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 44ED9106564A; Sat, 11 Feb 2012 15:35:41 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id A6EA08FC13; Sat, 11 Feb 2012 15:35:40 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q1BFZaj0040857 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 11 Feb 2012 17:35:36 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q1BFZagM058073; Sat, 11 Feb 2012 17:35:36 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q1BFZZPH058072; Sat, 11 Feb 2012 17:35:35 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 11 Feb 2012 17:35:35 +0200 From: Konstantin Belousov To: Alexander Motin Message-ID: <20120211153535.GT3283@deviant.kiev.zoral.com.ua> References: <4F2F7B7F.40508@FreeBSD.org> <4F366E8F.9060207@FreeBSD.org> <4F367965.6000602@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RIfOR5N0tZJV8I5p" Content-Disposition: inline In-Reply-To: <4F367965.6000602@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-hackers@freebsd.org, Andriy Gapon Subject: Re: [RFT][patch] Scheduling for HTT and not only 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: Sat, 11 Feb 2012 15:35:41 -0000 --RIfOR5N0tZJV8I5p Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 11, 2012 at 04:21:25PM +0200, Alexander Motin wrote: > At this moment I am using different penalty coefficients for SMT and=20 > shared caches (for unrelated processes sharing is is not good). No=20 > problem to add more types there. Separate flag for shared FPU could be=20 > used to have different penalty coefficients for usual threads and=20 > FPU-less kernel threads. It is very easy to record the fact of FPU access during the quantum on the context switch-out. So you can at least distinguish numeric code. This can be useful for bulldozer-like machines, if we ever want to optimize for FPU on them. --RIfOR5N0tZJV8I5p Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk82iscACgkQC3+MBN1Mb4jZ0gCdF7mjb+P1V6sWc8+wdfEnlkVO YnMAn3u+jH7at7Ewnkk+l0UCHUeafwL4 =MELH -----END PGP SIGNATURE----- --RIfOR5N0tZJV8I5p--