From owner-freebsd-current@FreeBSD.ORG Tue Jan 20 12:14:41 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 281F91065670 for ; Tue, 20 Jan 2009 12:14:41 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: from web63904.mail.re1.yahoo.com (web63904.mail.re1.yahoo.com [69.147.97.119]) by mx1.freebsd.org (Postfix) with SMTP id AD8D28FC12 for ; Tue, 20 Jan 2009 12:14:40 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: (qmail 99327 invoked by uid 60001); 20 Jan 2009 12:14:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=QN6qQsoMbL5zg4+5ngErK/PmAQaMqxOZQGMsMMpMm/HDmieIwHwZwKhz3UJ77t1Qm6KNq23xpxhQKGJxTAyZ3ctsbsMTdDS50Rxx8rtm++PLAU1rtTq14El6Ylo/OG0kt1Zb/LMhWfEw0LkbSK2vYBGcSmnXu18vneYi2wZnr9c=; X-YMail-OSG: 6scyAEQVM1kd_V7EQShX5rw7pfekziTPuDumT9qYW_6OEIejegsLC.O4r9wGf51d0YKVXkgWdKtL23tLhf8GdeJxoQsF6gWlNOftZ9XkeHVylEpykJd04iX4B1nL_q7xCPbPLaHGtoV4zUnN54tEh31YXbpTgK5XhZ9d1ro9.KPntydXDNzv9Y6h Received: from [98.242.222.229] by web63904.mail.re1.yahoo.com via HTTP; Tue, 20 Jan 2009 04:14:39 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Tue, 20 Jan 2009 04:14:39 -0800 (PST) From: Barney Cordoba To: Christoph Mallon In-Reply-To: <4975B49A.5060205@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <693347.98930.qm@web63904.mail.re1.yahoo.com> Cc: freebsd-current@freebsd.org Subject: Re: Running on only some cores X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: barney_cordoba@yahoo.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2009 12:14:41 -0000 --- On Tue, 1/20/09, Christoph Mallon wrote: > From: Christoph Mallon > Subject: Re: Running on only some cores > To: barney_cordoba@yahoo.com > Cc: freebsd-current@freebsd.org > Date: Tuesday, January 20, 2009, 6:25 AM > Barney Cordoba schrieb: > > Can FreeBSD be configured to only run on N cores? So > for example, if I have an 8 core system, can it be > configured in loader.conf or through a simple hack to only > run on 2 cores? > > > > We're testing various configs, and its not > terribly convenient to keep swapping out CPUs. > > man 4 smp > look for machdep.hlt_cpus I've tried various settings for this but the system still launches all 4 cpus machdep.hlt_cpus="0x7" machdep.hlt_cpus="1" machedp.hlt_cpus="0xC" all result in 4 cpus being lauched. What is the trick? Barney