From owner-freebsd-smp@FreeBSD.ORG Mon May 3 22:33:11 2010 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6C09106564A for ; Mon, 3 May 2010 22:33:11 +0000 (UTC) (envelope-from caryl218@aol.com) Received: from imr-ma02.mx.aol.com (imr-ma02.mx.aol.com [64.12.206.40]) by mx1.freebsd.org (Postfix) with ESMTP id 7F7698FC13 for ; Mon, 3 May 2010 22:33:11 +0000 (UTC) Received: from mtaout-mb03.r1000.mx.aol.com (mtaout-mb03.r1000.mx.aol.com [172.29.41.67]) by imr-ma02.mx.aol.com (8.14.1/8.14.1) with ESMTP id o43MMw9o014220 for ; Mon, 3 May 2010 18:22:58 -0400 Received: from [192.168.1.100] (ppp-69-214-102-182.dsl.chcgil.ameritech.net [69.214.102.182]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-mb03.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 344C2E000123 for ; Mon, 3 May 2010 18:22:58 -0400 (EDT) Message-Id: <32EEDFC8-55B8-42B2-97B3-D06E784DBFF9@aol.com> From: CarylLynn Greene To: freebsd-smp@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 3 May 2010 17:22:55 -0500 X-Mailer: Apple Mail (2.936) x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:131686904:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d29434bdf4cc200a9 X-AOL-IP: 69.214.102.182 Subject: Welcome to Chase Online X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2010 22:33:11 -0000 From owner-freebsd-smp@FreeBSD.ORG Wed May 5 16:12:51 2010 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B8EB1065670; Wed, 5 May 2010 16:12:51 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id F37D38FC15; Wed, 5 May 2010 16:12:50 +0000 (UTC) Received: by qyk11 with SMTP id 11so7255949qyk.13 for ; Wed, 05 May 2010 09:12:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=E4W6lrYV5F+AtAg9cT0CLFn42lzEd+lpC4lHTyk4JbI=; b=bJnw3sSDNgZqxl6IwbDIcDkQ16dCscQVSIZnscxlMBzthlhMhDjUczdQPtb6+kGls1 px1GDGLPS2HpTKSggAyf2AJdSxvsWii7pQYc7JugPkkSJbUI4iAbRbCa/MGt27nx0pZT yLFvubvykUmJKjZK67O6QxTHvsVCjYOIORwCo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=ACKeQPt3WoWSltTj8GhsHmQTDGDG2+e19FUvmRpjUTNckwUbICpKe8Odra1PnG5Fms IPSTtutH0uVQUi+e0yDXbJ+TwrGhyFQm92tcUA9KU53e1TPXLd5dVb2BkdpGBECKesXI KOzB8KIJHf0ykaQ25E0YVSbuUtxr22f38xC0c= Received: by 10.224.78.148 with SMTP id l20mr6612049qak.67.1273074475710; Wed, 05 May 2010 08:47:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.86.69 with HTTP; Wed, 5 May 2010 08:41:06 -0700 (PDT) In-Reply-To: <201004260948.12730.jhb@freebsd.org> References: <28357071.post@talk.nabble.com> <28359495.post@talk.nabble.com> <4BD563F7.4010203@googlemail.com> <201004260948.12730.jhb@freebsd.org> From: "Jack L." Date: Wed, 5 May 2010 08:41:06 -0700 Message-ID: To: John Baldwin Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Hubert Tournier , freebsd-smp@freebsd.org, oklahoma Subject: Re: Disabling HyperThreading? X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2010 16:12:51 -0000 sysctl machdep.hyperthreading_allowed=3D0 will disable it. On Mon, Apr 26, 2010 at 6:48 AM, John Baldwin wrote: > On Monday 26 April 2010 5:59:19 am oklahoma wrote: >> Hubert Tournier wrote: >> > >> > I forgot to specify that the system is a remote dedicated server, for > which >> > i have no physical access. >> > >> > I could rent a virtual KVM in order to try to access its BIOS settings= , > but >> > i'm not sure this would work. >> > >> > Any other software solution? >> if the server is dedicated entirely to you, ask your colo support to >> disable it for you. >> other thing i find was >> >> machdep.hlt_cpus >> >> is suppose to tell the scheduler that there is extra cores but not to us= e > them. >> try to enable and see with top is there app that use logical cores. > > You can manually disable any CPU (except for the boot CPU), via > 'hint.lapic.X.disabled=3D1' in loader.conf. =C2=A0You can find the APIC I= Ds to use in > place of 'X' in dmesg. > > -- > John Baldwin > _______________________________________________ > freebsd-smp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-smp > To unsubscribe, send any mail to "freebsd-smp-unsubscribe@freebsd.org" > From owner-freebsd-smp@FreeBSD.ORG Wed May 5 23:26:28 2010 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A7A21065675 for ; Wed, 5 May 2010 23:26:28 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 24CAF8FC0A for ; Wed, 5 May 2010 23:26:27 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1O9nz1-0001tO-D3 for freebsd-smp@freebsd.org; Wed, 05 May 2010 16:26:27 -0700 Message-ID: <28467645.post@talk.nabble.com> Date: Wed, 5 May 2010 16:26:27 -0700 (PDT) From: Hubert Tournier To: freebsd-smp@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: hubert@frbsd.org References: <28357071.post@talk.nabble.com> <4BD4727F.4060700@googlemail.com> <28359495.post@talk.nabble.com> <4BD563F7.4010203@googlemail.com> <201004260948.12730.jhb@freebsd.org> Subject: Re: Disabling HyperThreading? X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2010 23:26:28 -0000 Hello, Jack L.-3 wrote: > > sysctl machdep.hyperthreading_allowed=0 will disable it. > Thank you for this lead. It gives the following result on my system: sysctl: unknown oid 'machdep.hyperthreading_allowed' Searching a little bit, i found 2 references to this OID in the kernel source code: /usr/src/sys/amd64/amd64/mp_machdep.c /usr/src/sys/i386/i386/mp_machdep.c Maybe it's missing because (as i read in these files): SCHED_ULE doesn't allow enabling/disabling HT cores at run-time. I'm not sure i could use the OID in /boot/loader.conf however? I also see in the source code that the default is to enable HT cores: static int hyperthreading_allowed = 1; So i will test a custom kernel with this disabled. For reference, here is the CPU i use: CPU: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz (2666.65-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x206c2 Stepping = 2 Features=0xbfebfbff Features2=0x9ee3fd,DCA,SSE4.1,SSE4.2,POPCNT> AMD Features=0x2c100800 AMD Features2=0x1 TSC: P-state invariant FreeBSD/SMP: Multiprocessor System Detected: 24 CPUs FreeBSD/SMP: 2 package(s) x 6 core(s) x 2 SMT threads Best regards, Hubert -- View this message in context: http://old.nabble.com/Disabling-HyperThreading--tp28357071p28467645.html Sent from the freebsd-smp mailing list archive at Nabble.com. From owner-freebsd-smp@FreeBSD.ORG Thu May 6 11:58:10 2010 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0DC8A1065690 for ; Thu, 6 May 2010 11:58:10 +0000 (UTC) (envelope-from emelie@ns11-wistee.fr) Received: from ns11.wistee.fr (dns-ns11.wistee.fr [94.124.84.11]) by mx1.freebsd.org (Postfix) with ESMTP id CB7608FC30 for ; Thu, 6 May 2010 11:58:09 +0000 (UTC) Received: from emelie by ns11.wistee.fr with local (Exim 4.67) (envelope-from ) id 1O9ziO-0005x4-Fa for freebsd-smp@freebsd.org; Thu, 06 May 2010 13:58:04 +0200 To: freebsd-smp@freebsd.org X-PHP-Script: emelie.ns11-wistee.fr/blainne.php for 41.251.59.30 From: IRISH NATIONAL LOTTERY MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Message-Id: Sender: Date: Thu, 06 May 2010 13:58:04 +0200 Subject: Contact Us:(IRISH NATIONAL LOTTERY) X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: irishnational.lot@englandmail.com List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2010 11:58:10 -0000 Dear Reader Greetings from Irish National Lottery here in london.We wish to inform you that £750,000.00 Pounds has been awarded to your E-mail in our IRISH NATIONAL LOTTERY ONLINE PROMO PROGRAMME To file your claims contact our fiduciary agent for claims: Mr. Edward Brown Email: edwardbrown85@gmail.com Provide him with the information below: Full Names:............. Tel:............. Sex:............ Age:............ Congratulations once more. From owner-freebsd-smp@FreeBSD.ORG Thu May 6 20:57:39 2010 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0EDE61065674 for ; Thu, 6 May 2010 20:57:39 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id DD3A28FC0C for ; Thu, 6 May 2010 20:57:38 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OA88Y-0005Tp-6Q for freebsd-smp@freebsd.org; Thu, 06 May 2010 13:57:38 -0700 Message-ID: <28479447.post@talk.nabble.com> Date: Thu, 6 May 2010 13:57:38 -0700 (PDT) From: Hubert Tournier To: freebsd-smp@freebsd.org In-Reply-To: <28467645.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: hubert@frbsd.org References: <28357071.post@talk.nabble.com> <4BD4727F.4060700@googlemail.com> <28359495.post@talk.nabble.com> <4BD563F7.4010203@googlemail.com> <201004260948.12730.jhb@freebsd.org> <28467645.post@talk.nabble.com> Subject: Re: Disabling HyperThreading? X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2010 20:57:39 -0000 Hello, Hubert Tournier wrote: > > I also see in the source code that the default is to enable HT cores: > static int hyperthreading_allowed = 1; > > So i will test a custom kernel with this disabled. > Well, it's not enough, i still have my 24 CPUs. I'll give a try to John's way of disabling CPUs, hoping to avoid disabling the wrong ones. Best regards, Hubert -- View this message in context: http://old.nabble.com/Disabling-HyperThreading--tp28357071p28479447.html Sent from the freebsd-smp mailing list archive at Nabble.com.